INFO: No output directory specified (--dir) INFO: Using directory: "PSI_DMC_20250514_051103" INFO: Regenerating c-file: PSI_DMC.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 ./PSI_DMC.c PSI_DMC.instr 2025-05-14 05:12:25.632 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Guide(0):read_table-lib :Guide(1):ref-lib :ref-lib(0):read_table-lib :Bender(0):ref-lib :Monochromator_2foc(0):read_table-lib :PowderN(0):read_table-lib :PowderN(1):interoff-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2025-05-14 05:12:25.633 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2025-05-14 05:12:25.633 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2025-05-14 05:12:25.633 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2025-05-14 05:12:25.633 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib monitor_nd-lib 2025-05-14 05:12:25.633 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib The instrument has 10 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 10 at component foc_mono -> SPLIT _instrument_var._parameters.SPLITS at component sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component source_arm -> GPU kernel from component source -> GPU kernel from component PSDbefore_guides -> GPU kernel from component l_mon_source -> GPU kernel from component guide1 -> GPU kernel from component PSDbefore_curve -> GPU kernel from component guide2 -> GPU kernel from component PSDafter_curve -> GPU kernel from component bunker -> GPU kernel from component guide3 -> GPU kernel from component guide4 -> GPU kernel from component window1 -> GPU kernel from component ydist_fluxpos -> GPU kernel from component PSD_fluxpos -> GPU kernel from component xdist_flux_pos -> GPU kernel from component PSD_fluxposB -> GPU kernel from component window2 -> GPU kernel from component in_slit -> GPU kernel from component lambda_in -> GPU kernel from component sma -> SPLIT within buffer at component foc_mono -> GPU kernel from component msa -> GPU kernel from component out1_slit -> GPU kernel from component Amoin_slit -> GPU kernel from component Bmoin_slit -> GPU kernel from component out2_slit -> GPU kernel from component PSD_sample -> GPU kernel from component lambda_sample -> GPU kernel from component sa_arm -> SPLIT within buffer at component sample -> GPU kernel from component STOP -> GPU kernel from component Detector ----------------------------------------------------------- DEBUG: CMD: mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./PSI_DMC.out DEBUG: CMD: mpicc -o ./PSI_DMC.out ./PSI_DMC.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 4 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/cc8CMBNX.ltrans1.ltrans.o: in function `read_line_data.part.0.constprop.0': /home/nexmap/pkwi/TESTS/2025-05-14/ANTLR_mpi_x_16_1e7_Linux_1e7/PSI_DMC/./PSI_DMC.c:7710:(.text+0x8a67): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===