INFO: No output directory specified (--dir) INFO: Using directory: "LLB_6T2_20241118_040030" INFO: Regenerating c-file: LLB_6T2.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./LLB_6T2.c LLB_6T2.instr 2024-11-18 04:00:32.866 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :Monochromator_curved(0):read_table-lib :Single_crystal(0):read_table-lib :Single_crystal(1):interoff-lib :Single_crystal(2):opencl-lib 2024-11-18 04:00:32.866 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib 2024-11-18 04:00:32.866 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib 2024-11-18 04:00:32.867 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib 2024-11-18 04:00:35.729 | 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-11-18 04:00:35.730 | 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' The instrument has 6 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 100 at component Sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Progress -> GPU kernel from component source -> GPU kernel from component Pos_1 -> GPU kernel from component Lambda_mon -> GPU kernel from component Bar_in -> GPU kernel from component Bar_out -> GPU kernel from component activation_flux -> GPU kernel from component Pos_2 -> GPU kernel from component Monoc -> GPU kernel from component Pos_3 -> GPU kernel from component div_ROI -> GPU kernel from component Pos_4 -> GPU kernel from component Collim_in -> GPU kernel from component Collim_out -> GPU kernel from component sample_collim -> GPU kernel from component sample_flux -> GPU kernel from component sample_div -> SPLIT within buffer at component Sample -> GPU kernel from component Pos_5 -> GPU kernel from component Coll_det1 -> GPU kernel from component Coll_det2 -> GPU kernel from component Mon_out ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./LLB_6T2.out DEBUG: CMD: mpicc -o ./LLB_6T2.out ./LLB_6T2.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 ./LLB_6T2.c: In function 'cif2hkl': ./LLB_6T2.c:7399:38: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7399 | if(!ext || ext == infile) return infile; | ^~~~~~ ./LLB_6T2.c:7408:41: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7408 | && strcasecmp(ext, "res")) return infile; | ^~~~~~ ./LLB_6T2.c:7411:26: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7411 | if (!OUTFILE) return infile; | ^~~~~~ 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/ccPk46Ll.ltrans1.ltrans.o: in function `read_hkl_data.constprop.0': /home/nexmap/pkwi/TESTS/2024-11-18/ANTLR_mpi_x_16_1e7_Linux_1e7/LLB_6T2/./LLB_6T2.c:7413:(.text.read_hkl_data.constprop.0+0xc8a): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===