INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H25_20241206_103936" INFO: Regenerating c-file: ILL_H25.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./ILL_H25.c ILL_H25.instr 2024-12-06 10:39:38.939 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :Guide_gravity(0):ref-lib :Guide_gravity(1):read_table-lib :ref-lib(0):read_table-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2024-12-06 10:39:38.939 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib ref-lib The instrument has 4 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component Thermal -> GPU kernel from component PinkCarter -> GPU kernel from component PinkCarterSM -> GPU kernel from component LeadShutter -> GPU kernel from component H25_1_In -> GPU kernel from component H25_1 -> GPU kernel from component H25_1_8 -> GPU kernel from component H25_1_9 -> GPU kernel from component H25_1_10 -> GPU kernel from component H25_1_Out -> GPU kernel from component H25_2_In -> GPU kernel from component H25_2 -> GPU kernel from component H25_2_14 -> GPU kernel from component H25_2_15 -> GPU kernel from component H25_2_Out -> GPU kernel from component H25_3_In -> GPU kernel from component H25_3 -> GPU kernel from component H25_3_19 -> GPU kernel from component H25_3_20 -> GPU kernel from component H25_3_21 -> GPU kernel from component H25_3_22 -> GPU kernel from component H25_3_23 -> GPU kernel from component H25_3_24 -> GPU kernel from component H25_3_25 -> GPU kernel from component H25_3_26 -> GPU kernel from component H25_3_27 -> GPU kernel from component H25_3_Out -> GPU kernel from component H25_4_In -> GPU kernel from component H25_4 -> GPU kernel from component H25_4_31 -> GPU kernel from component H25_4_32 -> GPU kernel from component H25_4_33 -> GPU kernel from component H25_4_34 -> GPU kernel from component H25_4_35 -> GPU kernel from component H25_4_36 -> GPU kernel from component H25_4_Out -> GPU kernel from component H25_5_In -> GPU kernel from component H25_5 -> GPU kernel from component H25_5_40 -> GPU kernel from component H25_5_41 -> GPU kernel from component H25_5_42 -> GPU kernel from component H25_5_43 -> GPU kernel from component H25_5_Out -> GPU kernel from component OT1_H25 -> GPU kernel from component H25_6 -> GPU kernel from component H25_6_47 -> GPU kernel from component H25_6_48 -> GPU kernel from component H25_6_49 -> GPU kernel from component H25_6_50 -> GPU kernel from component H25_6_51 -> GPU kernel from component H25_6_52 -> GPU kernel from component H25_6_53 -> GPU kernel from component H25_6_54 -> GPU kernel from component H25_6_55 -> GPU kernel from component H25_6_Out -> GPU kernel from component H25_7_In -> GPU kernel from component H25_7 -> GPU kernel from component H25_7_59 -> GPU kernel from component H25_7_60 -> GPU kernel from component H25_7_61 -> GPU kernel from component H25_7_62 -> GPU kernel from component H25_7_63 -> GPU kernel from component H25_7_64 -> GPU kernel from component H25_7_65 -> GPU kernel from component H25_7_66 -> GPU kernel from component H25_7_67 -> GPU kernel from component H25_7_Out -> GPU kernel from component H25_8_In -> GPU kernel from component H25_8 -> GPU kernel from component H25_8_71 -> GPU kernel from component H25_8_72 -> GPU kernel from component H25_8_73 -> GPU kernel from component H25_8_74 -> GPU kernel from component H25_8_Out -> GPU kernel from component H25_9_In -> GPU kernel from component H25_9 -> GPU kernel from component H25_9_78 -> GPU kernel from component H25_9_79 -> GPU kernel from component H25_9_80 -> GPU kernel from component H25_9_81 -> GPU kernel from component H25_9_82 -> GPU kernel from component H25_9_Out -> GPU kernel from component H25_10_In -> GPU kernel from component H25_10 -> GPU kernel from component H25_10_86 -> GPU kernel from component H25_10_87 -> GPU kernel from component H25_10_88 -> GPU kernel from component H25_10_89 -> GPU kernel from component H25_10_Out -> GPU kernel from component GuideOut -> GPU kernel from component GuideOut_xy -> GPU kernel from component GuideOut_dxdy -> GPU kernel from component GuideOut_Phic -> GPU kernel from component GuideOut_L ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./ILL_H25.out DEBUG: CMD: nvc -o ./ILL_H25.out ./ILL_H25.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_H25.c", line 4489: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./ILL_H25.c", line 11627: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H25.c", line 11627: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H25.c", line 11654: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H25.c", line 11654: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H25.c", line 11778: 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_H25.c", line 11778: 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_H25.c", line 11778: 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_H25.c", line 11778: 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_H25.c", line 11778: 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_H25.c", line 11778: 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_H25.c", line 12135: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_H25.c", line 13312: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H25.c", line 20841: 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_H25.c", line 26287: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_H25.c", line 26288: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_H25.c", line 1498: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H25.c", line 2901: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 89, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 103, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 136, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 161, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 184, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 196, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 205, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 216, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1545, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1549, Generating acc routine seq Generating NVIDIA GPU code str_len: 1558, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4110, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4541, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4552, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4561, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4573, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4585, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4595, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4605, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4613, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4645, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4652, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4698, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4733, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4744, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4761, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4772, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4788, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4817, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4828, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4832, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5009, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5040, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5057, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5156, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5240, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5306, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5383, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5655, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5665, Generating acc routine seq Generating NVIDIA GPU code _hash: 5691, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5732, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5743, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5748, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5756, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5764, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5771, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6428, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6524, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6541, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6656, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6711, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 7443, Generating acc routine seq Generating NVIDIA GPU code Gravity_guide_Trace: 7589, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 8977, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 9045, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 9124, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 9592, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 9608, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 9626, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 10623, Generating acc routine seq Generating NVIDIA GPU code off_F: 11735, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11740, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11750, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11776, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11839, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11970, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 12015, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 12132, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12250, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12262, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12297, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12548, Generating acc routine seq Generating NVIDIA GPU code merge: 12555, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12659, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 12674, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12728, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12845, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12867, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 13046, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 13105, Generating acc routine seq Generating NVIDIA GPU code init: 20223, Generating update device(_OT1_H25_var,_PinkCarter_var,_PinkCarterSM_var,_Origin_var,_H25_9_var,_H25_1_9_var,_H25_1_Out_var,_H25_1_10_var,_H25_1_8_var,_H25_10_var,_H25_1_In_var,_H25_2_15_var,_H25_2_Out_var,_H25_1_var,_H25_2_14_var,_H25_2_In_var,_H25_3_27_var,_H25_3_Out_var,_H25_2_var,_H25_3_19_var,_H25_3_20_var,_H25_3_21_var,_H25_3_22_var,_H25_3_23_var,_H25_3_24_var,_H25_3_25_var,_H25_3_26_var,_H25_3_In_var,_H25_4_36_var,_H25_4_Out_var,_H25_3_var,_H25_4_31_var,_H25_4_32_var,_H25_4_33_var,_H25_4_34_var,_H25_4_35_var,_H25_4_In_var,_H25_5_43_var,_H25_5_Out_var,_H25_4_var,_H25_5_40_var,_H25_5_41_var,_H25_5_42_var,_H25_5_In_var,_LeadShutter_var,_H25_6_Out_var,_H25_5_var,_H25_6_47_var,_H25_6_48_var,_H25_6_49_var,_H25_6_50_var,_H25_6_51_var,_H25_6_52_var,_H25_6_53_var,_H25_6_54_var,_H25_6_55_var,_H25_7_67_var,_H25_7_Out_var,_H25_6_var,_H25_7_59_var,_H25_7_60_var,_H25_7_61_var,_H25_7_62_var,_H25_7_63_var,_H25_7_64_var,_H25_7_65_var,_H25_7_66_var,_H25_7_In_var,_H25_8_74_var,_H25_8_Out_var,_H25_7_var,_H25_8_71_var,_H25_8_72_var,_H25_8_73_var,_H25_8_In_var,_H25_9_82_var,_H25_9_Out_var,_H25_8_var,_H25_9_78_var,_H25_9_79_var,_H25_9_80_var,_H25_9_81_var,_H25_9_In_var,_H25_10_89_var,_H25_10_Out_var,_GuideOut_xy_var,_H25_10_86_var,_H25_10_87_var,_H25_10_88_var,_H25_10_In_var,_GuideOut_dxdy_var,_GuideOut_var,_GuideOut_Phic_var,_GuideOut_L_var,_instrument_var,_Thermal_var) class_Progress_bar_trace: 20264, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 20354, Generating acc routine seq Generating NVIDIA GPU code class_Guide_gravity_trace: 20563, Generating acc routine seq Generating NVIDIA GPU code 20696, Reference argument passing prevents parallelization: dt class_Al_window_trace: 20833, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 20882, Generating acc routine seq Generating NVIDIA GPU code raytrace: 21178, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 23212, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 23226, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 23212, Local memory used for .inl_particle_37297,particleN,.inl_.inl_mcneutron_0_37312,.inl_.X2130_37314,.inl_.inl_.X2334_15_37313 23226, Generating implicit firstprivate(seed,_particle) finally: 25294, Generating update self(_OT1_H25_var,_PinkCarter_var,_PinkCarterSM_var,_Origin_var,_H25_9_var,_H25_1_9_var,_H25_1_Out_var,_H25_1_10_var,_H25_1_8_var,_H25_10_var,_H25_1_In_var,_H25_2_15_var,_H25_2_Out_var,_H25_1_var,_H25_2_14_var,_H25_2_In_var,_H25_3_27_var,_H25_3_Out_var,_H25_2_var,_H25_3_19_var,_H25_3_20_var,_H25_3_21_var,_H25_3_22_var,_H25_3_23_var,_H25_3_24_var,_H25_3_25_var,_H25_3_26_var,_H25_3_In_var,_H25_4_36_var,_H25_4_Out_var,_H25_3_var,_H25_4_31_var,_H25_4_32_var,_H25_4_33_var,_H25_4_34_var,_H25_4_35_var,_H25_4_In_var,_H25_5_43_var,_H25_5_Out_var,_H25_4_var,_H25_5_40_var,_H25_5_41_var,_H25_5_42_var,_H25_5_In_var,_LeadShutter_var,_H25_6_Out_var,_H25_5_var,_H25_6_47_var,_H25_6_48_var,_H25_6_49_var,_H25_6_50_var,_H25_6_51_var,_H25_6_52_var,_H25_6_53_var,_H25_6_54_var,_H25_6_55_var,_H25_7_67_var,_H25_7_Out_var,_H25_6_var,_H25_7_59_var,_H25_7_60_var,_H25_7_61_var,_H25_7_62_var,_H25_7_63_var,_H25_7_64_var,_H25_7_65_var,_H25_7_66_var,_H25_7_In_var,_H25_8_74_var,_H25_8_Out_var,_H25_7_var,_H25_8_71_var,_H25_8_72_var,_H25_8_73_var,_H25_8_In_var,_H25_9_82_var,_H25_9_Out_var,_H25_8_var,_H25_9_78_var,_H25_9_79_var,_H25_9_80_var,_H25_9_81_var,_H25_9_In_var,_H25_10_89_var,_H25_10_Out_var,_GuideOut_xy_var,_H25_10_86_var,_H25_10_87_var,_H25_10_88_var,_H25_10_In_var,_GuideOut_dxdy_var,_GuideOut_var,_GuideOut_Phic_var,_GuideOut_L_var,_instrument_var,_Thermal_var) mcenabletrace: 5890, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===