INFO: No output directory specified (--dir) INFO: Using directory: "Test_Powders_20241123_032645" INFO: Regenerating c-file: Test_Powders.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_Powders.c Test_Powders.instr Info: 'NCrystal_sample' is a contributed component. CFLAGS= -Wl,-rpath,CMD(ncrystal-config --show libdir) -Wl,CMD(ncrystal-config --show libpath) -ICMD(ncrystal-config --show includedir) -DFUNNEL WARNING: The parameter format of Pow_PowderN 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. WARNING: The parameter mosaic_AB of Pow_Single_crystal 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 Component Pow_NCrystal is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Pow_NCrystal -> GPU kernel from component Beamstop ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Test_Powders.out --> launching cmd: ncrystal-config --show libdir --> launching cmd: ncrystal-config --show libpath --> launching cmd: ncrystal-config --show includedir DEBUG: CMD: nvc -o ./Test_Powders.out ./Test_Powders.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/libNCrystal.so.3.8.2 -I/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DFUNNEL "./Test_Powders.c", line 4486: 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_Powders.c", line 4941: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ "./Test_Powders.c", line 4860: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Test_Powders.c", line 8727: 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_Powders.c", line 8727: 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_Powders.c", line 8727: 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_Powders.c", line 8727: 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_Powders.c", line 8727: 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_Powders.c", line 8727: 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_Powders.c", line 9084: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_Powders.c", line 11458: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal=-1; ^ "./Test_Powders.c", line 11459: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Test_Powders.c", line 11459: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Test_Powders.c", line 11714: warning: missing return statement at end of non-void function "ncrystalsample_surfintersect" [implicit_return_from_non_void_function] } ^ "./Test_Powders.c", line 12189: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Powders.c", line 12177: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_Powders.c", line 12230: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_Powders.c", line 12320: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_Powders.c", line 12369: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_Powders.c", line 12462: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_Powders.c", line 12559: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_Powders.c", line 12620: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_Powders.c", line 12677: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_Powders.c", line 12737: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_Powders.c", line 12786: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_Powders.c", line 13597: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Powders.c", line 13597: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Powders.c", line 13597: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Powders.c", line 13598: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./Test_Powders.c", line 14443: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./Test_Powders.c", line 14444: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./Test_Powders.c", line 14447: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./Test_Powders.c", line 14450: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./Test_Powders.c", line 14454: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./Test_Powders.c", line 14456: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./Test_Powders.c", line 14457: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./Test_Powders.c", line 14458: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./Test_Powders.c", line 14460: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./Test_Powders.c", line 14920: warning: variable "rho_x" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Test_Powders.c", line 14920: warning: variable "rho_y" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Test_Powders.c", line 14920: warning: variable "rho_z" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Test_Powders.c", line 14921: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./Test_Powders.c", line 14922: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./Test_Powders.c", line 14923: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Powders.c", line 14923: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Powders.c", line 14923: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Powders.c", line 14924: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_Powders.c", line 14924: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_Powders.c", line 14924: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_Powders.c", line 14925: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_Powders.c", line 14925: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_Powders.c", line 14925: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_Powders.c", line 14926: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Powders.c", line 14926: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Powders.c", line 14926: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Powders.c", line 14927: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./Test_Powders.c", line 14928: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Powders.c", line 14928: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Powders.c", line 14928: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Powders.c", line 14929: warning: variable "l11" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Test_Powders.c", line 14929: warning: variable "l12" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Test_Powders.c", line 14929: warning: variable "l22" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Test_Powders.c", line 14930: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./Test_Powders.c", line 14931: warning: variable "Bt_D_O_x" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Test_Powders.c", line 14931: warning: variable "Bt_D_O_y" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Test_Powders.c", line 14932: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_Powders.c", line 14932: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_Powders.c", line 14933: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./Test_Powders.c", line 14940: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./Test_Powders.c", line 14947: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Test_Powders.c", line 14947: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Test_Powders.c", line 14956: warning: variable "type" was set but never used [set_but_not_used] char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./Test_Powders.c", line 17885: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_Powders.c", line 17886: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_Powders.c", line 1495: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Powders.c", line 2898: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 88, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 102, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 134, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 158, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 180, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 191, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 200, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 210, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1542, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1546, Generating acc routine seq Generating NVIDIA GPU code str_len: 1555, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4107, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4538, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4549, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4558, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4570, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4582, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4592, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4602, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4610, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4620, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4642, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4649, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4695, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4730, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4741, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4758, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4769, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4785, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4814, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4825, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4829, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4864, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4871, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4880, #pragma acc loop seq 4864, Generating implicit copy(lens[:]) [if not already present] 4871, Generating implicit firstprivate(ll,l) 4882, Accelerator restriction: induction variable live-out from loop: i 4883, Accelerator restriction: induction variable live-out from loop: i 4884, Accelerator restriction: induction variable live-out from loop: i 4885, Accelerator restriction: induction variable live-out from loop: i 4887, Accelerator restriction: induction variable live-out from loop: j 4888, Accelerator restriction: induction variable live-out from loop: j 4889, Accelerator restriction: induction variable live-out from loop: j 4890, Accelerator restriction: induction variable live-out from loop: j 4912, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4916, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4919, #pragma acc loop seq 4912, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 4919, Generating implicit firstprivate(l) 4936, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 4940, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4947, #pragma acc loop seq 4936, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5006, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5037, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5054, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5153, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5237, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5303, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5380, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5652, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5662, Generating acc routine seq Generating NVIDIA GPU code _hash: 5688, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5729, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5740, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5745, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5753, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5761, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5768, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6427, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6463, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6523, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6540, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6655, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6710, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7737, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7805, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7884, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8352, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8368, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8386, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8433, Generating acc routine seq Generating NVIDIA GPU code off_F: 8684, Generating acc routine seq Generating NVIDIA GPU code off_sign: 8689, Generating acc routine seq Generating NVIDIA GPU code off_normal: 8699, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 8725, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 8788, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 8919, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 8964, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9081, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9199, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9211, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9246, Generating acc routine seq Generating NVIDIA GPU code Min_int: 9497, Generating acc routine seq Generating NVIDIA GPU code merge: 9504, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 9608, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 9623, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 9677, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 9794, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 9816, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 10307, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 10932, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 11448, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 11560, Generating acc routine seq Generating NVIDIA GPU code randrotate: 11575, Generating acc routine seq Generating NVIDIA GPU code randderotate: 11583, Generating acc routine seq Generating NVIDIA GPU code PGrotate: 11591, Generating acc routine seq Generating NVIDIA GPU code PGderotate: 11599, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 11610, Generating acc routine seq Generating NVIDIA GPU code init: 14053, Generating update device(_Beamstop_var,_Pow_Single_crystal_var,_sample_cradle_var,_psd_mon_var,_Pow_NCrystal_var,_Pow_PowderN_var,_Origin_var,_Source_var,_instrument_var,_peak_dir_var,_Sph_mon_var) class_Progress_bar_trace: 14096, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 14186, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 14395, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 14862, Generating acc routine seq Generating NVIDIA GPU code class_Beamstop_trace: 15562, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 15608, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 15686, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 16102, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 16106, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 16102, Local memory used for .inl_.inl_mcneutron_0_18480,.inl_particle_18465,.inl_.X2208_18482,.inl_.inl_.X2416_15_18481 16106, Generating implicit firstprivate(seed,_particle) 16116, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 16121, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 16116, Local memory used for .inl_.inl_c_1920_18529,.inl_.inl_.inl_b_1894_1926_18534,.inl_.inl_.inl_.X2381_1893_1925_18533,.inl_.inl_b_1916_18528,.inl_.inl_c_1909_18518,.inl_.inl_.inl_b_1894_1915_18523,.inl_.inl_.inl_.X2381_1893_1914_18522,.inl_.inl_b_1905_18517,.inl_.inl_.X2365_1904_18512,.inl_.inl_c_1901_18511,.inl_c_18544,.inl_.inl_b_1900_18509,.inl_.inl_.X2381_1899_18508,.inl_b_18501,.inl_.X2364_18500,.inl_.X2365_18495,.inl_c_18503,.inl_.X2363_18491,.inl_a_18487,_particle_save,.inl_c_18555,.inl_.inl_c_1909_18570,.inl_.inl_.inl_b_1894_1915_18575,.inl_.inl_.inl_.X2381_1893_1914_18574,.inl_.inl_b_1905_18569,.inl_.inl_c_1901_18563,.inl_.inl_.inl_.X2381_1893_1925_18585,.inl_.inl_.X2381_1899_18560,.inl_.inl_b_1900_18561,.inl_.X2365_18547,.inl_.inl_b_1916_18580,.inl_c_18492,.inl_.inl_.inl_b_1894_1926_18586,.inl_.inl_.X2365_1904_18564,.inl_a_18539,.inl_.X2363_18543,.inl_.X2364_18552,.inl_b_18553,.inl_.inl_c_1920_18581 16121, Generating implicit private(_particle) 16158, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 16162, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 16158, Local memory used for .inl_.inl_c_1920_18631,.inl_.inl_.inl_b_1894_1926_18636,.inl_.inl_.inl_.X2381_1893_1925_18635,.inl_.inl_b_1916_18630,.inl_.inl_c_1909_18620,.inl_.inl_.inl_b_1894_1915_18625,.inl_.inl_.inl_.X2381_1893_1914_18624,.inl_.inl_b_1905_18619,.inl_.inl_.X2365_1904_18614,.inl_.inl_c_1901_18613,.inl_c_18644,.inl_.inl_b_1900_18611,.inl_.inl_.X2381_1899_18610,.inl_b_18603,.inl_.X2364_18602,.inl_.X2365_18597,.inl_c_18605,.inl_.X2363_18593,.inl_a_18589,_particle_save,.inl_c_18655,.inl_.inl_c_1909_18670,.inl_.inl_.inl_b_1894_1915_18675,.inl_.inl_.inl_.X2381_1893_1914_18674,.inl_.inl_b_1905_18669,.inl_.inl_c_1901_18663,.inl_.inl_.inl_.X2381_1893_1925_18685,.inl_.inl_.X2381_1899_18660,.inl_.inl_b_1900_18661,.inl_.X2365_18647,.inl_.inl_b_1916_18680,.inl_c_18594,.inl_.inl_.inl_b_1894_1926_18686,.inl_.inl_.X2365_1904_18664,.inl_a_18639,.inl_.X2363_18643,.inl_.X2364_18652,.inl_b_18653,.inl_.inl_c_1920_18681 16162, Generating implicit private(_particle) 16227, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 16230, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 16227, Local memory used for .inl_.inl_c_1920_18831,.inl_.inl_.inl_b_1894_1926_18836,.inl_.inl_.inl_.X2381_1893_1925_18835,.inl_.inl_b_1916_18830,.inl_.inl_c_1909_18820,.inl_.inl_.inl_b_1894_1915_18825,.inl_.inl_.inl_.X2381_1893_1914_18824,.inl_.inl_b_1905_18819,.inl_.inl_.X2365_1904_18814,.inl_.inl_c_1901_18813,.inl_c_18868,.inl_.inl_b_1900_18811,.inl_.inl_.X2381_1899_18810,.inl_b_18803,.inl_.X2364_18802,.inl_.X2365_18797,.inl_c_18805,.inl_.X2363_18793,.inl_a_18789,.inl_.inl_c_1920_18781,.inl_.inl_.inl_b_1894_1926_18786,.inl_.inl_.inl_.X2381_1893_1925_18785,.inl_.inl_b_1916_18780,.inl_.inl_c_1909_18770,.inl_.inl_.inl_b_1894_1915_18775,.inl_.inl_.inl_.X2381_1893_1914_18774,.inl_.inl_b_1905_18769,.inl_.inl_.X2365_1904_18764,.inl_.inl_c_1901_18763,.inl_c_18794,.inl_.inl_b_1900_18761,.inl_.inl_.X2381_1899_18760,.inl_b_18753,.inl_.X2364_18752,.inl_.X2365_18747,.inl_c_18755,.inl_.X2363_18743,.inl_a_18739,_particle_save,.inl_c_18879,.inl_.inl_c_1909_18894,.inl_.inl_.inl_b_1894_1915_18899,.inl_.inl_.inl_.X2381_1893_1914_18898,.inl_.inl_b_1905_18893,.inl_.inl_c_1901_18887,.inl_.inl_.inl_.X2381_1893_1925_18909,.inl_.inl_.X2381_1899_18884,.inl_.inl_b_1900_18885,.inl_.X2365_18871,.inl_.inl_b_1916_18904,.inl_c_18744,.inl_.inl_.inl_b_1894_1926_18910,.inl_.inl_.X2365_1904_18888,.inl_a_18863,.inl_.X2363_18867,.inl_.X2364_18876,.inl_b_18877,.inl_.inl_c_1920_18905 16230, Generating implicit private(_particle) finally: 16962, Generating update self(_Beamstop_var,_Pow_Single_crystal_var,_sample_cradle_var,_psd_mon_var,_Pow_NCrystal_var,_Pow_PowderN_var,_Origin_var,_Source_var,_instrument_var,_peak_dir_var,_Sph_mon_var) mcenabletrace: 5887, Generating update device(mcdotrace) /usr/bin/ld: /tmp/nvcU7e1ekPAMiKWg.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-11-23/McStas_8GPU_openacc_1e7_Linux_1e7/Test_Powders/./Test_Powders.c:10032: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===