INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H16_Mantid_20241123_015741" INFO: Regenerating c-file: ILL_H16_Mantid.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_H16_Mantid.c ILL_H16_Mantid.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./ILL_H16_Mantid.out DEBUG: CMD: nvc -o ./ILL_H16_Mantid.out ./ILL_H16_Mantid.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_H16_Mantid.c", line 4486: 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_H16_Mantid.c", line 10897: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H16_Mantid.c", line 10897: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H16_Mantid.c", line 10924: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H16_Mantid.c", line 10924: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H16_Mantid.c", line 11252: 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_H16_Mantid.c", line 11252: 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_H16_Mantid.c", line 11252: 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_H16_Mantid.c", line 11252: 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_H16_Mantid.c", line 11252: 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_H16_Mantid.c", line 11252: 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_H16_Mantid.c", line 11609: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_H16_Mantid.c", line 12889: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H16_Mantid.c", line 12877: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_H16_Mantid.c", line 12930: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_H16_Mantid.c", line 13020: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_H16_Mantid.c", line 13082: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_H16_Mantid.c", line 13144: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_H16_Mantid.c", line 13206: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_H16_Mantid.c", line 13268: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_H16_Mantid.c", line 13330: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_H16_Mantid.c", line 13392: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_H16_Mantid.c", line 13454: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_H16_Mantid.c", line 13516: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_H16_Mantid.c", line 13578: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_H16_Mantid.c", line 13640: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_H16_Mantid.c", line 13702: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_H16_Mantid.c", line 13764: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_H16_Mantid.c", line 13826: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_H16_Mantid.c", line 13888: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_H16_Mantid.c", line 13950: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_H16_Mantid.c", line 14012: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_H16_Mantid.c", line 14074: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./ILL_H16_Mantid.c", line 14136: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./ILL_H16_Mantid.c", line 14198: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./ILL_H16_Mantid.c", line 14260: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./ILL_H16_Mantid.c", line 14322: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./ILL_H16_Mantid.c", line 14384: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./ILL_H16_Mantid.c", line 14446: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./ILL_H16_Mantid.c", line 14508: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./ILL_H16_Mantid.c", line 14570: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./ILL_H16_Mantid.c", line 14632: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./ILL_H16_Mantid.c", line 14694: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./ILL_H16_Mantid.c", line 14756: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./ILL_H16_Mantid.c", line 14818: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./ILL_H16_Mantid.c", line 14880: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./ILL_H16_Mantid.c", line 14942: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 34; ^ "./ILL_H16_Mantid.c", line 15004: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 35; ^ "./ILL_H16_Mantid.c", line 15066: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 36; ^ "./ILL_H16_Mantid.c", line 15128: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 37; ^ "./ILL_H16_Mantid.c", line 15190: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 38; ^ "./ILL_H16_Mantid.c", line 15252: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 39; ^ "./ILL_H16_Mantid.c", line 15314: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 40; ^ "./ILL_H16_Mantid.c", line 15363: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 41; ^ "./ILL_H16_Mantid.c", line 15465: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 42; ^ "./ILL_H16_Mantid.c", line 15567: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 43; ^ "./ILL_H16_Mantid.c", line 15669: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 44; ^ "./ILL_H16_Mantid.c", line 20513: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_H16_Mantid.c", line 20514: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_H16_Mantid.c", line 1495: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H16_Mantid.c", line 2898: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 88, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 102, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 134, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 158, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 180, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 191, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 200, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 210, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1542, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1546, Generating acc routine seq Generating NVIDIA GPU code str_len: 1555, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4107, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4538, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4549, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4558, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4570, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4582, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4592, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4602, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4610, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4620, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4642, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4649, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4695, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4730, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4741, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4758, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4769, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4785, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4814, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4825, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4829, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5006, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5037, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5054, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5153, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5237, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5303, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5380, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5652, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5662, Generating acc routine seq Generating NVIDIA GPU code _hash: 5688, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5729, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5740, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5745, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5753, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5761, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5768, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6427, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6463, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6523, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6540, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6655, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6710, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7718, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7786, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7865, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8333, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8349, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8367, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8414, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 8519, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 8578, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9893, Generating acc routine seq Generating NVIDIA GPU code off_F: 11209, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11214, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11224, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11250, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11313, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11444, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11489, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11606, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11724, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11736, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11771, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12022, Generating acc routine seq Generating NVIDIA GPU code merge: 12029, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12133, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 12148, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12202, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12319, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12341, Generating acc routine seq Generating NVIDIA GPU code init: 16678, Generating update device(_GuideOut_xy_var,_sourceMantid_var,_krumm9_var,_arm_var,_gerade_in_pile1_var,_gerade_in_pile2_var,_gerade_in_pile3_var,_gerade_in_pile4_var,_gerade_in_pile5_var,_gerade_in_pile6_var,_gerade_in_pile7_var,_krumm19_var,_krumm29_var,_krumm2_var,_krumm3_var,_krumm4_var,_krumm5_var,_krumm6_var,_krumm7_var,_krumm8_var,_instrument_var,_krumm10_var,_krumm11_var,_krumm12_var,_krumm13_var,_krumm14_var,_krumm15_var,_krumm16_var,_krumm17_var,_krumm18_var,_krumm1_var,_krumm20_var,_krumm21_var,_krumm22_var,_krumm23_var,_krumm24_var,_krumm25_var,_krumm26_var,_krumm27_var,_krumm28_var,_GuideOut_dxdy_var,_GuideOut_var,_GuideOut_Phic_var,_GuideOut_L_var,_gerade_in_pile8_var) class_Progress_bar_trace: 16721, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 16811, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 17020, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 17173, Generating acc routine seq Generating NVIDIA GPU code raytrace: 17467, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 18430, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 18444, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 18430, Local memory used for .inl_particle_22723,particleN,.inl_.inl_mcneutron_0_22738,.inl_.X2054_22740,.inl_.inl_.X2257_15_22739 18444, Generating implicit firstprivate(seed,_particle) finally: 19662, Generating update self(_GuideOut_xy_var,_krumm9_var,_sourceMantid_var,_arm_var,_gerade_in_pile1_var,_gerade_in_pile2_var,_gerade_in_pile3_var,_gerade_in_pile4_var,_gerade_in_pile5_var,_gerade_in_pile6_var,_gerade_in_pile7_var,_krumm19_var,_krumm29_var,_krumm2_var,_krumm3_var,_krumm4_var,_krumm5_var,_krumm6_var,_krumm7_var,_krumm8_var,_instrument_var,_krumm10_var,_krumm11_var,_krumm12_var,_krumm13_var,_krumm14_var,_krumm15_var,_krumm16_var,_krumm17_var,_krumm18_var,_krumm1_var,_krumm20_var,_krumm21_var,_krumm22_var,_krumm23_var,_krumm24_var,_krumm25_var,_krumm26_var,_krumm27_var,_krumm28_var,_GuideOut_dxdy_var,_GuideOut_var,_GuideOut_Phic_var,_GuideOut_L_var,_gerade_in_pile8_var) mcenabletrace: 5887, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===