INFO: No output directory specified (--dir) INFO: Using directory: "SNS_BASIS_20241118_145007" INFO: Regenerating c-file: SNS_BASIS.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./SNS_BASIS.c SNS_BASIS.instr 2024-11-18 14:50:10.113 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance before_Chopper1_ToF 2024-11-18 14:50:10.114 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance before_Chopper1_ToF_Z 2024-11-18 14:50:10.147 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Chopper1_ToF 2024-11-18 14:50:10.148 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Chopper1_ToF_Z 2024-11-18 14:50:10.151 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance before_Chopper2_ToF 2024-11-18 14:50:10.152 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance before_Chopper2_ToF_Z 2024-11-18 14:50:10.153 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Chopper2_ToF 2024-11-18 14:50:10.153 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Chopper2_ToF_Z 2024-11-18 14:50:10.156 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance CGS3_end_ToF 2024-11-18 14:50:10.157 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance CGS3_end_ToF_Z 2024-11-18 14:50:10.158 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Gap5_start_ToF 2024-11-18 14:50:10.158 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Gap5_start_ToF_Z 2024-11-18 14:50:10.160 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Chopper3_ToF 2024-11-18 14:50:10.160 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Chopper3_ToF_Z 2024-11-18 14:50:10.162 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance SG3_end_ToF 2024-11-18 14:50:10.163 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance SG3_end_ToF_Z 2024-11-18 14:50:10.184 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Guide_End_ToF 2024-11-18 14:50:10.185 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Guide_End_ToF_Z 2024-11-18 14:50:10.371 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance An1_ToF 2024-11-18 14:50:10.372 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance An1_ToF_variable_range 2024-11-18 14:50:10.395 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Det1_ToF 2024-11-18 14:50:10.396 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Det1_ToF_variable_range 2024-11-18 14:50:10.396 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of restore_neutron in component instance Det1_ToF_variable_range_lessnL 2024-11-18 14:50:10.586 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :Guide(0):read_table-lib :Guide(1):ref-lib :ref-lib(0):read_table-lib :Guide_gravity(0):ref-lib :Guide_gravity(1):read_table-lib :Guide_m(0):read_table-lib :Isotropic_Sqw(0):read_table-lib :Isotropic_Sqw(1):interoff-lib 2024-11-18 14:50:10.586 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-11-18 14:50:10.587 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-11-18 14:50:10.587 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib monitor_nd-lib 2024-11-18 14:50:10.587 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-11-18 14:50:10.587 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib line 1259:4 missing '}' at ')' 2024-11-18 14:50:14.354 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 1259,4 2024-11-18 14:50:14.354 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - MPI_MASTER( 2024-11-18 14:50:14.354 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (Sqw->verbose_output > 0) { 2024-11-18 14:50:14.355 | 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-11-18 14:50:14.355 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - Sqw->compname, file, T); 2024-11-18 14:50:14.355 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2024-11-18 14:50:14.355 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~^ missing '}' at ')' 2024-11-18 14:50:14.355 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } 2024-11-18 14:50:14.355 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } line 1263:2 mismatched input 'if' expecting 2024-11-18 14:50:14.363 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 1263,2 2024-11-18 14:50:14.363 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2024-11-18 14:50:14.363 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - } 2024-11-18 14:50:14.363 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - } 2024-11-18 14:50:14.364 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - 2024-11-18 14:50:14.364 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (Sqw->Temperature == 0) { 2024-11-18 14:50:14.364 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~^ mismatched input 'if' expecting 2024-11-18 14:50:14.364 | 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-11-18 14:50:14.364 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } else if (Sqw->Temperature ==-1) { 2024-11-18 14:50:14.442 | 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' The instrument has 14 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component Source -> GPU kernel from component tofSTART -> GPU kernel from component Source_Lam -> GPU kernel from component Source_En -> GPU kernel from component Gap0_start -> GPU kernel from component Gap0_end_Lam -> GPU kernel from component Gap0_end_divx -> GPU kernel from component Gap0_end_divy -> GPU kernel from component Core_Vessel_Section -> GPU kernel from component Gap1_start -> GPU kernel from component Gap1_start_Lam -> GPU kernel from component Gap1_end_Lam -> GPU kernel from component Gap1_end -> GPU kernel from component Shutter_Guide_Insert -> GPU kernel from component Shutter_Guide_Insert_16 -> GPU kernel from component Shutter_Guide_Insert_17 -> GPU kernel from component Shutter_Guide_Insert_18 -> GPU kernel from component Shutter_Guide_Insert_19 -> GPU kernel from component Shutter_Guide_Insert_20 -> GPU kernel from component Shutter_Guide_Insert_21 -> GPU kernel from component Shutter_Guide_Insert_short -> GPU kernel from component Gap2_start -> GPU kernel from component Gap2_start_Lam -> GPU kernel from component Gap2_start_PSD -> GPU kernel from component Gap2_end_Lam -> GPU kernel from component Gap2_end_PSD -> GPU kernel from component Gap2_end -> GPU kernel from component Curved_Guide_Section_I -> GPU kernel from component Curved_Guide_Section_I_30 -> GPU kernel from component Curved_Guide_Section_I_31 -> GPU kernel from component Curved_Guide_Section_I_32 -> GPU kernel from component Curved_Guide_Section_I_33 -> GPU kernel from component Curved_Guide_Section_I_34 -> GPU kernel from component Curved_Guide_Section_I_35 -> GPU kernel from component Curved_Guide_Section_I_36 -> GPU kernel from component Curved_Guide_Section_I_37 -> GPU kernel from component Curved_Guide_Section_I_38 -> GPU kernel from component Curved_Guide_Section_I_short -> GPU kernel from component Gap3_start -> GPU kernel from component Gap3_start_Lam -> GPU kernel from component CGS1_end -> GPU kernel from component before_Chopper1_ToF -> GPU kernel from component before_Chopper1_ToF_Z -> GPU kernel from component Chopper1 -> GPU kernel from component Chopper1_ToF -> GPU kernel from component Chopper1_ToF_Z -> GPU kernel from component Gap3_end_Lam -> GPU kernel from component Gap3_end_PSD -> GPU kernel from component Gap3_end -> GPU kernel from component Curved_Guide_Section_II -> GPU kernel from component Curved_Guide_Section_II_52 -> GPU kernel from component Curved_Guide_Section_II_53 -> GPU kernel from component Curved_Guide_Section_II_54 -> GPU kernel from component Curved_Guide_Section_II_55 -> GPU kernel from component Curved_Guide_Section_II_56 -> GPU kernel from component Curved_Guide_Section_II_57 -> GPU kernel from component Curved_Guide_Section_II_last -> GPU kernel from component Gap4_start -> GPU kernel from component Gap4_start_Lam -> GPU kernel from component Gap4_start_PSD -> GPU kernel from component before_Chopper2_ToF -> GPU kernel from component before_Chopper2_ToF_Z -> GPU kernel from component Chopper2 -> GPU kernel from component Chopper2_ToF -> GPU kernel from component Chopper2_ToF_Z -> GPU kernel from component Gap4_end_Lam -> GPU kernel from component Gap4_end_PSD -> GPU kernel from component Gap4_end -> GPU kernel from component Curved_Guide_Section_III -> GPU kernel from component Curved_Guide_Section_III_71 -> GPU kernel from component Curved_Guide_Section_III_72 -> GPU kernel from component Curved_Guide_Section_III_73 -> GPU kernel from component Curved_Guide_Section_III_74 -> GPU kernel from component Curved_Guide_Section_III_75 -> GPU kernel from component Curved_Guide_Section_III_76 -> GPU kernel from component Curved_Guide_Section_III_77 -> GPU kernel from component Curved_Guide_Section_III_78 -> GPU kernel from component Curved_Guide_Section_III_79 -> GPU kernel from component Curved_Guide_Section_III_short -> GPU kernel from component CGS3_end_ToF -> GPU kernel from component CGS3_end_ToF_Z -> GPU kernel from component CGS3_end_Lam -> GPU kernel from component Straight_Guide_Section_I -> GPU kernel from component Gap5_start -> GPU kernel from component Gap5_start_ToF -> GPU kernel from component Gap5_start_ToF_Z -> GPU kernel from component Gap5_start_Lam -> GPU kernel from component Gap5_start_PSD -> GPU kernel from component Chopper3 -> GPU kernel from component Chopper3_ToF -> GPU kernel from component Chopper3_ToF_Z -> GPU kernel from component Gap5_end_Lam -> GPU kernel from component Gap5_end_PSD -> GPU kernel from component Gap5_end -> GPU kernel from component Straight_Guide_Section_II -> GPU kernel from component SGS2_end_Lam -> GPU kernel from component SGS2_end_PSD -> GPU kernel from component Straight_Guide_Section_III -> GPU kernel from component SG3_end_ToF -> GPU kernel from component SG3_end_ToF_Z -> GPU kernel from component SG3_end_Lam -> GPU kernel from component SG3_end_PSD -> GPU kernel from component Funnel_1 -> GPU kernel from component PSD_post_funnel1 -> GPU kernel from component Funnel_2 -> GPU kernel from component PSD_post_funnel2 -> GPU kernel from component Funnel_3 -> GPU kernel from component PSD_post_funnel3 -> GPU kernel from component Funnel_4 -> GPU kernel from component PSD_post_funnel4 -> GPU kernel from component Guide_End_ToF -> GPU kernel from component Guide_End_ToF_Z -> GPU kernel from component Guide_end_Lam -> GPU kernel from component Guide_end_divx -> GPU kernel from component Guide_end_divy -> GPU kernel from component Guide_end_PSD -> GPU kernel from component Sample_split -> GPU kernel from component SamplePos -> GPU kernel from component Sample -> GPU kernel from component An1_rot_axis -> GPU kernel from component An2_rot_axis -> GPU kernel from component An3_rot_axis -> GPU kernel from component An1_ToF -> GPU kernel from component An1_ToF_variable_range -> GPU kernel from component An1_Lam -> GPU kernel from component An1_Lam_variable_range -> GPU kernel from component An1_E -> GPU kernel from component An1_E_variable_range -> GPU kernel from component An1_rot_axis2 -> GPU kernel from component An2_rot_axis2 -> GPU kernel from component An3_rot_axis2 -> GPU kernel from component An1 -> GPU kernel from component An2 -> GPU kernel from component An3 -> GPU kernel from component ArmForDet1 -> GPU kernel from component Det1_E -> GPU kernel from component Det1_E_variable_range -> GPU kernel from component Det1_Lam -> GPU kernel from component Det1_Lam_variable_range -> GPU kernel from component Det1_ToF -> GPU kernel from component Det1_ToF_variable_range -> GPU kernel from component Det1_ToF_variable_range_lessnL -> GPU kernel from component PSDcyl -> GPU kernel from component TOFcyl ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./SNS_BASIS.out DEBUG: CMD: mpicc -o ./SNS_BASIS.out ./SNS_BASIS.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 9 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information DEBUG: CMD: mpicc finished INFO: ===