INFO: No output directory specified (--dir) INFO: Using directory: "ESS_butterfly_MCPL_test_20250514_031743" INFO: Regenerating c-file: ESS_butterfly_MCPL_test.c WARNING: Full-path code-generator "/home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS" not found!! WARNING: Attempting replacement by "mcstas-antlr -I$MCSTAS" DEBUG: CMD: mcstas-antlr -I$MCSTAS -t -o ./ESS_butterfly_MCPL_test.c ESS_butterfly_MCPL_test.instr 2025-05-14 03:18:44.918 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :ESS_butterfly(0):ESS_butterfly-lib :Shape(0):read_table-lib :Shape(1):interoff-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :Guide_curved(0):ref-lib :ref-lib(0):read_table-lib 2025-05-14 03:18:44.918 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib ESS_butterfly-lib 2025-05-14 03:18:44.918 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib ESS_butterfly-lib ref-lib 2025-05-14 03:18:44.919 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib ESS_butterfly-lib 2025-05-14 03:18:44.919 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib ESS_butterfly-lib monitor_nd-lib 2025-05-14 03:19:04.506 | WARNING | mccode_antlr.instr.instr:_replace_keywords:285 - Guessing that @MCPLFLAGS@ should be -lmcpl The instrument has 17 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component vinROT2 -> GPU kernel from component vinROT1 -> GPU kernel from component vin -> GPU kernel from component Sphere1 -> GPU kernel from component Source -> GPU kernel from component Sphere0 -> GPU kernel from component Focus_cut -> GPU kernel from component BackTrace -> GPU kernel from component Arm1 -> GPU kernel from component Arm2 -> GPU kernel from component AutoTOFL0 -> GPU kernel from component AutoTOF0 -> GPU kernel from component AutoL0 -> GPU kernel from component PSD0 -> GPU kernel from component PSD1 -> GPU kernel from component PSD2 -> GPU kernel from component MonND1 -> GPU kernel from component CWidth -> GPU kernel from component TWidth -> GPU kernel from component MonND2 -> GPU kernel from component MonND2_2 -> GPU kernel from component MonND3 -> GPU kernel from component MonND4 -> GPU kernel from component AutoTOFL -> GPU kernel from component BrillmonCOLD -> GPU kernel from component BrillmonCOLD_COLL -> GPU kernel from component BrillmonTHRM -> GPU kernel from component BrillmonTHRM_COLL -> GPU kernel from component PSD0x -> GPU kernel from component PSD1x -> GPU kernel from component PSD2x -> GPU kernel from component GuideR -> GPU kernel from component RArm -> GPU kernel from component RArm2 -> GPU kernel from component Monitor2_xy1 -> GPU kernel from component DummyArm1 -> GPU kernel from component DummyArm2 -> GPU kernel from component DummyArm3 -> GPU kernel from component DummyArm4 -> GPU kernel from component DummyArm5 ----------------------------------------------------------- CFLAGS= -lmcpl DEBUG: CMD: mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./ESS_butterfly_MCPL_test.out --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show libpath --> launching cmd: mcpl-config --show includedir DEBUG: CMD: mpicc -o ./ESS_butterfly_MCPL_test.out ./ESS_butterfly_MCPL_test.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 -Wl,-rpath,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/libmcpl.so -I/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/include ./ESS_butterfly_MCPL_test.c: In function 'class_MCPL_input_trace': ./ESS_butterfly_MCPL_test.c:18578: warning: "Emin" redefined 18578 | #define Emin (_particle->Emin) | ./ESS_butterfly_MCPL_test.c:18387: note: this is the location of the previous definition 18387 | #define Emin (_comp->_parameters.Emin) | ./ESS_butterfly_MCPL_test.c:18579: warning: "Emax" redefined 18579 | #define Emax (_particle->Emax) | ./ESS_butterfly_MCPL_test.c:18388: note: this is the location of the previous definition 18388 | #define Emax (_comp->_parameters.Emax) | lto-wrapper: warning: using serial compilation of 4 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information DEBUG: CMD: mpicc finished INFO: ===