INFO: No output directory specified (--dir) INFO: Using directory: "RTP_DIF_20261010_105130" INFO: Regenerating c-file: RTP_DIF.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas-antlr -I$MCSTAS -t -o ./RTP_DIF.c RTP_DIF.instr 2026-10-10 10:51:31.701 | DEBUG | mccode_antlr.reader.reader:add_component:301 - Component cache hit: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/misc/Progress_bar.comp 2026-10-10 10:51:31.703 | DEBUG | mccode_antlr.reader.reader:add_component:301 - Component cache hit: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/sources/Source_gen.comp 2026-10-10 10:51:31.705 | DEBUG | mccode_antlr.reader.reader:add_component:301 - Component cache hit: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Guide.comp 2026-10-10 10:51:31.708 | DEBUG | mccode_antlr.reader.reader:add_component:301 - Component cache hit: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/Monitor_nD.comp 2026-10-10 10:51:31.709 | DEBUG | mccode_antlr.reader.reader:add_component:301 - Component cache hit: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Arm.comp 2026-10-10 10:51:31.733 | DEBUG | mccode_antlr.reader.reader:add_component:301 - Component cache hit: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Monochromator_curved.comp 2026-10-10 10:51:31.738 | DEBUG | mccode_antlr.reader.reader:add_component:301 - Component cache hit: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/samples/PowderN.comp 2026-10-10 10:51:31.743 | DEBUG | mccode_antlr.reader.reader:add_component:301 - Component cache hit: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/misc/Shape.comp 2026-10-10 10:51:31.789 | INFO | mccode_antlr.translators.target:prefetch_data_files:252 - RTP_DIF: pre-fetched data file 'HOPG.rfl' -> /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/data/HOPG.rfl 2026-10-10 10:51:31.789 | INFO | mccode_antlr.translators.target:prefetch_data_files:252 - RTP_DIF: pre-fetched data file 'HOPG.trm' -> /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/data/HOPG.trm 2026-10-10 10:51:31.789 | INFO | mccode_antlr.translators.target:prefetch_data_files:252 - RTP_DIF: pre-fetched data file 'HOPG.rfl' -> /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/data/HOPG.rfl 2026-10-10 10:51:31.789 | INFO | mccode_antlr.translators.target:prefetch_data_files:252 - RTP_DIF: pre-fetched data file 'HOPG.trm' -> /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/data/HOPG.trm 2026-10-10 10:51:31.789 | INFO | mccode_antlr.translators.target:prefetch_data_files:252 - RTP_DIF: pre-fetched data file 'HOPG.rfl' -> /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/data/HOPG.rfl 2026-10-10 10:51:31.789 | INFO | mccode_antlr.translators.target:prefetch_data_files:252 - RTP_DIF: pre-fetched data file 'HOPG.trm' -> /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/data/HOPG.trm 2026-10-10 10:51:31.789 | INFO | mccode_antlr.translators.target:prefetch_data_files:252 - RTP_DIF: pre-fetched data file 'V.lau' -> /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/data/V.lau 2026-10-10 10:51:31.790 | INFO | mccode_antlr.translators.target:prefetch_data_files:252 - RTP_DIF: pre-fetched data file 'V.lau' -> /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/data/V.lau The instrument has 5 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 10 at component mono_cradle -> SPLIT 100 at component sample_position ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component source -> GPU kernel from component CoarseCollimator1 -> GPU kernel from component CoarseCollimator2 -> GPU kernel from component lmon -> GPU kernel from component Be_Position -> SPLIT within buffer at component mono_cradle -> GPU kernel from component mono_rotation -> GPU kernel from component mono1 -> GPU kernel from component mono2 -> GPU kernel from component mono3 -> GPU kernel from component mono_takeoff -> GPU kernel from component psd_transmit -> GPU kernel from component psd_reflect -> GPU kernel from component sample_psd -> SPLIT within buffer at component sample_position -> GPU kernel from component container_in -> GPU kernel from component sample -> GPU kernel from component container_out -> GPU kernel from component sample_out -> GPU kernel from component det_big -> GPU kernel from component det -> GPU kernel from component reactor ----------------------------------------------------------- CFLAGS= -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -Wl,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib/libNCrystal.so -I/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./RTP_DIF.out DEBUG: CMD: mpicc -o ./RTP_DIF.out ./RTP_DIF.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -Wl,-rpath-link,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/include -g -lm -O2 -std=c99 -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -Wl,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib/libNCrystal.so -I/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/../libexec/gcc/x86_64-conda-linux-gnu/14.3.0/ld: /tmp/ccl7Ah7m.o: in function `cif2hkl': /u/data/pkwi/TESTS/2026-10-10/ANTLR_mpi_x_20_1e7_Linux_20261010_1024_25/RTP_DIF/./RTP_DIF.c:8714:(.text.cif2hkl+0xf1): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/../libexec/gcc/x86_64-conda-linux-gnu/14.3.0/ld: /tmp/ccl7Ah7m.o: note: the message above does not take linker garbage collection into account DEBUG: CMD: mpicc finished INFO: ===