INFO: No output directory specified (--dir) INFO: Using directory: "Test_SX_20250514_071403" INFO: Regenerating c-file: Test_SX.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_SX.c Test_SX.instr 2025-05-14 07:14:44.760 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :Single_crystal(0):read_table-lib :Single_crystal(1):interoff-lib :Single_crystal(2):opencl-lib 2025-05-14 07:14:44.760 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib 2025-05-14 07:14:44.761 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib 2025-05-14 07:14:47.363 | 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' The instrument has 11 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT _instrument_var._parameters.SPLITS at component SX ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component Source -> GPU kernel from component PSD -> GPU kernel from component sample_cradle -> SPLIT within buffer at component SX -> GPU kernel from component Full_mon -> GPU kernel from component Sph_tun -> GPU kernel from component PSDBS -> GPU kernel from component BeamStop -> GPU kernel from component Sph_mon -> GPU kernel from component Sph_coh -> GPU kernel from component Sph_inc ----------------------------------------------------------- DEBUG: CMD: mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./Test_SX.out DEBUG: CMD: mpicc -o ./Test_SX.out ./Test_SX.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 lto-wrapper: warning: using serial compilation of 2 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/ccfbpfLF.ltrans0.ltrans.o: in function `read_hkl_data.constprop.0': /home/nexmap/pkwi/TESTS/2025-05-14/ANTLR_mpi_x_16_1e7_Linux_1e7/Test_SX/./Test_SX.c:7543:(.text+0xfb56): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===