INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H5_20241206_094143" INFO: Regenerating c-file: ILL_H5.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./ILL_H5.c ILL_H5.instr 2024-12-06 09:41:46.189 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of m in component instance H53_inpile Downloading file 'mcstas-comps/monitors/Monitor.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/monitors/Monitor.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas-comps/optics/Pol_mirror.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/optics/Pol_mirror.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas-comps/optics/Pol_guide_vmirror.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/optics/Pol_guide_vmirror.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas/nlib/share/pol-lib.h' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas/nlib/share/pol-lib.h' to '/home/nexmap/pkwi/.cache/libc/v3.5.14'. 2024-12-06 09:41:49.109 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :PowderN(0):read_table-lib :PowderN(1):interoff-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :Guide_gravity(0):ref-lib :Guide_gravity(1):read_table-lib :ref-lib(0):read_table-lib :Monochromator_curved(0):read_table-lib :Isotropic_Sqw(0):read_table-lib :Isotropic_Sqw(1):interoff-lib :Pol_mirror(0):pol-lib :Pol_mirror(1):ref-lib :Pol_guide_vmirror(0):pol-lib :Pol_guide_vmirror(1):ref-lib :Incoherent(0):read_table-lib :Incoherent(1):interoff-lib :Shape(0):read_table-lib :Shape(1):interoff-lib 2024-12-06 09:41:49.109 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib monitor_nd-lib interoff-lib 2024-12-06 09:41:49.109 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib monitor_nd-lib interoff-lib 2024-12-06 09:41:49.109 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib interoff-lib monitor_nd-lib 2024-12-06 09:41:49.110 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib monitor_nd-lib interoff-lib 2024-12-06 09:41:49.110 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib monitor_nd-lib interoff-lib 2024-12-06 09:41:49.110 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib monitor_nd-lib interoff-lib 2024-12-06 09:41:49.110 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib monitor_nd-lib interoff-lib 2024-12-06 09:41:49.110 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib pol-lib monitor_nd-lib interoff-lib line 1259:4 missing '}' at ')' 2024-12-06 09:41:54.097 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 1259,4 2024-12-06 09:41:54.097 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - MPI_MASTER( 2024-12-06 09:41:54.097 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (Sqw->verbose_output > 0) { 2024-12-06 09:41:54.097 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - printf( "Isotropic_Sqw: %s: Temperature computed from S(q,w) data from %s is T=%g [K].\n", 2024-12-06 09:41:54.097 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - Sqw->compname, file, T); 2024-12-06 09:41:54.097 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2024-12-06 09:41:54.098 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~^ missing '}' at ')' 2024-12-06 09:41:54.098 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } 2024-12-06 09:41:54.098 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } line 1263:2 mismatched input 'if' expecting 2024-12-06 09:41:54.106 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 1263,2 2024-12-06 09:41:54.106 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2024-12-06 09:41:54.106 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - } 2024-12-06 09:41:54.106 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - } 2024-12-06 09:41:54.106 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - 2024-12-06 09:41:54.106 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (Sqw->Temperature == 0) { 2024-12-06 09:41:54.107 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~^ mismatched input 'if' expecting 2024-12-06 09:41:54.107 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - Sqw->Temperature = T_file ? T_file : T; /* 0: not set: we use file value, else computed */ 2024-12-06 09:41:54.107 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } else if (Sqw->Temperature ==-1) { 2024-12-06 09:41:54.185 | 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' Downloading file 'mcstas/nlib/share/pol-lib.c' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas/nlib/share/pol-lib.c' to '/home/nexmap/pkwi/.cache/libc/v3.5.14'. Downloading file 'common/lib/share/interpolation-lib.h' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/common/lib/share/interpolation-lib.h' to '/home/nexmap/pkwi/.cache/libc/v3.5.14'. 2024-12-06 09:41:56.051 | INFO | mccode_antlr.translators.c:include_source:331 - pol-lib.c requested interpolation-lib but is has not been included yet! Downloading file 'common/lib/share/interpolation-lib.c' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/common/lib/share/interpolation-lib.c' to '/home/nexmap/pkwi/.cache/libc/v3.5.14'. The instrument has 18 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: WARNING: --> JUMP found at COMPONENT 8, H53_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 9, H52_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 10, H51_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 25, H53_IN14_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 78, H53_IN16_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 93, H53_D16_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 109, H53_SADAM_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 153, H51_split_2 --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 154, H51_split_1 --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL -> GPU kernel from component Origin -> GPU kernel from component HCS -> GPU kernel from component HCS_Al -> GPU kernel from component HCS_Al_4 -> GPU kernel from component HCS_Al_5 -> GPU kernel from component HCS_Al_6 -> GPU kernel from component HCS_Al_7 -> GPU kernel from component H5 -> GPU kernel from component H53_origin -> GPU kernel from component H52_origin -> GPU kernel from component H51_origin -> GPU kernel from component H53_Start -> GPU kernel from component H53_inpile -> GPU kernel from component H53_Al -> GPU kernel from component HCS_Al_15 -> GPU kernel from component H53_Obt_1 -> GPU kernel from component H53_Obt_2 -> GPU kernel from component H53_Obt_3 -> GPU kernel from component HCS_Al_19 -> GPU kernel from component H53_Obt_Out -> GPU kernel from component HCS_Al_21 -> GPU kernel from component H53_VSComC1 -> GPU kernel from component HCS_Al_23 -> GPU kernel from component H53_IN14_Monochromator_Cradle -> GPU kernel from component H53_IN14_Monochromator -> GPU kernel from component H53_IN14_Monochromator_Jumper -> GPU kernel from component H53_IN14_Monochromator_Out -> GPU kernel from component H53_IN14_Sample_Div -> GPU kernel from component H53_IN14_Sample_XY -> GPU kernel from component H53_IN14_Sample_L -> GPU kernel from component H53_IN14_Sample -> GPU kernel from component H53_IN14_Spectrometer -> GPU kernel from component H53_IN14_Diffractometer -> GPU kernel from component Sample_Out -> GPU kernel from component SC3 -> GPU kernel from component Ana_Cradle -> GPU kernel from component PG2Xtal -> GPU kernel from component Ana_Out -> GPU kernel from component SC4 -> GPU kernel from component He3H -> GPU kernel from component H53_IN14_Transmit -> GPU kernel from component HCS_Al_42 -> GPU kernel from component H53_C2_Start -> GPU kernel from component H53_C2 -> GPU kernel from component H53_C2_45 -> GPU kernel from component H53_C2_46 -> GPU kernel from component H53_C2_47 -> GPU kernel from component H53_C2_48 -> GPU kernel from component H53_C2_49 -> GPU kernel from component H53_C2_50 -> GPU kernel from component H53_C2_51 -> GPU kernel from component H53_C2_52 -> GPU kernel from component H53_C2_53 -> GPU kernel from component HCS_Al_54 -> GPU kernel from component H53_VTE -> GPU kernel from component HCS_Al_56 -> GPU kernel from component H53_P14 -> GPU kernel from component H53_P14_58 -> GPU kernel from component H53_P14_59 -> GPU kernel from component H53_P14_60 -> GPU kernel from component H53_P14_61 -> GPU kernel from component H53_P14_62 -> GPU kernel from component H53_P14_63 -> GPU kernel from component H53_P14_64 -> GPU kernel from component H53_P14_65 -> GPU kernel from component H53_P14_66 -> GPU kernel from component H53_P14_67 -> GPU kernel from component H53_P14_68 -> GPU kernel from component H53_P14_69 -> GPU kernel from component H53_P14_70 -> GPU kernel from component H53_P14_71 -> GPU kernel from component H53_P14_72 -> GPU kernel from component H53_P14_73 -> GPU kernel from component H53_P14_74 -> GPU kernel from component H53_P14_75 -> GPU kernel from component HCS_Al_76 -> GPU kernel from component H53_IN16_Monochromator_Cradle -> GPU kernel from component H53_IN16_Monochromator -> GPU kernel from component H53_IN16_Monochromator_Jumper -> GPU kernel from component H53_IN16_Monochromator_Out -> GPU kernel from component H53_IN16_Sample_Div -> GPU kernel from component H53_IN16_Sample_XY -> GPU kernel from component H53_IN16_Sample_L -> GPU kernel from component H53_IN16_Sample -> GPU kernel from component H53_IN16_Spectrometer -> GPU kernel from component H53_IN16_Diffractometer -> GPU kernel from component H53_IN16_Transmit -> GPU kernel from component HCS_Al_88 -> GPU kernel from component H53_P5_Start -> GPU kernel from component H53_P5 -> GPU kernel from component HCS_Al_91 -> GPU kernel from component H53_D16_Monochromator_Cradle -> GPU kernel from component H53_D16_Monochromator -> GPU kernel from component H53_D16_Monochromator_Jumper -> GPU kernel from component H53_D16_Monochromator_Out -> GPU kernel from component H53_D16_Sample_Div -> GPU kernel from component H53_D16_Sample_XY -> GPU kernel from component H53_D16_Sample_L -> GPU kernel from component H53_D16_Sample -> GPU kernel from component H53_D16_Detector -> GPU kernel from component H53_D16_Spectrometer -> GPU kernel from component H53_D16_Diffractometer -> GPU kernel from component H53_D16_Transmit -> GPU kernel from component HCS_Al_104 -> GPU kernel from component H53_P6_Start -> GPU kernel from component H53_P6 -> GPU kernel from component HCS_Al_107 -> GPU kernel from component H53_SADAM_Monochromator_Cradle -> GPU kernel from component H53_SADAM_Monochromator -> GPU kernel from component H53_SADAM_Monochromator_Jumper -> GPU kernel from component H53_SADAM_Monochromator_Out -> GPU kernel from component H53_SADAM_Sample_Div -> GPU kernel from component H53_SADAM_Sample_XY -> GPU kernel from component H53_SADAM_Sample_L -> GPU kernel from component H53_SADAM_Sample -> GPU kernel from component H53_SADAM_Detector -> GPU kernel from component H53_SADAM_Spectrometer -> GPU kernel from component H53_SADAM_Diffractometer -> GPU kernel from component H53_SADAM_Transmit -> GPU kernel from component HCS_Al_120 -> GPU kernel from component H53_P7_Start -> GPU kernel from component H53_P7 -> GPU kernel from component HCS_Al_123 -> GPU kernel from component H53_CryoEDM_In -> GPU kernel from component H53_CryoEDM_In_L -> GPU kernel from component H53_CryoEDM_mirror_center -> GPU kernel from component H53_CryoEDM_polariser -> GPU kernel from component H53_CryoEDM_mirror_outdir -> GPU kernel from component H53_CryoEDM_mirror_ReflectXY -> GPU kernel from component H53_CryoEDM_mirror_TransmitXY -> GPU kernel from component H53_CryoEDM_Sample_L -> GPU kernel from component H53_CryoEDM_Sample_Div -> GPU kernel from component H53_CryoEDM_Sample_XY -> GPU kernel from component H52_Start -> GPU kernel from component H52_inpile -> GPU kernel from component H52_Obt_1 -> GPU kernel from component H52_Obt_2 -> GPU kernel from component H52_Obt_3 -> GPU kernel from component HCS_Al_139 -> GPU kernel from component H52_Obt_Out -> GPU kernel from component H51_Start -> GPU kernel from component H51_inpile -> GPU kernel from component H51_Obt_1 -> GPU kernel from component H51_Obt_2 -> GPU kernel from component H51_Obt_3 -> GPU kernel from component HCS_Al_146 -> GPU kernel from component H51_Obt_Out -> GPU kernel from component HCS_Al_148 -> GPU kernel from component H51_S2 -> GPU kernel from component H51_S2_150 -> GPU kernel from component H51_S2_151 -> GPU kernel from component HCS_Al_H51 -> GPU kernel from component H51_S2_Out -> GPU kernel from component H51_split_2 -> GPU kernel from component H51_split_1 -> GPU kernel from component H511_Start -> GPU kernel from component H511_mirror_centre -> GPU kernel from component IN15_polariser -> GPU kernel from component H511_mirror_outdir -> GPU kernel from component H511_mirror_ReflectXY -> GPU kernel from component H511_mirror_TransmitXY -> GPU kernel from component H511_mirror_outdXY -> GPU kernel from component H511_S3 -> GPU kernel from component H511_S9 -> GPU kernel from component HCS_Al_165 -> GPU kernel from component H511_VTE -> GPU kernel from component HCS_Al_167 -> GPU kernel from component H511_S10 -> GPU kernel from component IN15_Vselector -> GPU kernel from component H511_BeforeV -> GPU kernel from component IN15_Vpolariser -> GPU kernel from component H511_AfterV -> GPU kernel from component H511_IN15_Sample_Div -> GPU kernel from component H511_IN15_Sample_XY -> GPU kernel from component H511_IN15_Sample_L -> GPU kernel from component H511_IN15_Sample -> GPU kernel from component H511_IN15_Detector -> GPU kernel from component H511_IN15_Spectrometer -> GPU kernel from component H511_IN15_Diffractometer -> GPU kernel from component H512_Start -> GPU kernel from component H512_S36 -> GPU kernel from component H512_S36_182 -> GPU kernel from component H512_S36_183 -> GPU kernel from component H512_S36_184 -> GPU kernel from component H512_S36_185 -> GPU kernel from component H512_S36_186 -> GPU kernel from component H512_S36_187 -> GPU kernel from component H512_S36_188 -> GPU kernel from component H512_S36_189 -> GPU kernel from component H512_S36_190 -> GPU kernel from component H512_S36_191 -> GPU kernel from component H512_S36_192 -> GPU kernel from component H512_S36_193 -> GPU kernel from component H512_S36_194 -> GPU kernel from component H512_S36_195 -> GPU kernel from component H512_S36_196 -> GPU kernel from component HCS_Al_H512 -> GPU kernel from component H512_VTE -> GPU kernel from component HCS_Al_199 -> GPU kernel from component H51_S78 -> GPU kernel from component H51_S78_201 -> GPU kernel from component H51_S78_202 -> GPU kernel from component H51_S78_203 -> GPU kernel from component HCS_Al_204 -> GPU kernel from component H512_S11 -> GPU kernel from component HCS_Al_206 -> GPU kernel from component D22_PreV -> GPU kernel from component D22_Vselector -> GPU kernel from component D22_Collimation -> GPU kernel from component D22_Sample_Pos -> GPU kernel from component H51_D22_Sample_Div -> GPU kernel from component H51_D22_Sample_XY -> GPU kernel from component H51_D22_Sample_L -> GPU kernel from component H51_D22_Sample -> GPU kernel from component D22_Detector -> GPU kernel from component D22_Detector_vessel -> GPU kernel from component BOG -> GPU kernel from component H53_IN14_Drum -> GPU kernel from component H53_IN16_Drum -> GPU kernel from component H53_D16_Drum -> GPU kernel from component H53_SADAM_Drum -> GPU kernel from component Traversee -> GPU kernel from component Core_Centre -> GPU kernel from component Core -> GPU kernel from component D2O_Vessel -> GPU kernel from component H2O_Vessel ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./ILL_H5.out DEBUG: CMD: mpicc -o ./ILL_H5.out ./ILL_H5.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 13 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/ccxYhlIG.ltrans2.ltrans.o: in function `read_line_data.part.0': /home/nexmap/pkwi/TESTS/2024-12-06/ANTLR_mpi_x_16_run_2_Linux_1e7/ILL_H5/./ILL_H5.c:7768:(.text.read_line_data.part.0+0xda): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===