INFO: No output directory specified (--dir) INFO: Using directory: "Test_Powders_20250514_071248" INFO: Regenerating c-file: Test_Powders.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 ./Test_Powders.c Test_Powders.instr 2025-05-14 07:13:38.762 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :PowderN(0):read_table-lib :PowderN(1):interoff-lib :Single_crystal(0):read_table-lib :Single_crystal(1):interoff-lib :Single_crystal(2):opencl-lib 2025-05-14 07:13:38.762 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib 2025-05-14 07:13:38.763 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib 2025-05-14 07:13:38.763 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib 2025-05-14 07:13:42.070 | INFO | mccode_antlr.translators.c_listener:visitDeclarator:341 - Could not convert an integer from ('MCSX_REFL_SLIST_SIZE',) due to invalid literal for int() with base 10: 'MCSX_REFL_SLIST_SIZE' 2025-05-14 07:13:55.569 | WARNING | mccode_antlr.instr.instr:_replace_keywords:285 - Guessing that @NCRYSTALFLAGS@ should be -lncrystal The instrument has 9 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT _instrument_var._parameters.SPLITS at component sample_cradle ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component Source -> SPLIT within buffer at component sample_cradle -> GPU kernel from component Pow_PowderN -> GPU kernel from component Pow_Single_crystal Component Pow_NCrystal is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Sph_mon -> GPU kernel from component peak_dir -> GPU kernel from component psd_mon ----------------------------------------------------------- CFLAGS= -lncrystal -DFUNNEL DEBUG: CMD: mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./Test_Powders.out --> launching cmd: ncrystal-config --show buildflags DEBUG: CMD: mpicc -o ./Test_Powders.out ./Test_Powders.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/libNCrystal.so -I/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DFUNNEL lto-wrapper: warning: using serial compilation of 3 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information /home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /tmp/ccC1smGj.ltrans0.ltrans.o: in function `cif2hkl': /home/nexmap/pkwi/TESTS/2025-05-14/ANTLR_mpi_x_16_1e7_Linux_1e7/Test_Powders/./Test_Powders.c:7510:(.text+0x3ab6): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===