INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_MARS_20241121_063216" INFO: Regenerating c-file: SOLEIL_MARS.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./SOLEIL_MARS.c SOLEIL_MARS.instr Warning: Component Sample=PowderN() at line SOLEIL_MARS.instr:314 is 1st in GROUP samples and has a SPLIT. Best practice is to move the SPLIT to an earlier component. CFLAGS= -std=c99 @XRLFLAGS@ -DUSE_OFF -DFUNNEL WARNING: The parameter format of Sample 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 mat_format of Sample 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 ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Sample Component SampleF is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component SampleF -> GPU kernel from component detector_diffraction ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_MARS.out --> pointing path miniconda3/lib to /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib --> pointing path miniconda3/lib to /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib --> pointing path miniconda3/include to /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include DEBUG: CMD: nvc -o ./SOLEIL_MARS.out ./SOLEIL_MARS.c -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -std=c99 -Wl,-rpath,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -lxrl -I/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -DUSE_OFF -DFUNNEL "./SOLEIL_MARS.c", line 4476: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./SOLEIL_MARS.c", line 4931: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ "./SOLEIL_MARS.c", line 4850: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_MARS.c", line 6599: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_MARS.c", line 6772: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_MARS.c", line 7282: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_MARS.c", line 8284: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_MARS.c", line 8799: warning: variable "y0" is used before its value is set [used_before_set] if (y0 < ymin) y0=ymin; ^ "./SOLEIL_MARS.c", line 8801: warning: variable "y1" is used before its value is set [used_before_set] if (y1 < ymin) y1=ymin; ^ "./SOLEIL_MARS.c", line 10742: 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; ^ "./SOLEIL_MARS.c", line 10742: 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; ^ "./SOLEIL_MARS.c", line 10742: 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; ^ "./SOLEIL_MARS.c", line 10742: 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; ^ "./SOLEIL_MARS.c", line 10742: 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; ^ "./SOLEIL_MARS.c", line 10742: 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; ^ "./SOLEIL_MARS.c", line 11099: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "/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. ^ "./SOLEIL_MARS.c", line 12104: warning: conversion from pointer to smaller integer [pointer_conversion_loses_bits] int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_MARS.c", line 12082: warning: variable "status" was declared but never referenced [declared_but_not_referenced] int status; ^ "./SOLEIL_MARS.c", line 12193: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 12392: warning: variable "R" was declared but never referenced [declared_but_not_referenced] double b_mu,R; ^ "./SOLEIL_MARS.c", line 12452: warning: variable "k2" is used before its value is set [used_before_set] qpd=csqrt(q*q - 8*k2* *(pp->delta) + I*8*k2* *(pp->beta)); ^ "./SOLEIL_MARS.c", line 12447: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 12470: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 13096: warning: variable "theta0" was declared but never referenced [declared_but_not_referenced] double lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./SOLEIL_MARS.c", line 13316: warning: return value type does not match the function type [bad_return_value_type] if(!ext || ext == infile) return infile; ^ "./SOLEIL_MARS.c", line 13325: warning: return value type does not match the function type [bad_return_value_type] && strcasecmp(ext, "res")) return infile; ^ "./SOLEIL_MARS.c", line 13328: warning: return value type does not match the function type [bad_return_value_type] if (!OUTFILE) return infile; ^ "./SOLEIL_MARS.c", line 14597: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_MARS.c", line 14585: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_MARS.c", line 14638: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_MARS.c", line 14704: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_MARS.c", line 14800: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_MARS.c", line 14863: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_MARS.c", line 14925: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_MARS.c", line 14987: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_MARS.c", line 15036: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_MARS.c", line 15085: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_MARS.c", line 15146: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_MARS.c", line 15195: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_MARS.c", line 15244: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_MARS.c", line 15293: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_MARS.c", line 15364: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_MARS.c", line 15413: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_MARS.c", line 15484: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_MARS.c", line 15533: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_MARS.c", line 15594: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_MARS.c", line 15657: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_MARS.c", line 15718: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_MARS.c", line 15767: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_MARS.c", line 15816: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_MARS.c", line 15877: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_MARS.c", line 15926: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_MARS.c", line 15975: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SOLEIL_MARS.c", line 16037: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SOLEIL_MARS.c", line 16099: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SOLEIL_MARS.c", line 16160: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SOLEIL_MARS.c", line 16223: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./SOLEIL_MARS.c", line 16321: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./SOLEIL_MARS.c", line 16401: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./SOLEIL_MARS.c", line 16497: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./SOLEIL_MARS.c", line 16913: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_MARS.c", line 16913: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_MARS.c", line 16914: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_MARS.c", line 16914: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_MARS.c", line 16914: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_MARS.c", line 17022: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17074: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17136: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./SOLEIL_MARS.c", line 17401: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17511: warning: variable "E0" was declared but never referenced [declared_but_not_referenced] double E0, dE; ^ "./SOLEIL_MARS.c", line 17511: warning: variable "dE" was declared but never referenced [declared_but_not_referenced] double E0, dE; ^ "./SOLEIL_MARS.c", line 18007: warning: variable "z1" was set but never used [set_but_not_used] double xx,yy,x1,y1,z1; ^ "./SOLEIL_MARS.c", line 18009: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1=1.0; ^ "./SOLEIL_MARS.c", line 18169: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_MARS.c", line 18373: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./SOLEIL_MARS.c", line 18374: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e,p2; ^ "./SOLEIL_MARS.c", line 18702: warning: variable "Ex0" was declared but never referenced [declared_but_not_referenced] double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./SOLEIL_MARS.c", line 18702: warning: variable "Ey0" was declared but never referenced [declared_but_not_referenced] double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./SOLEIL_MARS.c", line 18702: warning: variable "Ez0" was declared but never referenced [declared_but_not_referenced] double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./SOLEIL_MARS.c", line 18658: warning: variable "Thetaout" was declared but never referenced [declared_but_not_referenced] double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./SOLEIL_MARS.c", line 18939: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./SOLEIL_MARS.c", line 18940: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./SOLEIL_MARS.c", line 18943: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./SOLEIL_MARS.c", line 18944: warning: variable "nb_refl" was declared but never referenced [declared_but_not_referenced] int nb_refl = line_info.nb_refl; ^ "./SOLEIL_MARS.c", line 18945: warning: variable "nb_refl_count" was declared but never referenced [declared_but_not_referenced] int nb_refl_count = line_info.nb_refl_count; ^ "./SOLEIL_MARS.c", line 18946: warning: variable "kcache" was declared but never referenced [declared_but_not_referenced] double kcache = line_info.k; ^ "./SOLEIL_MARS.c", line 18948: warning: variable "k_min" was declared but never referenced [declared_but_not_referenced] double k_min = line_info.k_min; ^ "./SOLEIL_MARS.c", line 18949: warning: variable "k_max" was declared but never referenced [declared_but_not_referenced] double k_max = line_info.k_max; ^ "./SOLEIL_MARS.c", line 18950: warning: variable "lfree" was declared but never referenced [declared_but_not_referenced] double lfree = line_info.lfree; ^ "./SOLEIL_MARS.c", line 18952: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./SOLEIL_MARS.c", line 18953: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./SOLEIL_MARS.c", line 18954: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./SOLEIL_MARS.c", line 18956: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./SOLEIL_MARS.c", line 19599: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_MARS.c", line 19460: warning: variable "Ef" was declared but never referenced [declared_but_not_referenced] double kf_x,kf_y,kf_z,kf,Ef; ^ "./SOLEIL_MARS.c", line 22628: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_MARS.c", line 22629: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_MARS.c", line 1485: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_MARS.c", line 2888: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 84, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 98, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 131, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 156, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 179, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 190, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 199, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 209, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1532, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1536, Generating acc routine seq Generating NVIDIA GPU code str_len: 1545, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4097, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4528, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4539, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4548, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4560, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4572, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4582, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4592, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4600, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4610, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4632, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4639, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4685, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4720, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4731, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4748, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4759, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4775, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4804, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4815, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4819, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4854, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4861, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4870, #pragma acc loop seq 4854, Generating implicit copy(lens[:]) [if not already present] 4861, Generating implicit firstprivate(ll,l) 4872, Accelerator restriction: induction variable live-out from loop: i 4873, Accelerator restriction: induction variable live-out from loop: i 4874, Accelerator restriction: induction variable live-out from loop: i 4875, Accelerator restriction: induction variable live-out from loop: i 4877, Accelerator restriction: induction variable live-out from loop: j 4878, Accelerator restriction: induction variable live-out from loop: j 4879, Accelerator restriction: induction variable live-out from loop: j 4880, Accelerator restriction: induction variable live-out from loop: j 4902, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4906, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4909, #pragma acc loop seq 4902, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 4909, Generating implicit firstprivate(l) 4926, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 4930, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4937, #pragma acc loop seq 4926, Local memory used for targetbuffer,sourcebuffer mccoordschange: 4996, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5027, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5044, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5143, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5227, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5293, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5370, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5642, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5652, Generating acc routine seq Generating NVIDIA GPU code _hash: 5678, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5719, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5730, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5735, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5743, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5751, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5758, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6400, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6433, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6494, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6510, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6596, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6664, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 6917, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 7877, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 9796, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 9864, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 9943, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10411, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10427, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10445, Generating acc routine seq Generating NVIDIA GPU code off_F: 10699, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10704, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10714, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 10740, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 10803, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 10934, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 10979, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11096, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11214, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11226, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11261, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11512, Generating acc routine seq Generating NVIDIA GPU code merge: 11519, Generating acc routine seq Generating NVIDIA GPU code gpusort: 11580, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11623, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11638, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 11692, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 11809, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 11831, Generating acc routine seq Generating NVIDIA GPU code reflec_coating: 12376, Generating acc routine seq Generating NVIDIA GPU code reflec_bare: 12408, Generating acc routine seq Generating NVIDIA GPU code reflec_kinematic: 12412, Generating acc routine seq Generating NVIDIA GPU code reflec_q_prmtc: 12422, Generating acc routine seq Generating NVIDIA GPU code reflec_eth_prmtc: 12434, Generating acc routine seq Generating NVIDIA GPU code reflec_parratt: 12444, Generating acc routine seq Generating NVIDIA GPU code parrat_reflec_bulk: 12467, Generating acc routine seq Generating NVIDIA GPU code refleccq: 12491, Generating acc routine seq Generating NVIDIA GPU code reflecq: 12542, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 12682, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 12771, Generating acc routine seq Generating NVIDIA GPU code cross: 12839, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 12854, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 12987, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 13094, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 13596, Generating acc routine seq Generating NVIDIA GPU code calc_abs_xsect: 13636, Generating acc routine seq Generating NVIDIA GPU code calc_inc_xsect: 13646, Generating acc routine seq Generating NVIDIA GPU code init: 17848, Generating update device(_mirror_M2_var,_Sample_var,_displaySlit2_var,_displaySourceLength_var,_origin_var,_slit1_var,_M1_arm_rotation_2_var,_instrument_var,_M1_arm_rotation_2_undo_var,_M1_arm_rotation_1_var,_Source_var,_dcm1_var,_beam_arm_before_crystal_var,_dcm_xtal0_var,_dcm0_var,_displaySource_var,_displayMonoLength_var,_detector_fluo_var,_M2_arm_rotation_2_var,_M1_arm_translation_var,_mirror_M1_var,_M2_arm_rotation_2_undo_var,_M2_arm_rotation_1_var,_slit2_var,_slitSecon2_var,_slitSecon1_var,_emon_dcm0_var,_displayMono_var,_SampleF_var,_M2_arm_translation_var,_dcm_xtal1_var,_detector_diffraction_var,_emon_dcm1_var) class_Progress_bar_trace: 17889, Generating acc routine seq Generating NVIDIA GPU code class_Bending_magnet_trace: 17980, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18134, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 18353, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 18444, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 18514, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 18623, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 18818, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 18893, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 20525, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20529, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20525, Local memory used for .inl_.inl_mcphoton_0_25178,.inl_particle_25162,.inl_.X2407_25180,.inl_.inl_.X2619_13_25179 20529, Generating implicit private(_particle,seed) 20539, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20544, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20539, Local memory used for .inl_.inl_c_1927_26146,.inl_.inl_.inl_b_1901_1933_26151,.inl_.inl_.inl_.X2584_1900_1932_26150,.inl_.inl_b_1923_26145,.inl_.inl_c_1916_26135,.inl_.inl_.inl_b_1901_1922_26140,.inl_.inl_.inl_.X2584_1900_1921_26139,.inl_.inl_b_1912_26134,.inl_.inl_.X2568_1911_26129,.inl_.inl_c_1908_26128,.inl_c_26202,.inl_.inl_b_1907_26126,.inl_.inl_.X2584_1906_26125,.inl_b_26118,.inl_.X2567_26117,.inl_.X2568_26112,.inl_c_26120,.inl_.X2566_26108,.inl_a_26104,.inl_.inl_.X2567_9361_26085,.inl_.inl_c_1927_26053,.inl_.inl_.inl_b_1901_1933_26058,.inl_.inl_.inl_.X2584_1900_1932_26057,.inl_.inl_b_1923_26052,.inl_.inl_c_1916_26042,.inl_.inl_.inl_b_1901_1922_26047,.inl_.inl_.inl_.X2584_1900_1921_26046,.inl_.inl_b_1912_26041,.inl_.inl_.X2568_1911_26036,.inl_.inl_c_1908_26035,.inl_c_26109,.inl_.inl_b_1907_26033,.inl_.inl_.X2584_1906_26032,.inl_b_26025,.inl_.X2567_26024,.inl_.X2568_26019,.inl_c_26027,.inl_.X2566_26015,.inl_a_26011,.inl_.inl_.X2567_9361_25577,.inl_.inl_c_1927_26003,.inl_.inl_.inl_b_1901_1933_26008,.inl_.inl_.inl_.X2584_1900_1932_26007,.inl_.inl_b_1923_26002,.inl_.inl_c_1916_25992,.inl_.inl_.inl_b_1901_1922_25997,.inl_.inl_.inl_.X2584_1900_1921_25996,.inl_.inl_b_1912_25991,.inl_.inl_.X2568_1911_25986,.inl_.inl_c_1908_25985,.inl_c_26016,.inl_.inl_b_1907_25983,.inl_.inl_.X2584_1906_25982,.inl_b_25975,.inl_.X2567_25974,.inl_.X2568_25969,.inl_c_25977,.inl_.X2566_25965,.inl_a_25961,.inl_.inl_c_1927_25932,.inl_.inl_.inl_b_1901_1933_25937,.inl_.inl_.inl_.X2584_1900_1932_25936,.inl_.inl_b_1923_25931,.inl_.inl_c_1916_25921,.inl_.inl_.inl_b_1901_1922_25926,.inl_.inl_.inl_.X2584_1900_1921_25925,.inl_.inl_b_1912_25920,.inl_.inl_.X2568_1911_25915,.inl_.inl_c_1908_25914,.inl_c_25966,.inl_.inl_b_1907_25912,.inl_.inl_.X2584_1906_25911,.inl_b_25904,.inl_.X2567_25903,.inl_.X2568_25898,.inl_c_25906,.inl_.X2566_25894,.inl_a_25890,.inl_.inl_c_1927_25859,.inl_.inl_.inl_b_1901_1933_25864,.inl_.inl_.inl_.X2584_1900_1932_25863,.inl_.inl_b_1923_25858,.inl_.inl_c_1916_25848,.inl_.inl_.inl_b_1901_1922_25853,.inl_.inl_.inl_.X2584_1900_1921_25852,.inl_.inl_b_1912_25847,.inl_.inl_.X2568_1911_25842,.inl_.inl_c_1908_25841,.inl_c_25895,.inl_.inl_b_1907_25839,.inl_.inl_.X2584_1906_25838,.inl_b_25831,.inl_.X2567_25830,.inl_.X2568_25825,.inl_c_25833,.inl_.X2566_25821,.inl_a_25817,.inl_.inl_c_1927_25788,.inl_.inl_.inl_b_1901_1933_25793,.inl_.inl_.inl_.X2584_1900_1932_25792,.inl_.inl_b_1923_25787,.inl_.inl_c_1916_25777,.inl_.inl_.inl_b_1901_1922_25782,.inl_.inl_.inl_.X2584_1900_1921_25781,.inl_.inl_b_1912_25776,.inl_.inl_.X2568_1911_25771,.inl_.inl_c_1908_25770,.inl_c_25822,.inl_.inl_b_1907_25768,.inl_.inl_.X2584_1906_25767,.inl_b_25760,.inl_.X2567_25759,.inl_.X2568_25754,.inl_c_25762,.inl_.X2566_25750,.inl_a_25746,.inl_.inl_c_1927_25738,.inl_.inl_.inl_b_1901_1933_25743,.inl_.inl_.inl_.X2584_1900_1932_25742,.inl_.inl_b_1923_25737,.inl_.inl_c_1916_25727,.inl_.inl_.inl_b_1901_1922_25732,.inl_.inl_.inl_.X2584_1900_1921_25731,.inl_.inl_b_1912_25726,.inl_.inl_.X2568_1911_25721,.inl_.inl_c_1908_25720,.inl_c_25751,.inl_.inl_b_1907_25718,.inl_.inl_.X2584_1906_25717,.inl_b_25710,.inl_.X2567_25709,.inl_.X2568_25704,.inl_c_25712,.inl_.X2566_25700,.inl_a_25696,.inl_.inl_c_1927_25688,.inl_.inl_.inl_b_1901_1933_25693,.inl_.inl_.inl_.X2584_1900_1932_25692,.inl_.inl_b_1923_25687,.inl_.inl_c_1916_25677,.inl_.inl_.inl_b_1901_1922_25682,.inl_.inl_.inl_.X2584_1900_1921_25681,.inl_.inl_b_1912_25676,.inl_.inl_.X2568_1911_25671,.inl_.inl_c_1908_25670,.inl_c_25701,.inl_.inl_b_1907_25668,.inl_.inl_.X2584_1906_25667,.inl_b_25660,.inl_.X2567_25659,.inl_.X2568_25654,.inl_c_25662,.inl_.X2566_25650,.inl_a_25646,.inl_.inl_c_1927_25638,.inl_.inl_.inl_b_1901_1933_25643,.inl_.inl_.inl_.X2584_1900_1932_25642,.inl_.inl_b_1923_25637,.inl_.inl_c_1916_25627,.inl_.inl_.inl_b_1901_1922_25632,.inl_.inl_.inl_.X2584_1900_1921_25631,.inl_.inl_b_1912_25626,.inl_.inl_.X2568_1911_25621,.inl_.inl_c_1908_25620,.inl_c_25651,.inl_.inl_b_1907_25618,.inl_.inl_.X2584_1906_25617,.inl_b_25610,.inl_.X2567_25609,.inl_.X2568_25604,.inl_c_25612,.inl_.X2566_25600,.inl_a_25596,.inl_.inl_c_1927_25545,.inl_.inl_.inl_b_1901_1933_25550,.inl_.inl_.inl_.X2584_1900_1932_25549,.inl_.inl_b_1923_25544,.inl_.inl_c_1916_25534,.inl_.inl_.inl_b_1901_1922_25539,.inl_.inl_.inl_.X2584_1900_1921_25538,.inl_.inl_b_1912_25533,.inl_.inl_.X2568_1911_25528,.inl_.inl_c_1908_25527,.inl_c_25601,.inl_.inl_b_1907_25525,.inl_.inl_.X2584_1906_25524,.inl_b_25517,.inl_.X2567_25516,.inl_.X2568_25511,.inl_c_25519,.inl_.X2566_25507,.inl_a_25503,.inl_.inl_.X2567_9361_25484,.inl_.inl_c_1927_25452,.inl_.inl_.inl_b_1901_1933_25457,.inl_.inl_.inl_.X2584_1900_1932_25456,.inl_.inl_b_1923_25451,.inl_.inl_c_1916_25441,.inl_.inl_.inl_b_1901_1922_25446,.inl_.inl_.inl_.X2584_1900_1921_25445,.inl_.inl_b_1912_25440,.inl_.inl_.X2568_1911_25435,.inl_.inl_c_1908_25434,.inl_c_25508,.inl_.inl_b_1907_25432,.inl_.inl_.X2584_1906_25431,.inl_b_25424,.inl_.X2567_25423,.inl_.X2568_25418,.inl_c_25426,.inl_.X2566_25414,.inl_a_25410,.inl_.X2568_26205,.inl_.inl_c_1927_25379,.inl_.inl_.inl_b_1901_1933_25384,.inl_.inl_.inl_.X2584_1900_1932_25383,.inl_.inl_b_1923_25378,.inl_.inl_c_1916_25368,.inl_.inl_.inl_b_1901_1922_25373,.inl_.inl_.inl_.X2584_1900_1921_25372,.inl_.inl_b_1912_25367,.inl_.inl_.X2568_1911_25362,.inl_.inl_c_1908_25361,.inl_c_25415,.inl_.inl_b_1907_25359,.inl_.inl_.X2584_1906_25358,.inl_b_25351,.inl_.X2567_25350,.inl_.X2568_25345,.inl_c_25353,.inl_.X2566_25341,.inl_a_25337,.inl_.inl_c_1927_25329,.inl_.inl_.inl_b_1901_1933_25334,.inl_.inl_.inl_.X2584_1900_1932_25333,.inl_.inl_b_1923_25328,.inl_.inl_c_1916_25318,.inl_.inl_.inl_b_1901_1922_25323,.inl_.inl_.inl_.X2584_1900_1921_25322,.inl_.inl_b_1912_25317,.inl_.inl_.X2568_1911_25312,.inl_.inl_c_1908_25311,.inl_c_25342,.inl_.inl_b_1907_25309,.inl_.inl_.X2584_1906_25308,.inl_b_25301,.inl_.X2567_25300,.inl_.X2568_25295,.inl_c_25303,.inl_.X2566_25291,.inl_a_25287,.inl_.inl_c_1927_25279,.inl_.inl_.inl_b_1901_1933_25284,.inl_.inl_.inl_.X2584_1900_1932_25283,.inl_.inl_b_1923_25278,.inl_.inl_c_1916_25268,.inl_.inl_.inl_b_1901_1922_25273,.inl_.inl_.inl_.X2584_1900_1921_25272,.inl_.inl_b_1912_25267,.inl_.inl_.X2568_1911_25262,.inl_.inl_c_1908_25261,.inl_c_25292,.inl_.inl_b_1907_25259,.inl_.inl_.X2584_1906_25258,.inl_b_25251,.inl_.X2567_25250,.inl_.X2568_25245,.inl_c_25253,.inl_.X2566_25241,.inl_a_25237,.inl_.inl_c_1927_25227,.inl_.inl_.inl_b_1901_1933_25232,.inl_.inl_.inl_.X2584_1900_1932_25231,.inl_.inl_b_1923_25226,.inl_.inl_c_1916_25216,.inl_.inl_.inl_b_1901_1922_25221,.inl_.inl_.inl_.X2584_1900_1921_25220,.inl_.inl_b_1912_25215,.inl_.inl_.X2568_1911_25210,.inl_.inl_c_1908_25209,.inl_c_25242,.inl_.inl_b_1907_25207,.inl_.inl_.X2584_1906_25206,.inl_b_25199,.inl_.X2567_25198,.inl_.X2568_25193,.inl_c_25201,.inl_.X2566_25189,.inl_a_25185,_particle_save,.inl_c_26213,.inl_.inl_c_1916_26228,.inl_.inl_.inl_b_1901_1922_26233,.inl_.inl_.inl_.X2584_1900_1921_26232,.inl_.inl_b_1912_26227,.inl_.inl_c_1908_26221,.inl_.inl_.inl_.X2584_1900_1932_26243,.inl_.inl_.X2584_1906_26218,.inl_.inl_b_1907_26219,.inl_.inl_.X2567_9361_26178,.inl_.inl_b_1923_26238,.inl_c_25190,.inl_.inl_.inl_b_1901_1933_26244,.inl_.inl_.X2568_1911_26222,.inl_a_26197,.inl_.X2566_26201,.inl_.X2567_26210,.inl_b_26211,.inl_.inl_c_1927_26239 20544, Generating implicit private(_particle) 20861, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20865, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20861, Local memory used for _particle_save 20865, Generating implicit private(_particle) 20913, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20916, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20913, Local memory used for _particle_save 20916, Generating implicit private(_particle) finally: 21640, Generating update self(_mirror_M2_var,_Sample_var,_displaySlit2_var,_displaySourceLength_var,_origin_var,_slit1_var,_M1_arm_rotation_2_var,_instrument_var,_M1_arm_rotation_2_undo_var,_M1_arm_rotation_1_var,_Source_var,_dcm1_var,_beam_arm_before_crystal_var,_dcm_xtal0_var,_dcm0_var,_displaySource_var,_displayMonoLength_var,_detector_fluo_var,_M2_arm_rotation_2_var,_M1_arm_translation_var,_mirror_M1_var,_M2_arm_rotation_2_undo_var,_M2_arm_rotation_1_var,_slit2_var,_slitSecon1_var,_slitSecon2_var,_emon_dcm0_var,_displayMono_var,_SampleF_var,_M2_arm_translation_var,_dcm_xtal1_var,_detector_diffraction_var,_emon_dcm1_var) mcenabletrace: 5877, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcisznbyQ43pLkj.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2024-11-21/McXtrace_8GPU_openacc_1e7_Linux_1e7/SOLEIL_MARS/./SOLEIL_MARS.c:13330: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatsYznb2_v-o8HR.o: missing .note.GNU-stack section implies executable stack /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker DEBUG: CMD: nvc finished INFO: ===