INFO: No output directory specified (--dir) INFO: Using directory: "templateVanadiumMultipleScat_Mantid_20241222_085233" INFO: Regenerating c-file: templateVanadiumMultipleScat_Mantid.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./templateVanadiumMultipleScat_Mantid.c templateVanadiumMultipleScat_Mantid.instr 2024-12-22 08:52:47.197 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Incoherent(0):read_table-lib :Incoherent(1):interoff-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2024-12-22 08:52:47.198 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to monitor_nd-lib read_table-lib interoff-lib 2024-12-22 08:52:47.198 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib monitor_nd-lib No initialization present? ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component sourceMantid -> GPU kernel from component sampleMantid -> GPU kernel from component nD_Mantid_0 -> GPU kernel from component Mantid_1 ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./templateVanadiumMultipleScat_Mantid.out DEBUG: CMD: nvc -o ./templateVanadiumMultipleScat_Mantid.out ./templateVanadiumMultipleScat_Mantid.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 "./templateVanadiumMultipleScat_Mantid.c", line 4498: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./templateVanadiumMultipleScat_Mantid.c", line 9582: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./templateVanadiumMultipleScat_Mantid.c", line 9582: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./templateVanadiumMultipleScat_Mantid.c", line 9609: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./templateVanadiumMultipleScat_Mantid.c", line 9609: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./templateVanadiumMultipleScat_Mantid.c", line 11151: 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 11151: 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 11151: 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 11151: 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 11151: 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 11151: 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 11508: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./templateVanadiumMultipleScat_Mantid.c", line 12418: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./templateVanadiumMultipleScat_Mantid.c", line 13464: 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 13464: 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 15127: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./templateVanadiumMultipleScat_Mantid.c", line 15128: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./templateVanadiumMultipleScat_Mantid.c", line 1506: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./templateVanadiumMultipleScat_Mantid.c", line 2909: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ 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: 201, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 210, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 222, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1553, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1557, Generating acc routine seq Generating NVIDIA GPU code str_len: 1566, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4119, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4550, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4561, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4570, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4582, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4594, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4604, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4614, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4622, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4632, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4654, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4661, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4707, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4742, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4753, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4770, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4781, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4797, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4826, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4837, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4841, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5018, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5049, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5066, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5165, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5249, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5315, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5392, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5664, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5674, Generating acc routine seq Generating NVIDIA GPU code _hash: 5700, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5741, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5752, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5757, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5765, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5773, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5780, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6437, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6533, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6550, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6665, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6720, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8563, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10408, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10476, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10555, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 11023, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 11039, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 11057, Generating acc routine seq Generating NVIDIA GPU code off_F: 11108, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11113, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11123, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11149, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11212, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11343, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11388, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11505, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11623, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11635, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11670, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11921, Generating acc routine seq Generating NVIDIA GPU code merge: 11928, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12032, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 12047, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12101, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12218, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12240, Generating acc routine seq Generating NVIDIA GPU code init: 13190, Generating update device(_Mantid_1_var,_sourceMantid_var,_sampleMantid_var,_nD_Mantid_0_var,_instrument_var,_Origin_var) class_Progress_bar_trace: 13231, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 13321, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 13424, Generating acc routine seq Generating NVIDIA GPU code 13621, Reference argument passing prevents parallelization: solid_angle 13624, Reference argument passing prevents parallelization: solid_angle class_Monitor_nD_trace: 13733, Generating acc routine seq Generating NVIDIA GPU code raytrace: 14030, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 14192, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 14206, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 14192, Local memory used for .inl_particle_12590,particleN,.inl_.inl_mcneutron_0_12605,.inl_.X2047_12607,.inl_.inl_.X2249_15_12606 14206, Generating implicit firstprivate(seed,_particle) finally: 14657, Generating update self(_Mantid_1_var,_sourceMantid_var,_sampleMantid_var,_nD_Mantid_0_var,_instrument_var,_Origin_var) mcenabletrace: 5899, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafat1Yf_gFgIiXtwb.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: ===