INFO: No output directory specified (--dir) INFO: Using directory: "Test_capillary_20250426_064334" INFO: Regenerating c-file: Test_capillary.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_capillary.c Test_capillary.instr 2025-04-26 06:44:01.253 | INFO | mccode_antlr.instr.instance:set_parameter:123 - Multiple definitions of nE in component instance emon 2025-04-26 06:44:01.254 | INFO | mccode_antlr.instr.instance:set_parameter:123 - Multiple definitions of nE in component instance emon_zm 2025-04-26 06:44:01.254 | INFO | mccode_antlr.instr.instance:set_parameter:125 - first-encountered value 50 retained 2025-04-26 06:44:01.254 | INFO | mccode_antlr.instr.instance:set_parameter:126 - newly-encountered value 200 dropped 2025-04-26 06:44:04.118 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_flat(0):read_table-lib :Capillary(0):read_table-lib 2025-04-26 06:44:04.118 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib 2025-04-26 06:44:04.118 | 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 generic_source -> GPU kernel from component psd_pre -> GPU kernel from component emon_pre -> GPU kernel from component tube -> GPU kernel from component tube_out -> GPU kernel from component psd0 -> GPU kernel from component psd00 -> GPU kernel from component psd01 -> GPU kernel from component psd02 -> GPU kernel from component psd03 -> GPU kernel from component psd04 -> GPU kernel from component psd1 -> GPU kernel from component psd10 -> GPU kernel from component psd11 -> GPU kernel from component psd12 -> GPU kernel from component psd13 -> GPU kernel from component psd14 -> GPU kernel from component emon -> GPU kernel from component emon_zm ----------------------------------------------------------- DEBUG: CMD: mcxtrace-antlr -I${MCXTRACE} finished INFO: Recompiling: ./Test_capillary.out DEBUG: CMD: mpicc -o ./Test_capillary.out ./Test_capillary.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_capillary.c:5624:6: error: conflicting types for 'mt_srandom'; have 'void(uint32_t)' {aka 'void(unsigned int)'} 5624 | void mt_srandom(uint32_t seed) { | ^~~~~~~~~~ ./Test_capillary.c:892:6: note: previous declaration of 'mt_srandom' with type 'void(long unsigned int)' 892 | void mt_srandom (unsigned long x); | ^~~~~~~~~~ ./Test_capillary.c:5662:10: error: conflicting types for 'mt_random'; have 'uint32_t(void)' {aka 'unsigned int(void)'} 5662 | uint32_t mt_random(void) { | ^~~~~~~~~ ./Test_capillary.c:891:15: note: previous declaration of 'mt_random' with type 'long unsigned int(void)' 891 | unsigned long mt_random(void); | ^~~~~~~~~ INFO: call to mpicc failed with Command 'mpicc -o ./Test_capillary.out ./Test_capillary.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_capillary.out ./Test_capillary.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.