INFO: No output directory specified (--dir) INFO: Using directory: "Test_PowderN_concentric_20241206_151438" INFO: Regenerating c-file: Test_PowderN_concentric.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./Test_PowderN_concentric.c Test_PowderN_concentric.instr 2024-12-06 15:14:41.827 | 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-06 15:14:41.827 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib 2024-12-06 15:14:41.828 | 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 finished INFO: Recompiling: ./Test_PowderN_concentric.out DEBUG: CMD: nvc -o ./Test_PowderN_concentric.out ./Test_PowderN_concentric.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./Test_PowderN_concentric.c", line 4503: 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 9380: 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 9380: 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 9380: 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 9380: 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 9380: 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 9380: 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 9737: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_PowderN_concentric.c", line 10647: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_PowderN_concentric.c", line 12342: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./Test_PowderN_concentric.c", line 12343: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./Test_PowderN_concentric.c", line 12346: 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 12349: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./Test_PowderN_concentric.c", line 12353: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./Test_PowderN_concentric.c", line 12355: 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 12356: 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 12357: 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 12359: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./Test_PowderN_concentric.c", line 14462: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_PowderN_concentric.c", line 14463: 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: 4124, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4555, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4566, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4575, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4587, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4599, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4609, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4619, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4627, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4637, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4659, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4666, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4712, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4747, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4758, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4775, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4786, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4802, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4831, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4842, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4846, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5023, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5054, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5071, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5170, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5254, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5320, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5397, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5669, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5679, Generating acc routine seq Generating NVIDIA GPU code _hash: 5705, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5746, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5757, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5762, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5770, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5778, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5785, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6442, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6538, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6555, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6670, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6725, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 7221, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 7598, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 8637, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8705, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8784, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 9252, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 9268, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 9286, Generating acc routine seq Generating NVIDIA GPU code off_F: 9337, Generating acc routine seq Generating NVIDIA GPU code off_sign: 9342, Generating acc routine seq Generating NVIDIA GPU code off_normal: 9352, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 9378, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 9441, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 9572, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 9617, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9734, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9852, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9864, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9899, Generating acc routine seq Generating NVIDIA GPU code Min_int: 10150, Generating acc routine seq Generating NVIDIA GPU code merge: 10157, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 10261, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 10276, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 10330, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 10447, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 10469, Generating acc routine seq Generating NVIDIA GPU code init: 11953, 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: 11994, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 12084, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 12294, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 12799, Generating acc routine seq Generating NVIDIA GPU code raytrace: 12885, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 13153, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 13167, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 13153, Local memory used for .inl_particle_14558,particleN,.inl_.inl_mcneutron_0_14573,.inl_.X1968_14575,.inl_.inl_.X2174_15_14574 13167, Generating implicit firstprivate(seed,_particle) finally: 13834, 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: 5904, Generating update device(mcdotrace) /usr/bin/ld: /tmp/nvcl2tEmHGvZXAGG.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-12-06/ANTLR_openacc_1e7_Linux_1e7/Test_PowderN_concentric/./Test_PowderN_concentric.c:7323: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===