INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H53_IN14_20241222_074636" INFO: Regenerating c-file: ILL_H53_IN14.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./ILL_H53_IN14.c ILL_H53_IN14.instr 2024-12-22 07:47:08.177 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :Guide(0):read_table-lib :Guide(1):ref-lib :ref-lib(0):read_table-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :Monochromator_curved(0):read_table-lib :Isotropic_Sqw(0):read_table-lib :Isotropic_Sqw(1):interoff-lib 2024-12-22 07:47:08.177 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib ref-lib 2024-12-22 07:47:08.177 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib monitor_nd-lib 2024-12-22 07:47:08.177 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-22 07:47:08.177 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-22 07:47:08.177 | 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-12-22 07:47:11.528 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 1259,4 2024-12-22 07:47:11.528 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - MPI_MASTER( 2024-12-22 07:47:11.528 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (Sqw->verbose_output > 0) { 2024-12-22 07:47:11.528 | 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-22 07:47:11.528 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - Sqw->compname, file, T); 2024-12-22 07:47:11.529 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2024-12-22 07:47:11.529 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~^ missing '}' at ')' 2024-12-22 07:47:11.529 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } 2024-12-22 07:47:11.529 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } line 1263:2 mismatched input 'if' expecting 2024-12-22 07:47:11.535 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 1263,2 2024-12-22 07:47:11.536 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2024-12-22 07:47:11.536 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - } 2024-12-22 07:47:11.536 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - } 2024-12-22 07:47:11.536 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - 2024-12-22 07:47:11.536 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (Sqw->Temperature == 0) { 2024-12-22 07:47:11.536 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~^ mismatched input 'if' expecting 2024-12-22 07:47:11.536 | 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-22 07:47:11.536 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } else if (Sqw->Temperature ==-1) { 2024-12-22 07:47:11.623 | INFO | mccode_antlr.translators.c_listener:visitDeclarator:341 - Could not convert an integer from ('CHAR_BUF_LENGTH',) due to invalid literal for int() with base 10: 'CHAR_BUF_LENGTH' The instrument has 66 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 10 at component PG1Xtal -> SPLIT 10 at component Sample_Cradle -> SPLIT 10 at component PG2Xtal ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component HCS -> GPU kernel from component Entrance -> GPU kernel from component NiGuide_entrance -> GPU kernel from component NiGuide -> GPU kernel from component H53_BOG1 -> GPU kernel from component H53_BOG2 -> GPU kernel from component H53_BOG3 -> GPU kernel from component Al_window8 -> GPU kernel from component Mon_VS_L -> GPU kernel from component Mon_VS_XY -> GPU kernel from component Al_window9 -> GPU kernel from component CarterVS1 -> GPU kernel from component Mon_VS1_L -> GPU kernel from component CarterVS2 -> GPU kernel from component H53_COM -> GPU kernel from component Mon_VS2_L -> GPU kernel from component H53_COM_In -> GPU kernel from component H53_COM_1 -> GPU kernel from component H53_COM_2 -> GPU kernel from component H53_COM_3 -> GPU kernel from component H53_COM_4 -> GPU kernel from component H53_COM_Out -> GPU kernel from component H53_C1 -> GPU kernel from component H53_C1_In -> GPU kernel from component H53_C1_1 -> GPU kernel from component H53_C1_2 -> GPU kernel from component H53_C1_3 -> GPU kernel from component H53_C1_Out -> GPU kernel from component H53_C1_Shift -> GPU kernel from component Mono_Cradle -> SPLIT within buffer at component PG1Xtal -> GPU kernel from component Mono_Out -> GPU kernel from component D4_SC2_1D -> GPU kernel from component SC2 -> SPLIT within buffer at component Sample_Cradle -> GPU kernel from component Sample -> GPU kernel from component Sample_Out -> GPU kernel from component D7_SC3_1D -> GPU kernel from component SC3 -> GPU kernel from component Ana_Cradle -> SPLIT within buffer at component PG2Xtal -> GPU kernel from component Ana_Out -> GPU kernel from component SC4 -> GPU kernel from component He3H ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./ILL_H53_IN14.out DEBUG: CMD: nvc -o ./ILL_H53_IN14.out ./ILL_H53_IN14.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,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_H53_IN14.c", line 4510: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./ILL_H53_IN14.c", line 8271: warning: variable "n" was declared but never referenced [declared_but_not_referenced] double n; ^ "./ILL_H53_IN14.c", line 8250: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] double w_c = 0; ^ "./ILL_H53_IN14.c", line 8251: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] double w_l = 0; ^ "./ILL_H53_IN14.c", line 8162: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_H53_IN14.c", line 8162: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_H53_IN14.c", line 13272: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H53_IN14.c", line 13272: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H53_IN14.c", line 13299: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H53_IN14.c", line 13299: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H53_IN14.c", line 13423: warning: variable "minx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H53_IN14.c", line 13423: warning: variable "maxx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H53_IN14.c", line 13423: warning: variable "miny" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H53_IN14.c", line 13423: warning: variable "maxy" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H53_IN14.c", line 13423: warning: variable "minz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H53_IN14.c", line 13423: warning: variable "maxz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H53_IN14.c", line 13780: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_H53_IN14.c", line 15191: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H53_IN14.c", line 19296: warning: variable "Al_my_tot" was set but never used [set_but_not_used] double Al_s_tot_lambda,Al_my_tot,Al_my_a ; /* total XS (barn), total scattering length (m-1), absorption scat. length */ ^ "./ILL_H53_IN14.c", line 20116: warning: variable "ti" was set but never used [set_but_not_used] double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_H53_IN14.c", line 20117: warning: variable "tf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H53_IN14.c", line 20117: warning: variable "kf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H53_IN14.c", line 24073: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_H53_IN14.c", line 24074: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_H53_IN14.c", line 1518: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H53_IN14.c", line 2921: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 93, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 107, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 143, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 171, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 197, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 209, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 218, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 232, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1565, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1569, Generating acc routine seq Generating NVIDIA GPU code str_len: 1578, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4131, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4562, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4573, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4582, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4594, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4606, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4616, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4626, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4634, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4644, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4666, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4673, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4719, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4754, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4765, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4782, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4793, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4809, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4838, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4849, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4853, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5030, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5061, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5078, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5177, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5261, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5327, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5404, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5676, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5686, Generating acc routine seq Generating NVIDIA GPU code _hash: 5712, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5753, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5764, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5769, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5777, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5785, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5792, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6449, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6545, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6562, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6677, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6732, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 7598, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 7636, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_SW: 8052, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_Q_proba_per_w: 8089, Generating acc routine seq Generating NVIDIA GPU code Sqw_integrate_iqSq: 8125, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10607, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10675, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10754, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 11222, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 11238, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 11256, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 12253, Generating acc routine seq Generating NVIDIA GPU code off_F: 13380, Generating acc routine seq Generating NVIDIA GPU code off_sign: 13385, Generating acc routine seq Generating NVIDIA GPU code off_normal: 13395, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 13421, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 13484, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 13615, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 13660, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 13777, Generating acc routine seq Generating NVIDIA GPU code off_compare: 13895, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 13907, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 13942, Generating acc routine seq Generating NVIDIA GPU code Min_int: 14193, Generating acc routine seq Generating NVIDIA GPU code merge: 14200, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 14304, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 14319, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 14373, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 14490, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 14512, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 14691, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 14750, Generating acc routine seq Generating NVIDIA GPU code init: 18500, Generating update device(OpenACC) 18884, Generating update device(_NiGuide_var,_H53_COM_var,_D7_SC3_1D_var,_Mono_Out_var,_NiGuide_entrance_var,_Entrance_var,_H53_BOG1_var,_H53_BOG2_var,_Mon_VS2_L_var,_Mon_VS_L_var,_Al_window8_var,_Ana_Out_var,_He3H_var,_CarterVS1_var,_H53_COM_Out_var,_Mon_VS1_L_var,_H53_COM_4_var,_H53_C1_var,_H53_COM_1_var,_H53_COM_2_var,_H53_COM_3_var,_H53_COM_In_var,_H53_C1_Shift_var,_H53_C1_3_var,_H53_BOG3_var,_H53_C1_1_var,_H53_C1_2_var,_H53_C1_In_var,_H53_C1_Out_var,_Mon_VS_XY_var,_Origin_var,_Mono_Cradle_var,_CarterVS2_var,_PG2Xtal_var,_SC4_var,_Sample_Out_var,_Sample_Cradle_var,_D4_SC2_1D_var,_SC2_var,_Al_window9_var,_PG1Xtal_var,_Ana_Cradle_var,_SC3_var,_HCS_var,_instrument_var,_Sample_var) class_Source_gen_trace: 18926, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 19135, Generating acc routine seq Generating NVIDIA GPU code class_Al_window_trace: 19288, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 19336, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 19626, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 19971, Generating acc routine seq Generating NVIDIA GPU code class_Isotropic_Sqw_trace: 20045, Generating acc routine seq Generating NVIDIA GPU code 20364, Reference argument passing prevents parallelization: u1z Reference argument passing prevents parallelization: u1y Reference argument passing prevents parallelization: u1x Reference argument passing prevents parallelization: solid_angle class_PSD_monitor_trace: 20671, Generating acc routine seq Generating NVIDIA GPU code raytrace: 20751, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 21626, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 21640, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 21626, Local memory used for .inl_particle_29224,particleN,.inl_.inl_mcneutron_0_29239,.inl_.X2414_29241,.inl_.inl_.X2617_15_29240 21640, Generating implicit firstprivate(seed,_particle) finally: 22972, Generating update self(_NiGuide_var,_H53_COM_var,_D7_SC3_1D_var,_Mono_Out_var,_NiGuide_entrance_var,_Entrance_var,_H53_BOG1_var,_H53_BOG2_var,_Mon_VS2_L_var,_Mon_VS_L_var,_Al_window8_var,_Ana_Out_var,_He3H_var,_CarterVS1_var,_H53_COM_Out_var,_Mon_VS1_L_var,_H53_COM_4_var,_H53_C1_var,_H53_COM_1_var,_H53_COM_2_var,_H53_COM_3_var,_H53_COM_In_var,_H53_C1_Shift_var,_H53_C1_3_var,_H53_BOG3_var,_H53_C1_1_var,_H53_C1_2_var,_H53_C1_In_var,_H53_C1_Out_var,_Mon_VS_XY_var,_Origin_var,_Mono_Cradle_var,_CarterVS2_var,_PG2Xtal_var,_SC4_var,_Sample_Out_var,_Sample_Cradle_var,_D4_SC2_1D_var,_SC2_var,_Al_window9_var,_PG1Xtal_var,_Ana_Cradle_var,_SC3_var,_HCS_var,_instrument_var,_Sample_var) mcenabletrace: 5911, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafattqf0g5rRUh1rQ.o: missing .note.GNU-stack section implies executable stack /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker DEBUG: CMD: nvc finished INFO: ===