INFO: No output directory specified (--dir) INFO: Using directory: "Test_PowderN_concentric_20240919_032357" INFO: Regenerating c-file: Test_PowderN_concentric.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_PowderN_concentric.c Test_PowderN_concentric.instr CFLAGS= WARNING: The parameter format of Pow0 is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component sample_cradle ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component sample_cradle ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas 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 4505: 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 8738: 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 8738: 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 8738: 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 8738: 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 8738: 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 8738: 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 9095: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_PowderN_concentric.c", line 10666: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_PowderN_concentric.c", line 10654: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_PowderN_concentric.c", line 10707: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_PowderN_concentric.c", line 10797: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_PowderN_concentric.c", line 10846: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_PowderN_concentric.c", line 10939: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_PowderN_concentric.c", line 11032: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_PowderN_concentric.c", line 11125: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_PowderN_concentric.c", line 11185: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_PowderN_concentric.c", line 11245: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_PowderN_concentric.c", line 11305: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_PowderN_concentric.c", line 12546: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./Test_PowderN_concentric.c", line 12547: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./Test_PowderN_concentric.c", line 12550: 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 12553: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./Test_PowderN_concentric.c", line 12557: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./Test_PowderN_concentric.c", line 12559: 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 12560: 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 12561: 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 12563: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./Test_PowderN_concentric.c", line 14703: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_PowderN_concentric.c", line 14704: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_PowderN_concentric.c", line 1514: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_PowderN_concentric.c", line 2917: 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: 204, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 213, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 226, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1561, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1565, Generating acc routine seq Generating NVIDIA GPU code str_len: 1574, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4126, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4557, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4568, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4577, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4589, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4601, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4611, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4621, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4629, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4639, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4661, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4668, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4714, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4749, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4760, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4777, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4788, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4804, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4833, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4844, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4848, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5025, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5056, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5073, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5172, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5256, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5322, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5399, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5671, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5681, Generating acc routine seq Generating NVIDIA GPU code _hash: 5707, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5748, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5759, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5764, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5772, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5780, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5787, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6446, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6482, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6542, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6559, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6674, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6729, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7748, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7816, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7895, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8363, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8379, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8397, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8444, Generating acc routine seq Generating NVIDIA GPU code off_F: 8695, Generating acc routine seq Generating NVIDIA GPU code off_sign: 8700, Generating acc routine seq Generating NVIDIA GPU code off_normal: 8710, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 8736, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 8799, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 8930, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 8975, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9092, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9210, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9222, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9257, Generating acc routine seq Generating NVIDIA GPU code Min_int: 9508, Generating acc routine seq Generating NVIDIA GPU code merge: 9515, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 9619, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 9634, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 9688, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 9805, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 9827, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 10318, Generating acc routine seq Generating NVIDIA GPU code init: 12154, 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: 12199, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 12289, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 12498, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 12994, Generating acc routine seq Generating NVIDIA GPU code raytrace: 13079, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 13349, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 13360, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 13349, Local memory used for .inl_particle_14559,particleN,.inl_.inl_mcneutron_0_14574,.inl_.X1968_14576,.inl_.inl_.X2174_15_14575 13360, Generating implicit firstprivate(seed,_particle) finally: 14024, 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: 5906, Generating update device(mcdotrace) /usr/bin/ld: /tmp/nvc8FTu0Nva50g8.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-09-19/McStas_8GPU_openacc_5e6_Linux_5e6/Test_PowderN_concentric/./Test_PowderN_concentric.c:10043: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===