INFO: No output directory specified (--dir) INFO: Using directory: "templateVanadiumMultipleScat_Mantid_20240919_020517" INFO: Regenerating c-file: templateVanadiumMultipleScat_Mantid.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./templateVanadiumMultipleScat_Mantid.c templateVanadiumMultipleScat_Mantid.instr CFLAGS= @NEXUSFLAGS@ ----------------------------------------------------------- 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: ./templateVanadiumMultipleScat_Mantid.out --> pointing path miniconda3/lib to /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib --> pointing path miniconda3/lib to /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib --> pointing path miniconda3/include/nexus to /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include/nexus DEBUG: CMD: nvc -o ./templateVanadiumMultipleScat_Mantid.out ./templateVanadiumMultipleScat_Mantid.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -DUSE_NEXUS -lNeXus -I/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include/nexus "./templateVanadiumMultipleScat_Mantid.c", line 3030: warning: variable "fid" was declared but never referenced [declared_but_not_referenced] FILE *fid; /* for intrument source code/C/IDF */ ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./templateVanadiumMultipleScat_Mantid.c", line 4499: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./templateVanadiumMultipleScat_Mantid.c", line 8672: 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; ^ "./templateVanadiumMultipleScat_Mantid.c", line 8672: 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; ^ "./templateVanadiumMultipleScat_Mantid.c", line 8672: 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; ^ "./templateVanadiumMultipleScat_Mantid.c", line 8672: 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; ^ "./templateVanadiumMultipleScat_Mantid.c", line 8672: 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; ^ "./templateVanadiumMultipleScat_Mantid.c", line 8672: 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; ^ "./templateVanadiumMultipleScat_Mantid.c", line 9029: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12089: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12089: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12116: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12116: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12420: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12408: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12461: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12525: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12605: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12707: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./templateVanadiumMultipleScat_Mantid.c", line 13607: warning: variable "l_i" was set but never used [set_but_not_used] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./templateVanadiumMultipleScat_Mantid.c", line 13607: warning: variable "l_o" was declared but never referenced [declared_but_not_referenced] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./templateVanadiumMultipleScat_Mantid.c", line 15309: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./templateVanadiumMultipleScat_Mantid.c", line 15310: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ mcgenstate: 91, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 105, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 139, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 165, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 189, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 200, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 209, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 221, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1555, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1559, Generating acc routine seq Generating NVIDIA GPU code str_len: 1568, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4120, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4551, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4562, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4571, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4583, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4595, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4605, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4615, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4633, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4655, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4662, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4708, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4743, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4754, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4771, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4782, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4798, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4827, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4838, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4842, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5019, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5050, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5067, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5166, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5250, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5316, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5393, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5665, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5675, Generating acc routine seq Generating NVIDIA GPU code _hash: 5701, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5742, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5753, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5758, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5766, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5774, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5781, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6440, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6476, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6536, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6553, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6668, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6723, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7726, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7794, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7873, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8341, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8357, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8375, Generating acc routine seq Generating NVIDIA GPU code off_F: 8629, Generating acc routine seq Generating NVIDIA GPU code off_sign: 8634, Generating acc routine seq Generating NVIDIA GPU code off_normal: 8644, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 8670, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 8733, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 8864, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 8909, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9026, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9144, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9156, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9191, Generating acc routine seq Generating NVIDIA GPU code Min_int: 9442, Generating acc routine seq Generating NVIDIA GPU code merge: 9449, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 9553, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 9568, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 9622, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 9739, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 9761, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 11085, Generating acc routine seq Generating NVIDIA GPU code init: 13329, Generating update device(_Mantid_1_var,_sourceMantid_var,_sampleMantid_var,_nD_Mantid_0_var,_instrument_var,_Origin_var) class_Progress_bar_trace: 13374, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 13464, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 13567, Generating acc routine seq Generating NVIDIA GPU code 13764, Reference argument passing prevents parallelization: solid_angle 13767, Reference argument passing prevents parallelization: solid_angle class_Monitor_nD_trace: 13876, Generating acc routine seq Generating NVIDIA GPU code raytrace: 14172, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 14335, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 14346, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 14335, Local memory used for .inl_particle_14722,particleN,.inl_.inl_mcneutron_0_14737,.inl_.X2059_14739,.inl_.inl_.X2295_15_14738 14346, Generating implicit firstprivate(seed,_particle) finally: 14796, Generating update self(_Mantid_1_var,_sourceMantid_var,_sampleMantid_var,_nD_Mantid_0_var,_instrument_var,_Origin_var) mcenabletrace: 5900, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===