INFO: No output directory specified (--dir) INFO: Using directory: "RITA-II_20241206_095601" INFO: Regenerating c-file: RITA-II.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./RITA-II.c RITA-II.instr Downloading file 'mcstas-comps/contrib/Source_gen4.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/contrib/Source_gen4.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. 2024-12-06 09:56:04.843 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance divmon_guide_end Downloading file 'mcstas-comps/monitors/PSD_monitor_psf_eff.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/monitors/PSD_monitor_psf_eff.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas-comps/samples/Phonon_simple.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/samples/Phonon_simple.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas-comps/optics/Absorber.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/optics/Absorber.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. 2024-12-06 09:56:07.432 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen4(0):read_table-lib :Guide(0):read_table-lib :Guide(1):ref-lib :ref-lib(0):read_table-lib :Monochromator_curved(0):read_table-lib :Filter_gen(0):read_table-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :Incoherent(0):read_table-lib :Incoherent(1):interoff-lib :PowderN(0):read_table-lib :PowderN(1):interoff-lib :Single_crystal(0):read_table-lib :Single_crystal(1):interoff-lib :Single_crystal(2):opencl-lib 2024-12-06 09:56:07.432 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2024-12-06 09:56:07.432 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2024-12-06 09:56:07.432 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2024-12-06 09:56:07.432 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib opencl-lib ref-lib 2024-12-06 09:56:07.432 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib opencl-lib monitor_nd-lib 2024-12-06 09:56:07.433 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2024-12-06 09:56:07.433 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib opencl-lib 2024-12-06 09:56:07.433 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib opencl-lib monitor_nd-lib 2024-12-06 09:56:12.057 | 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 85 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT SPLITMREP at component monochromator_curved -> SPLIT SPLITREP at component a3 -> SPLIT SPLITAREP at component focus_ana ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component armSource -> GPU kernel from component source -> GPU kernel from component slitGuideBegin -> GPU kernel from component lmon_guide_start -> GPU kernel from component guideStraight -> GPU kernel from component guideCurved1 -> GPU kernel from component guideCurved2 -> GPU kernel from component guideCurved3 -> GPU kernel from component guideCurved4 -> GPU kernel from component guideCurved5 -> GPU kernel from component guideCurved6 -> GPU kernel from component guideCurved7 -> GPU kernel from component guideCurved8 -> GPU kernel from component guideCurved9 -> GPU kernel from component guideCurved10 -> GPU kernel from component guideCurved11 -> GPU kernel from component guideCurved12 -> GPU kernel from component guideCurved13 -> GPU kernel from component guideCurved14 -> GPU kernel from component guideCurved15 -> GPU kernel from component guideCurved16 -> GPU kernel from component guideCurved17 -> GPU kernel from component guideCurved18 -> GPU kernel from component guideCurved19 -> GPU kernel from component guideCurved20 -> GPU kernel from component guideCurved21 -> GPU kernel from component guideCurved22 -> GPU kernel from component guideCurved23 -> GPU kernel from component guideCurved24 -> GPU kernel from component guideCurved25 -> GPU kernel from component guideCurved26 -> GPU kernel from component guideCurved27 -> GPU kernel from component guideCurved28 -> GPU kernel from component guideCurved29 -> GPU kernel from component guideCurved30 -> GPU kernel from component guideCurved31 -> GPU kernel from component guideCurved32 -> GPU kernel from component guideCurved33 -> GPU kernel from component guideCurved34 -> GPU kernel from component guideCurved35 -> GPU kernel from component guideCurved36 -> GPU kernel from component guideCurved37 -> GPU kernel from component guideCurved38 -> GPU kernel from component guideCurved39 -> GPU kernel from component guideCurved40 -> GPU kernel from component bunker -> GPU kernel from component guide3 -> GPU kernel from component slitGuideEnd -> GPU kernel from component psd_guide_end -> GPU kernel from component emon_guide_end -> GPU kernel from component lmon_guide_end -> GPU kernel from component divmon_guide_end -> GPU kernel from component focus_mono -> SPLIT within buffer at component monochromator_curved -> GPU kernel from component a2 -> GPU kernel from component slitShutter -> GPU kernel from component MSCollimator -> GPU kernel from component infilter -> GPU kernel from component psd_virt -> GPU kernel from component lmon_virt -> GPU kernel from component aa2 -> GPU kernel from component OrderMon -> GPU kernel from component kMoni -> GPU kernel from component kMoni1st -> GPU kernel from component kMoni2nd -> GPU kernel from component kMoni3rd -> GPU kernel from component slitMonochromator -> GPU kernel from component Perspex -> GPU kernel from component psd_samplepos_1cm2 -> GPU kernel from component emon_samplepos_1cm2 -> GPU kernel from component divmon_samplepos_1cm2 -> GPU kernel from component psd_samplepos_large -> SPLIT within buffer at component a3 -> GPU kernel from component aa3 -> GPU kernel from component incohSample -> GPU kernel from component powderSample -> GPU kernel from component crystalSample -> GPU kernel from component phononSample -> GPU kernel from component psd_4pi -> GPU kernel from component a4 -> GPU kernel from component slitSample -> GPU kernel from component filter_coll -> GPU kernel from component filter -> GPU kernel from component ana_slit1 -> GPU kernel from component ana_slit2 -> GPU kernel from component emon_before_ana -> GPU kernel from component psd_before_ana -> GPU kernel from component divmon_before_ana -> SPLIT within buffer at component focus_ana -> GPU kernel from component an1l -> GPU kernel from component an1u -> GPU kernel from component an2l -> GPU kernel from component an2u -> GPU kernel from component an3l -> GPU kernel from component an3u -> GPU kernel from component an4l -> GPU kernel from component an4u -> GPU kernel from component an5l -> GPU kernel from component an5u -> GPU kernel from component an6l -> GPU kernel from component an6u -> GPU kernel from component an7l -> GPU kernel from component an7u -> GPU kernel from component an8l -> GPU kernel from component an8u -> GPU kernel from component an9l -> GPU kernel from component an9u -> GPU kernel from component a6 -> GPU kernel from component emon_before_coarse -> GPU kernel from component psd_before_coarse -> GPU kernel from component ArmR1 -> GPU kernel from component BladeR1 -> GPU kernel from component ArmR2 -> GPU kernel from component BladeR2 -> GPU kernel from component ArmR3 -> GPU kernel from component BladeR3 -> GPU kernel from component ArmR4 -> GPU kernel from component BladeR4 -> GPU kernel from component ArmR5 -> GPU kernel from component BladeR5 -> GPU kernel from component ArmL1 -> GPU kernel from component BladeL1 -> GPU kernel from component ArmL2 -> GPU kernel from component BladeL2 -> GPU kernel from component ArmL3 -> GPU kernel from component BladeL3 -> GPU kernel from component ArmL4 -> GPU kernel from component BladeL4 -> GPU kernel from component ArmL5 -> GPU kernel from component BladeL5 -> GPU kernel from component psd_detector -> GPU kernel from component emon_detector -> GPU kernel from component psd_window1 -> GPU kernel from component emon_window1 -> GPU kernel from component psd_window2 -> GPU kernel from component emon_window2 -> GPU kernel from component psd_window3 -> GPU kernel from component emon_window3 -> GPU kernel from component psd_window4 -> GPU kernel from component emon_window4 -> GPU kernel from component psd_window5 -> GPU kernel from component emon_window5 -> GPU kernel from component psd_window6 -> GPU kernel from component emon_window6 -> GPU kernel from component psd_window7 -> GPU kernel from component emon_window7 -> GPU kernel from component psd_window8 -> GPU kernel from component emon_window8 -> GPU kernel from component psd_window9 -> GPU kernel from component emon_window9 ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./RITA-II.out DEBUG: CMD: mpicc -o ./RITA-II.out ./RITA-II.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 lto-wrapper: warning: using serial compilation of 10 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/ccHBNHDz.ltrans0.ltrans.o: in function `cif2hkl': /home/nexmap/pkwi/TESTS/2024-12-06/ANTLR_mpi_x_16_run_2_Linux_1e7/RITA-II/./RITA-II.c:7877:(.text.cif2hkl+0xd0): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===