INFO: No output directory specified (--dir) INFO: Using directory: "Test_TasReso_20241118_150953" INFO: Regenerating c-file: Test_TasReso.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./Test_TasReso.c Test_TasReso.instr 2024-11-18 15:09:55.349 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Monochromator_curved(0):read_table-lib :Incoherent(0):read_table-lib :Incoherent(1):interoff-lib :Single_crystal(0):read_table-lib :Single_crystal(1):interoff-lib :Single_crystal(2):opencl-lib :Res_monitor(0):monitor_nd-lib :Res_monitor(1):cov-lib 2024-11-18 15:09:55.350 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib cov-lib opencl-lib 2024-11-18 15:09:55.350 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib monitor_nd-lib cov-lib 2024-11-18 15:09:55.350 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib monitor_nd-lib cov-lib 2024-11-18 15:09:55.350 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib monitor_nd-lib cov-lib 2024-11-18 15:09:58.751 | 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 15:09:58.751 | 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 12 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component origin -> GPU kernel from component Src -> GPU kernel from component mono_arm1 -> GPU kernel from component mono -> GPU kernel from component mono_arm2 -> GPU kernel from component colli_presample -> GPU kernel from component sample_arm1 -> GPU kernel from component sample_Vana -> GPU kernel from component sample_xtal -> GPU kernel from component sample_reso -> GPU kernel from component sample_arm2 -> GPU kernel from component colli_postsample -> GPU kernel from component ana_arm1 -> GPU kernel from component ana -> GPU kernel from component ana_arm2 -> GPU kernel from component psdmon -> GPU kernel from component divmon -> GPU kernel from component lmon -> GPU kernel from component emon -> GPU kernel from component resmon ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./Test_TasReso.out DEBUG: CMD: mpicc -o ./Test_TasReso.out ./Test_TasReso.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 ./Test_TasReso.c: In function 'cif2hkl': ./Test_TasReso.c:7860:38: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7860 | if(!ext || ext == infile) return infile; | ^~~~~~ ./Test_TasReso.c:7869:41: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7869 | && strcasecmp(ext, "res")) return infile; | ^~~~~~ ./Test_TasReso.c:7872:26: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7872 | 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/ccZnHb9u.ltrans1.ltrans.o: in function `read_hkl_data.constprop.0': /home/nexmap/pkwi/TESTS/2024-11-18/ANTLR_mpi_x_16_5e6_Linux_5e6/Test_TasReso/./Test_TasReso.c:7874:(.text.read_hkl_data.constprop.0+0xc8a): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===