INFO: No output directory specified (--dir) INFO: Using directory: "Test_CRL_20250426_063619" INFO: Regenerating c-file: Test_CRL.c WARNING: Full-path code-generator "/home/nexmap/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace-antlr -I${MCXTRACE}" not found!! WARNING: Attempting replacement by "mcxtrace-antlr -I${MCXTRACE}" DEBUG: CMD: mcxtrace-antlr -I${MCXTRACE} -t -o ./Test_CRL.c Test_CRL.instr 2025-04-26 06:37:03.785 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_flat(0):read_table-lib :Lens_simple(0):read_table-lib :Lens_parab(0):read_table-lib :Lens_parab_Cyl(0):read_table-lib :Lens_CRL_RTM(0):read_table-lib 2025-04-26 06:37:03.786 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib 2025-04-26 06:37:03.786 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib 2025-04-26 06:37:03.786 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib 2025-04-26 06:37:03.786 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib 2025-04-26 06:37:03.786 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib No initialization present? ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component origin -> GPU kernel from component source -> GPU kernel from component screen0 -> GPU kernel from component crlplace -> GPU kernel from component crl1dsimple -> GPU kernel from component crl2d -> GPU kernel from component crl1d -> GPU kernel from component crl1d_rtm -> GPU kernel from component screen -> GPU kernel from component pt -> GPU kernel from component line ----------------------------------------------------------- DEBUG: CMD: mcxtrace-antlr -I${MCXTRACE} finished INFO: Recompiling: ./Test_CRL.out DEBUG: CMD: mpicc -o ./Test_CRL.out ./Test_CRL.c -lm -DUSE_MPI -lmpi -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./Test_CRL.c:5619:6: error: conflicting types for 'mt_srandom'; have 'void(uint32_t)' {aka 'void(unsigned int)'} 5619 | void mt_srandom(uint32_t seed) { | ^~~~~~~~~~ ./Test_CRL.c:887:6: note: previous declaration of 'mt_srandom' with type 'void(long unsigned int)' 887 | void mt_srandom (unsigned long x); | ^~~~~~~~~~ ./Test_CRL.c:5657:10: error: conflicting types for 'mt_random'; have 'uint32_t(void)' {aka 'unsigned int(void)'} 5657 | uint32_t mt_random(void) { | ^~~~~~~~~ ./Test_CRL.c:886:15: note: previous declaration of 'mt_random' with type 'long unsigned int(void)' 886 | unsigned long mt_random(void); | ^~~~~~~~~ INFO: call to mpicc failed with Command 'mpicc -o ./Test_CRL.out ./Test_CRL.c -lm -DUSE_MPI -lmpi -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm' returned non-zero exit status 1. Traceback (most recent call last): File "/home/nexmap/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mxrun.py", line 616, in main() File "/home/nexmap/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mxrun.py", line 524, in main mcstas.prepare(options) File "/home/nexmap/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mccode.py", line 311, in prepare Process(lexer.quote(options.cc)).run(args) File "/home/nexmap/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mccode.py", line 77, in run raise err File "/home/nexmap/pkwi/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/mccode.py", line 73, in run proc = run(command, shell=True, check=True, text=True, capture_output=pipe) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nexmap/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib/python3.12/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'mpicc -o ./Test_CRL.out ./Test_CRL.c -lm -DUSE_MPI -lmpi -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm' returned non-zero exit status 1.