INFO: No output directory specified (--dir) INFO: Using directory: "Test_Monochromators_20241121_030331" INFO: Regenerating c-file: Test_Monochromators.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_Monochromators.c Test_Monochromators.instr Info: 'Monochromator_2foc' is a contributed component. 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 --> Added COMPONENT Mono4 USERVAR ncol_9 with type int --> Added COMPONENT Mono4 USERVAR nrow_9 with type int WARNING: The parameter mosaic_AB of Mono6 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component Mono7 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Mono7 -> GPU kernel from component Sphere1 ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Test_Monochromators.out --> launching cmd: ncrystal-config --show libdir --> launching cmd: ncrystal-config --show libpath --> launching cmd: ncrystal-config --show includedir DEBUG: CMD: nvc -o ./Test_Monochromators.out ./Test_Monochromators.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_Monochromators.c", line 4499: 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_Monochromators.c", line 4954: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ "./Test_Monochromators.c", line 4873: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./Test_Monochromators.c", line 9311: warning: variable "count" was declared but never referenced [declared_but_not_referenced] long count=0; ^ "./Test_Monochromators.c", line 9403: warning: missing return statement at end of non-void function "interpolator_interpolate" [implicit_return_from_non_void_function] } // interpolator_interpolate ^ "./Test_Monochromators.c", line 10181: 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_Monochromators.c", line 10181: 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_Monochromators.c", line 10181: 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_Monochromators.c", line 10181: 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_Monochromators.c", line 10181: 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_Monochromators.c", line 10181: 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_Monochromators.c", line 10538: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_Monochromators.c", line 11999: warning: return value type does not match the function type [bad_return_value_type] if(!ext || ext == infile) return infile; ^ "./Test_Monochromators.c", line 12008: warning: return value type does not match the function type [bad_return_value_type] && strcasecmp(ext, "res")) return infile; ^ "./Test_Monochromators.c", line 12011: warning: return value type does not match the function type [bad_return_value_type] if (!OUTFILE) return infile; ^ "./Test_Monochromators.c", line 12501: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal=-1; ^ "./Test_Monochromators.c", line 12502: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Test_Monochromators.c", line 12502: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Test_Monochromators.c", line 12757: warning: missing return statement at end of non-void function "ncrystalsample_surfintersect" [implicit_return_from_non_void_function] } ^ "./Test_Monochromators.c", line 14954: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_Monochromators.c", line 14954: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_Monochromators.c", line 14981: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_Monochromators.c", line 14981: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_Monochromators.c", line 15682: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Monochromators.c", line 15670: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_Monochromators.c", line 15723: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_Monochromators.c", line 15787: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_Monochromators.c", line 15853: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_Monochromators.c", line 15902: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_Monochromators.c", line 15951: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_Monochromators.c", line 16013: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_Monochromators.c", line 16074: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_Monochromators.c", line 16135: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_Monochromators.c", line 16212: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_Monochromators.c", line 16280: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Test_Monochromators.c", line 16376: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Test_Monochromators.c", line 16437: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Test_Monochromators.c", line 16497: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Test_Monochromators.c", line 16563: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Test_Monochromators.c", line 16628: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Test_Monochromators.c", line 16693: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Test_Monochromators.c", line 16758: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Test_Monochromators.c", line 16824: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Test_Monochromators.c", line 17520: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Monochromators.c", line 17520: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Monochromators.c", line 17520: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Monochromators.c", line 17521: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./Test_Monochromators.c", line 18273: warning: incompatible redefinition of macro "strcmp" (declared at line 9359) [bad_macro_redef] #define strcmp(a,b) str_comp(a,b) ^ "./Test_Monochromators.c", line 18755: warning: variable "y1" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./Test_Monochromators.c", line 18755: warning: variable "z1" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./Test_Monochromators.c", line 18755: warning: variable "t1" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./Test_Monochromators.c", line 18755: warning: variable "dt" was declared but never referenced [declared_but_not_referenced] double y1, z1, t1, dt, vel; ^ "./Test_Monochromators.c", line 18758: warning: variable "sx_in" was declared but never referenced [declared_but_not_referenced] double sx_in, sy_in, sz_in; ^ "./Test_Monochromators.c", line 18758: warning: variable "sy_in" was declared but never referenced [declared_but_not_referenced] double sx_in, sy_in, sz_in; ^ "./Test_Monochromators.c", line 18758: warning: variable "sz_in" was declared but never referenced [declared_but_not_referenced] double sx_in, sy_in, sz_in; ^ "./Test_Monochromators.c", line 18759: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Test_Monochromators.c", line 19280: warning: variable "k" was set but never used [set_but_not_used] double my_r0, k; ^ "./Test_Monochromators.c", line 19451: 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_Monochromators.c", line 19451: 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_Monochromators.c", line 19451: 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_Monochromators.c", line 19452: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./Test_Monochromators.c", line 19453: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./Test_Monochromators.c", line 19454: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Monochromators.c", line 19454: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Monochromators.c", line 19454: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Monochromators.c", line 19455: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19455: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19455: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19456: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19456: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19456: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_Monochromators.c", line 19457: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Monochromators.c", line 19457: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Monochromators.c", line 19457: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Monochromators.c", line 19458: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./Test_Monochromators.c", line 19459: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Monochromators.c", line 19459: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Monochromators.c", line 19459: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Monochromators.c", line 19460: 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_Monochromators.c", line 19460: 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_Monochromators.c", line 19460: 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_Monochromators.c", line 19461: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./Test_Monochromators.c", line 19462: 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_Monochromators.c", line 19462: 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_Monochromators.c", line 19463: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_Monochromators.c", line 19463: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_Monochromators.c", line 19464: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./Test_Monochromators.c", line 19471: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./Test_Monochromators.c", line 19478: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Test_Monochromators.c", line 19478: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Test_Monochromators.c", line 19487: 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_Monochromators.c", line 23250: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_Monochromators.c", line 23251: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_Monochromators.c", line 1508: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Monochromators.c", line 2911: 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: 200, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 209, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 221, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1555, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1559, Generating acc routine seq Generating NVIDIA GPU code str_len: 1568, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4120, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4551, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4562, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4571, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4583, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4595, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4605, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4615, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4633, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4655, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4662, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4708, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4743, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4754, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4771, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4782, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4798, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4827, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4838, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4842, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4877, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4884, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4893, #pragma acc loop seq 4877, Generating implicit copy(lens[:]) [if not already present] 4884, Generating implicit firstprivate(ll,l) 4895, Accelerator restriction: induction variable live-out from loop: i 4896, Accelerator restriction: induction variable live-out from loop: i 4897, Accelerator restriction: induction variable live-out from loop: i 4898, Accelerator restriction: induction variable live-out from loop: i 4900, Accelerator restriction: induction variable live-out from loop: j 4901, Accelerator restriction: induction variable live-out from loop: j 4902, Accelerator restriction: induction variable live-out from loop: j 4903, Accelerator restriction: induction variable live-out from loop: j 4925, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4929, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4932, #pragma acc loop seq 4925, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 4932, Generating implicit firstprivate(l) 4949, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 4953, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4960, #pragma acc loop seq 4949, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5019, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5050, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5067, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5166, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5250, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5316, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5393, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5665, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5675, Generating acc routine seq Generating NVIDIA GPU code _hash: 5701, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5742, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5753, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5758, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5766, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5774, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5781, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6440, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6476, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6536, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6553, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6668, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6723, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7954, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8022, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8101, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8569, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8585, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8603, Generating acc routine seq Generating NVIDIA GPU code kdtree_squaredDistance: 8856, Generating acc routine seq Generating NVIDIA GPU code kdtree_borderCheck: 8873, Generating acc routine seq Generating NVIDIA GPU code kdtree_partition: 8907, Generating acc routine seq Generating NVIDIA GPU code kdtree_nearestNeighbour_helper: 8983, Generating acc routine seq Generating NVIDIA GPU code kdtree_nearestNeighbour: 9021, Generating acc routine seq Generating NVIDIA GPU code interpolator_offset: 9091, Generating acc routine seq Generating NVIDIA GPU code interpolator_load: 9295, Generating copyin(array[:prod]) [if not already present] interpolator_interpolate: 9356, Generating acc routine seq Generating NVIDIA GPU code interpolator_interpolate3_3: 9415, Generating acc routine seq Generating NVIDIA GPU code magnetic_field_dispatcher: 9469, Generating acc routine seq Generating NVIDIA GPU code mcmagnet_get_field: 9508, Generating acc routine seq Generating NVIDIA GPU code mcmagnet_push: 9549, Generating acc routine seq Generating NVIDIA GPU code mcmagnet_pop: 9582, Generating acc routine seq Generating NVIDIA GPU code const_magnetic_field: 9607, Generating acc routine seq Generating NVIDIA GPU code rot_magnetic_field: 9617, Generating acc routine seq Generating NVIDIA GPU code majorana_magnetic_field: 9631, Generating acc routine seq Generating NVIDIA GPU code gradient_magnetic_field: 9647, Generating acc routine seq Generating NVIDIA GPU code GetMonoPolFNFM: 9674, Generating acc routine seq Generating NVIDIA GPU code GetMonoPolRefProb: 9703, Generating acc routine seq Generating NVIDIA GPU code SetMonoPolRefOut: 9727, Generating acc routine seq Generating NVIDIA GPU code SetMonoPolTransOut: 9754, Generating acc routine seq Generating NVIDIA GPU code SimpleNumMagnetPrecession: 9774, Generating acc routine seq Generating NVIDIA GPU code 9807, Reference argument passing prevents parallelization: BzTemp Reference argument passing prevents parallelization: ByTemp Reference argument passing prevents parallelization: BxTemp GetConstantField: 9869, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 9882, Generating acc routine seq Generating NVIDIA GPU code off_F: 10138, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10143, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10153, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 10179, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 10242, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 10373, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 10418, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 10535, Generating acc routine seq Generating NVIDIA GPU code off_compare: 10653, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 10665, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 10700, Generating acc routine seq Generating NVIDIA GPU code Min_int: 10951, Generating acc routine seq Generating NVIDIA GPU code merge: 10958, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11062, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11077, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 11131, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 11248, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 11270, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 11975, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 12491, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 12603, Generating acc routine seq Generating NVIDIA GPU code randrotate: 12618, Generating acc routine seq Generating NVIDIA GPU code randderotate: 12626, Generating acc routine seq Generating NVIDIA GPU code PGrotate: 12634, Generating acc routine seq Generating NVIDIA GPU code PGderotate: 12642, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 12653, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 13950, Generating acc routine seq Generating NVIDIA GPU code init: 18242, Generating update device(_Mono_Out_var,_Origin_var,_lam1_var,_Mono7_var,_Mono_Arm_var,_L3_var,_Mono1_var,_Mono2_var,_Mono3_var,_Mono4_var,_Mono5_var,_Mono6_var,_Source_var,_instrument_var,_lamStart_var,_psd1_var,_psd3_var,_psd2_var,_Sphere1_var,_T3_var) class_Progress_bar_trace: 18285, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 18375, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 18478, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_flat_trace: 18551, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_pol_trace: 18736, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 18854, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_2foc_trace: 19199, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 19394, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 20089, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 20167, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 20238, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 21050, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21054, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21050, Local memory used for .inl_.inl_mcneutron_0_28026,.inl_particle_28011,.inl_.X2471_28028,.inl_.inl_.X2682_15_28027 21054, Generating implicit private(_particle,seed) 21064, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 18661, #pragma acc loop seq Generating implicit reduction(+:.inl_total_28290) 18677, #pragma acc loop seq 19335, #pragma acc loop seq 21069, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21064, Local memory used for .inl_.inl_c_1932_28512,.inl_.inl_.inl_b_1906_1938_28517,.inl_.inl_.inl_.X2647_1905_1937_28516,.inl_.inl_b_1928_28511,.inl_.inl_c_1921_28501,.inl_.inl_.inl_b_1906_1927_28506,.inl_.inl_.inl_.X2647_1905_1926_28505,.inl_.inl_b_1917_28500,.inl_.inl_.X2631_1916_28495,.inl_.inl_c_1913_28494,.inl_c_28577,.inl_.inl_b_1912_28492,.inl_.inl_.X2647_1911_28491,.inl_b_28484,.inl_.X2630_28483,.inl_.X2631_28478,.inl_c_28486,.inl_.X2629_28474,.inl_a_28470,.inl_.inl_c_1932_28462,.inl_.inl_.inl_b_1906_1938_28467,.inl_.inl_.inl_.X2647_1905_1937_28466,.inl_.inl_b_1928_28461,.inl_.inl_c_1921_28451,.inl_.inl_.inl_b_1906_1927_28456,.inl_.inl_.inl_.X2647_1905_1926_28455,.inl_.inl_b_1917_28450,.inl_.inl_.X2631_1916_28445,.inl_.inl_c_1913_28444,.inl_c_28475,.inl_.inl_b_1912_28442,.inl_.inl_.X2647_1911_28441,.inl_b_28434,.inl_.X2630_28433,.inl_.X2631_28428,.inl_c_28436,.inl_.X2629_28424,.inl_a_28420,.inl_.inl_c_1932_28412,.inl_.inl_.inl_b_1906_1938_28417,.inl_.inl_.inl_.X2647_1905_1937_28416,.inl_.inl_b_1928_28411,.inl_.inl_c_1921_28401,.inl_.inl_.inl_b_1906_1927_28406,.inl_.inl_.inl_.X2647_1905_1926_28405,.inl_.inl_b_1917_28400,.inl_.inl_.X2631_1916_28395,.inl_.inl_c_1913_28394,.inl_c_28425,.inl_.inl_b_1912_28392,.inl_.inl_.X2647_1911_28391,.inl_b_28384,.inl_.X2630_28383,.inl_.X2631_28378,.inl_c_28386,.inl_.X2629_28374,.inl_a_28370,.inl_.inl_c_1932_28362,.inl_.inl_.inl_b_1906_1938_28367,.inl_.inl_.inl_.X2647_1905_1937_28366,.inl_.inl_b_1928_28361,.inl_.inl_c_1921_28351,.inl_.inl_.inl_b_1906_1927_28356,.inl_.inl_.inl_.X2647_1905_1926_28355,.inl_.inl_b_1917_28350,.inl_.inl_.X2631_1916_28345,.inl_.inl_c_1913_28344,.inl_c_28375,.inl_.inl_b_1912_28342,.inl_.inl_.X2647_1911_28341,.inl_b_28334,.inl_.X2630_28333,.inl_.X2631_28328,.inl_c_28336,.inl_.X2629_28324,.inl_a_28320,.inl_.inl_c_1932_28227,.inl_.inl_.inl_b_1906_1938_28232,.inl_.inl_.inl_.X2647_1905_1937_28231,.inl_.inl_b_1928_28226,.inl_.inl_c_1921_28216,.inl_.inl_.inl_b_1906_1927_28221,.inl_.inl_.inl_.X2647_1905_1926_28220,.inl_.inl_b_1917_28215,.inl_.inl_.X2631_1916_28210,.inl_.inl_c_1913_28209,.inl_c_28325,.inl_.inl_b_1912_28207,.inl_.inl_.X2647_1911_28206,.inl_b_28199,.inl_.X2630_28198,.inl_.X2631_28193,.inl_c_28201,.inl_.X2629_28189,.inl_a_28185,.inl_.inl_c_1932_28177,.inl_.inl_.inl_b_1906_1938_28182,.inl_.inl_.inl_.X2647_1905_1937_28181,.inl_.inl_b_1928_28176,.inl_.inl_c_1921_28166,.inl_.inl_.inl_b_1906_1927_28171,.inl_.inl_.inl_.X2647_1905_1926_28170,.inl_.inl_b_1917_28165,.inl_.inl_.X2631_1916_28160,.inl_.inl_c_1913_28159,.inl_c_28190,.inl_.inl_b_1912_28157,.inl_.inl_.X2647_1911_28156,.inl_b_28149,.inl_.X2630_28148,.inl_.X2631_28143,.inl_c_28151,.inl_.X2629_28139,.inl_a_28135,.inl_.inl_c_1932_28127,.inl_.inl_.inl_b_1906_1938_28132,.inl_.inl_.inl_.X2647_1905_1937_28131,.inl_.inl_b_1928_28126,.inl_.inl_c_1921_28116,.inl_.inl_.inl_b_1906_1927_28121,.inl_.inl_.inl_.X2647_1905_1926_28120,.inl_.inl_b_1917_28115,.inl_.inl_.X2631_1916_28110,.inl_.inl_c_1913_28109,.inl_c_28140,.inl_.inl_b_1912_28107,.inl_.inl_.X2647_1911_28106,.inl_b_28099,.inl_.X2630_28098,.inl_.X2631_28093,.inl_c_28101,.inl_.X2629_28089,.inl_a_28085,.inl_.inl_c_1932_28075,.inl_.inl_.inl_b_1906_1938_28080,.inl_.inl_.inl_.X2647_1905_1937_28079,.inl_.inl_b_1928_28074,.inl_.inl_c_1921_28064,.inl_.inl_.inl_b_1906_1927_28069,.inl_.inl_.inl_.X2647_1905_1926_28068,.inl_.inl_b_1917_28063,.inl_.inl_.X2631_1916_28058,.inl_.inl_c_1913_28057,.inl_c_28090,.inl_.inl_b_1912_28055,.inl_.inl_.X2647_1911_28054,.inl_b_28047,.inl_.X2630_28046,.inl_.X2631_28041,.inl_c_28049,.inl_.X2629_28037,.inl_a_28033,_particle_save,.inl_c_28588,.inl_.inl_c_1921_28603,.inl_.inl_.inl_b_1906_1927_28608,.inl_.inl_.inl_.X2647_1905_1926_28607,.inl_.inl_b_1917_28602,.inl_.inl_c_1913_28596,.inl_.inl_.inl_.X2647_1905_1937_28618,.inl_.inl_.X2647_1911_28593,.inl_.inl_b_1912_28594,.inl_.X2631_28580,.inl_.inl_b_1928_28613,.inl_c_28038,.inl_.inl_.inl_b_1906_1938_28619,.inl_.inl_.X2631_1916_28597,.inl_a_28572,.inl_.X2629_28576,.inl_.X2630_28585,.inl_b_28586,.inl_.inl_c_1932_28614 21069, Generating implicit private(_particle) 18647, Scalar last value needed after loop for .inl_mos_sample_28291*5.00000000000000000E+0 at line 18661 Loop carried scalar dependence for .inl_mos_sample_28291 at line 18657,18647 Scalar last value needed after loop for .inl_mos_sample_28291*5.00000000000000000E+0 at line 18672 Scalar last value needed after loop for .inl_mos_sample_28291 at line 18692,18677 18661, Loop is parallelizable 18677, Complex loop carried dependence of _particle+-> prevents parallelization Loop carried dependence of _particle+-> prevents parallelization Loop carried backward dependence of _particle+-> prevents vectorization Scalar last value needed after loop for (.inl_.inl_.inl_randnum_2446_7722_28306*2.00000000000000000E+0)-1.00000000000000000E+0 at line 18677 Scalar last value needed after loop for ((.inl_.inl_.inl_randnum_2450_7728_28312*2.00000000000000000E+0)-1.00000000000000000E+0*(.inl_.inl_.inl_randnum_2450_7728_28312*2.00000000000000000E+0)-1.00000000000000000E+0)+((.inl_.inl_.inl_randnum_2446_7722_28306*2.00000000000000000E+0)-1.00000000000000000E+0*(.inl_.inl_.inl_randnum_2446_7722_28306*2.00000000000000000E+0)-1.00000000000000000E+0) at line 18677 19335, Complex loop carried dependence of _particle+-> prevents parallelization Loop carried dependence of _particle+-> prevents parallelization Loop carried backward dependence of _particle+-> prevents vectorization Scalar last value needed after loop for (.inl_.inl_.inl_randnum_2446_8285_28557*2.00000000000000000E+0)-1.00000000000000000E+0 at line 19335 Scalar last value needed after loop for ((.inl_.inl_.inl_randnum_2450_8291_28563*2.00000000000000000E+0)-1.00000000000000000E+0*(.inl_.inl_.inl_randnum_2450_8291_28563*2.00000000000000000E+0)-1.00000000000000000E+0)+((.inl_.inl_.inl_randnum_2446_8285_28557*2.00000000000000000E+0)-1.00000000000000000E+0*(.inl_.inl_.inl_randnum_2446_8285_28557*2.00000000000000000E+0)-1.00000000000000000E+0) at line 19335 21248, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21251, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21248, Local memory used for .inl_.inl_c_1932_28964,.inl_.inl_.inl_b_1906_1938_28969,.inl_.inl_.inl_.X2647_1905_1937_28968,.inl_.inl_b_1928_28963,.inl_.inl_c_1921_28953,.inl_.inl_.inl_b_1906_1927_28958,.inl_.inl_.inl_.X2647_1905_1926_28957,.inl_.inl_b_1917_28952,.inl_.inl_.X2631_1916_28947,.inl_.inl_c_1913_28946,.inl_c_28977,.inl_.inl_b_1912_28944,.inl_.inl_.X2647_1911_28943,.inl_b_28936,.inl_.X2630_28935,.inl_.X2631_28930,.inl_c_28938,.inl_.X2629_28926,.inl_a_28922,.inl_.inl_c_1932_28914,.inl_.inl_.inl_b_1906_1938_28919,.inl_.inl_.inl_.X2647_1905_1937_28918,.inl_.inl_b_1928_28913,.inl_.inl_c_1921_28903,.inl_.inl_.inl_b_1906_1927_28908,.inl_.inl_.inl_.X2647_1905_1926_28907,.inl_.inl_b_1917_28902,.inl_.inl_.X2631_1916_28897,.inl_.inl_c_1913_28896,.inl_c_28927,.inl_.inl_b_1912_28894,.inl_.inl_.X2647_1911_28893,.inl_b_28886,.inl_.X2630_28885,.inl_.X2631_28880,.inl_c_28888,.inl_.X2629_28876,.inl_a_28872,.inl_.inl_c_1932_28864,.inl_.inl_.inl_b_1906_1938_28869,.inl_.inl_.inl_.X2647_1905_1937_28868,.inl_.inl_b_1928_28863,.inl_.inl_c_1921_28853,.inl_.inl_.inl_b_1906_1927_28858,.inl_.inl_.inl_.X2647_1905_1926_28857,.inl_.inl_b_1917_28852,.inl_.inl_.X2631_1916_28847,.inl_.inl_c_1913_28846,.inl_c_28877,.inl_.inl_b_1912_28844,.inl_.inl_.X2647_1911_28843,.inl_b_28836,.inl_.X2630_28835,.inl_.X2631_28830,.inl_c_28838,.inl_.X2629_28826,.inl_a_28822,.inl_.inl_c_1932_28814,.inl_.inl_.inl_b_1906_1938_28819,.inl_.inl_.inl_.X2647_1905_1937_28818,.inl_.inl_b_1928_28813,.inl_.inl_c_1921_28803,.inl_.inl_.inl_b_1906_1927_28808,.inl_.inl_.inl_.X2647_1905_1926_28807,.inl_.inl_b_1917_28802,.inl_.inl_.X2631_1916_28797,.inl_.inl_c_1913_28796,.inl_c_28827,.inl_.inl_b_1912_28794,.inl_.inl_.X2647_1911_28793,.inl_b_28786,.inl_.X2630_28785,.inl_.X2631_28780,.inl_c_28788,.inl_.X2629_28776,.inl_a_28772,.inl_.inl_c_1932_28764,.inl_.inl_.inl_b_1906_1938_28769,.inl_.inl_.inl_.X2647_1905_1937_28768,.inl_.inl_b_1928_28763,.inl_.inl_c_1921_28753,.inl_.inl_.inl_b_1906_1927_28758,.inl_.inl_.inl_.X2647_1905_1926_28757,.inl_.inl_b_1917_28752,.inl_.inl_.X2631_1916_28747,.inl_.inl_c_1913_28746,.inl_c_28777,.inl_.inl_b_1912_28744,.inl_.inl_.X2647_1911_28743,.inl_b_28736,.inl_.X2630_28735,.inl_.X2631_28730,.inl_c_28738,.inl_.X2629_28726,.inl_a_28722,.inl_.inl_c_1932_28714,.inl_.inl_.inl_b_1906_1938_28719,.inl_.inl_.inl_.X2647_1905_1937_28718,.inl_.inl_b_1928_28713,.inl_.inl_c_1921_28703,.inl_.inl_.inl_b_1906_1927_28708,.inl_.inl_.inl_.X2647_1905_1926_28707,.inl_.inl_b_1917_28702,.inl_.inl_.X2631_1916_28697,.inl_.inl_c_1913_28696,.inl_c_28727,.inl_.inl_b_1912_28694,.inl_.inl_.X2647_1911_28693,.inl_b_28686,.inl_.X2630_28685,.inl_.X2631_28680,.inl_c_28688,.inl_.X2629_28676,.inl_a_28672,_particle_save,.inl_c_28988,.inl_.inl_c_1921_29003,.inl_.inl_.inl_b_1906_1927_29008,.inl_.inl_.inl_.X2647_1905_1926_29007,.inl_.inl_b_1917_29002,.inl_.inl_c_1913_28996,.inl_.inl_.inl_.X2647_1905_1937_29018,.inl_.inl_.X2647_1911_28993,.inl_.inl_b_1912_28994,.inl_.X2631_28980,.inl_.inl_b_1928_29013,.inl_c_28677,.inl_.inl_.inl_b_1906_1938_29019,.inl_.inl_.X2631_1916_28997,.inl_a_28972,.inl_.X2629_28976,.inl_.X2630_28985,.inl_b_28986,.inl_.inl_c_1932_29014 21251, Generating implicit private(_particle) finally: 22161, Generating update self(_Mono_Out_var,_Origin_var,_lam1_var,_Mono7_var,_Mono_Arm_var,_L3_var,_Mono1_var,_Mono2_var,_Mono3_var,_Mono4_var,_Mono5_var,_Mono6_var,_Source_var,_instrument_var,_lamStart_var,_psd1_var,_psd3_var,_psd2_var,_Sphere1_var,_T3_var) mcenabletrace: 5900, Generating update device(mcdotrace) /usr/bin/ld: /tmp/nvcP6BX7IonjAbw.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-11-21/McStas_8GPU_openacc_1e7_Linux_1e7/Test_Monochromators/./Test_Monochromators.c:12013: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===