INFO: No output directory specified (--dir) INFO: Using directory: "Test_PowderN_concentric_20241222_111255" INFO: Regenerating c-file: Test_PowderN_concentric.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./Test_PowderN_concentric.c Test_PowderN_concentric.instr 2024-12-22 11:13:10.455 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :PowderN(0):read_table-lib :PowderN(1):interoff-lib 2024-12-22 11:13:10.455 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib 2024-12-22 11:13:10.455 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib No initialization present? ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT _instrument_var._parameters.SPLITS at component sample_cradle ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component Source -> SPLIT within buffer at component sample_cradle -> GPU kernel from component Pow0 -> GPU kernel from component Pow -> GPU kernel from component Pow2 -> GPU kernel from component Sph_sum -> GPU kernel from component Sph_front -> GPU kernel from component Sph_sample -> GPU kernel from component Sph_back ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./Test_PowderN_concentric.out DEBUG: CMD: nvc -o ./Test_PowderN_concentric.out ./Test_PowderN_concentric.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 "./Test_PowderN_concentric.c", line 4504: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Test_PowderN_concentric.c", line 9381: 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; ^ "./Test_PowderN_concentric.c", line 9381: 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; ^ "./Test_PowderN_concentric.c", line 9381: 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; ^ "./Test_PowderN_concentric.c", line 9381: 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; ^ "./Test_PowderN_concentric.c", line 9381: 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; ^ "./Test_PowderN_concentric.c", line 9381: 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; ^ "./Test_PowderN_concentric.c", line 9738: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_PowderN_concentric.c", line 10648: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_PowderN_concentric.c", line 12343: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./Test_PowderN_concentric.c", line 12344: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./Test_PowderN_concentric.c", line 12347: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./Test_PowderN_concentric.c", line 12350: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./Test_PowderN_concentric.c", line 12354: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./Test_PowderN_concentric.c", line 12356: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./Test_PowderN_concentric.c", line 12357: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./Test_PowderN_concentric.c", line 12358: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./Test_PowderN_concentric.c", line 12360: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./Test_PowderN_concentric.c", line 14463: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_PowderN_concentric.c", line 14464: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_PowderN_concentric.c", line 1512: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_PowderN_concentric.c", line 2915: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 92, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 106, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 141, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 168, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 193, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 205, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 214, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 227, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1559, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1563, Generating acc routine seq Generating NVIDIA GPU code str_len: 1572, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4125, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4556, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4567, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4576, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4588, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4600, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4610, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4620, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4628, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4638, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4660, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4667, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4713, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4748, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4759, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4776, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4787, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4803, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4832, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4843, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4847, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5024, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5055, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5072, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5171, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5255, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5321, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5398, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5670, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5680, Generating acc routine seq Generating NVIDIA GPU code _hash: 5706, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5747, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5758, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5763, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5771, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5779, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5786, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6443, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6539, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6556, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6671, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6726, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 7222, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 7599, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 8638, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8706, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8785, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 9253, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 9269, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 9287, Generating acc routine seq Generating NVIDIA GPU code off_F: 9338, Generating acc routine seq Generating NVIDIA GPU code off_sign: 9343, Generating acc routine seq Generating NVIDIA GPU code off_normal: 9353, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 9379, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 9442, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 9573, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 9618, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9735, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9853, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9865, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9900, Generating acc routine seq Generating NVIDIA GPU code Min_int: 10151, Generating acc routine seq Generating NVIDIA GPU code merge: 10158, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 10262, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 10277, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 10331, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 10448, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 10470, Generating acc routine seq Generating NVIDIA GPU code init: 11954, Generating update device(_Pow_var,_sample_cradle_var,_instrument_var,_Origin_var,_Pow2_var,_Pow0_var,_Sph_sample_var,_Sph_back_var,_Sph_front_var,_Source_var,_Sph_sum_var) class_Progress_bar_trace: 11995, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 12085, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 12295, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 12800, Generating acc routine seq Generating NVIDIA GPU code raytrace: 12886, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 13154, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 13168, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 13154, Local memory used for .inl_particle_14558,particleN,.inl_.inl_mcneutron_0_14573,.inl_.X1968_14575,.inl_.inl_.X2174_15_14574 13168, Generating implicit firstprivate(seed,_particle) finally: 13835, Generating update self(_Pow_var,_instrument_var,_sample_cradle_var,_Origin_var,_Pow2_var,_Pow0_var,_Sph_sample_var,_Sph_back_var,_Sph_front_var,_Source_var,_Sph_sum_var) mcenabletrace: 5905, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcSNnJhez5E6E6U.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-12-22/ANTLR_openacc_1e7_Linux_1e7/Test_PowderN_concentric/./Test_PowderN_concentric.c:7324: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatPqoJh7kAODG_N.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: ===