INFO: No output directory specified (--dir) INFO: Using directory: "Test_Monochromators_20241206_100913" INFO: Regenerating c-file: Test_Monochromators.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./Test_Monochromators.c Test_Monochromators.instr 2024-12-06 10:09:15.738 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Monochromator_pol(0):pol-lib :Monochromator_curved(0):read_table-lib :Monochromator_2foc(0):read_table-lib :Single_crystal(0):read_table-lib :Single_crystal(1):interoff-lib :Single_crystal(2):opencl-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2024-12-06 10:09:15.739 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib pol-lib interoff-lib opencl-lib monitor_nd-lib 2024-12-06 10:09:15.739 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib pol-lib interoff-lib opencl-lib monitor_nd-lib 2024-12-06 10:09:15.739 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib pol-lib interoff-lib opencl-lib 2024-12-06 10:09:15.739 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib monitor_nd-lib pol-lib 2024-12-06 10:09:15.739 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib pol-lib interoff-lib opencl-lib monitor_nd-lib 2024-12-06 10:09:19.372 | INFO | mccode_antlr.translators.c_listener:visitDeclarator:304 - Could not convert an integer from MCSX_REFL_SLIST_SIZE due to invalid literal for int() with base 10: 'MCSX_REFL_SLIST_SIZE' 2024-12-06 10:09:19.557 | INFO | mccode_antlr.translators.c:include_source:331 - pol-lib.c requested interpolation-lib but is has not been included yet! The instrument has 23 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component Source -> GPU kernel from component lamStart -> GPU kernel from component Mono_Arm -> GPU kernel from component Mono_Out -> GPU kernel from component Mono1 -> GPU kernel from component Mono2 -> GPU kernel from component Mono3 -> GPU kernel from component Mono4 -> GPU kernel from component Mono5 -> GPU kernel from component Mono6 Component Mono7 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Mono7 -> GPU kernel from component Sphere1 -> GPU kernel from component lam1 -> GPU kernel from component psd1 -> GPU kernel from component psd2 -> GPU kernel from component psd3 -> GPU kernel from component L3 -> GPU kernel from component T3 ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./Test_Monochromators.out --> launching cmd: ncrystal-config --show libdir --> launching cmd: ncrystal-config --show libpath --> launching cmd: ncrystal-config --show includedir DEBUG: CMD: mpicc -o ./Test_Monochromators.out ./Test_Monochromators.c -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,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -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.3.9.7 -I/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/include ./Test_Monochromators.c: In function 'cif2hkl': ./Test_Monochromators.c:7739:38: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7739 | if(!ext || ext == infile) return infile; | ^~~~~~ ./Test_Monochromators.c:7748:41: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7748 | && strcasecmp(ext, "res")) return infile; | ^~~~~~ ./Test_Monochromators.c:7751:26: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7751 | if (!OUTFILE) return infile; | ^~~~~~ 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/ccY1PGPQ.ltrans1.ltrans.o: in function `read_hkl_data.constprop.0': /home/nexmap/pkwi/TESTS/2024-12-06/ANTLR_mpi_x_16_run_2_Linux_1e7/Test_Monochromators/./Test_Monochromators.c:7753:(.text.read_hkl_data.constprop.0+0xc6a): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===