INFO: No output directory specified (--dir) INFO: Using directory: "McStas_Single_crystal_20241121_033338" INFO: Regenerating c-file: McStas_Single_crystal.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./McStas_Single_crystal.c McStas_Single_crystal.instr 2024-11-21 03:33:40.166 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Single_crystal(0):read_table-lib :Single_crystal(1):interoff-lib :Single_crystal(2):opencl-lib 2024-11-21 03:33:40.167 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib 2024-11-21 03:33:42.703 | 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-21 03:33:42.704 | 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-21 03:33:42.764 | INFO | mccode_antlr.translators.c_listener:visitDeclarator:304 - Could not convert an integer from CHAR_BUF_LENGTH due to invalid literal for int() with base 10: 'CHAR_BUF_LENGTH' No initialization present? ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component mcpl_in -> GPU kernel from component SX -> GPU kernel from component mcpl_out ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./McStas_Single_crystal.out --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show includedir DEBUG: CMD: mpicc -o ./McStas_Single_crystal.out ./McStas_Single_crystal.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 -L/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -lmcpl -I/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/include ./McStas_Single_crystal.c: In function 'cif2hkl': ./McStas_Single_crystal.c:7347:38: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7347 | if(!ext || ext == infile) return infile; | ^~~~~~ ./McStas_Single_crystal.c:7356:41: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7356 | && strcasecmp(ext, "res")) return infile; | ^~~~~~ ./McStas_Single_crystal.c:7359:26: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7359 | if (!OUTFILE) return infile; | ^~~~~~ lto-wrapper: warning: using serial compilation of 2 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/ccpbG4Ud.ltrans0.ltrans.o: in function `read_hkl_data.constprop.0': /home/nexmap/pkwi/TESTS/2024-11-21/ANTLR_mpi_x_16_1e7_Linux_1e7/McStas_Single_crystal/./McStas_Single_crystal.c:7361:(.text.read_hkl_data.constprop.0+0xc1d): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===