INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_PSICHE_20260315_154310" INFO: Regenerating c-file: SOLEIL_PSICHE.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./SOLEIL_PSICHE.c SOLEIL_PSICHE.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT dcm_xtal1: EXTEND %{ if (dcm_scatter && !SCATTERED) ABSORB; %} is overwritten by: EXTEND %{ if (dcm_scatter && !SCATTERED) ABSORB; %} ----------------------------------------------------------- CFLAGS= -std=c99 @XRLFLAGS@ -DUSE_OFF -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component sample -> GPU kernel from component fluo_holder ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_PSICHE.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_PSICHE.out ./SOLEIL_PSICHE.c -lm -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 -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/include -fast -Minfo=accel -acc=gpu -gpu=mem: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_PSICHE.c", line 86: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./SOLEIL_PSICHE.c", line 88: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double kx, double ky, double kz, ^ "./SOLEIL_PSICHE.c", line 91: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcphoton, double *x, double *y, double *z, double *kx, double *ky, double *kz, ^ "./SOLEIL_PSICHE.c", line 104: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_PSICHE.c", line 108: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_PSICHE.c", line 137: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_PSICHE.c", line 108: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_PSICHE.c", line 167: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./SOLEIL_PSICHE.c", line 190: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./SOLEIL_PSICHE.c", line 201: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./SOLEIL_PSICHE.c", line 212: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./SOLEIL_PSICHE.c", line 222: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./SOLEIL_PSICHE.c", line 289: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./SOLEIL_PSICHE.c", line 291: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./SOLEIL_PSICHE.c", line 642: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./SOLEIL_PSICHE.c", line 863: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./SOLEIL_PSICHE.c", line 880: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./SOLEIL_PSICHE.c", line 882: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./SOLEIL_PSICHE.c", line 890: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./SOLEIL_PSICHE.c", line 892: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./SOLEIL_PSICHE.c", line 894: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./SOLEIL_PSICHE.c", line 896: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./SOLEIL_PSICHE.c", line 898: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./SOLEIL_PSICHE.c", line 994: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./SOLEIL_PSICHE.c", line 996: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./SOLEIL_PSICHE.c", line 998: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./SOLEIL_PSICHE.c", line 1000: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./SOLEIL_PSICHE.c", line 1002: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./SOLEIL_PSICHE.c", line 1004: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./SOLEIL_PSICHE.c", line 1006: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./SOLEIL_PSICHE.c", line 1008: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./SOLEIL_PSICHE.c", line 1010: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./SOLEIL_PSICHE.c", line 4616: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_PSICHE.c", line 5071: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_PSICHE.c", line 4990: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_PSICHE.c", line 6317: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PSICHE.c", line 6771: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_PSICHE.c", line 6944: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_PSICHE.c", line 7285: warning: Routine "Monitor_nD_Trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Monitor_nD_Trace(MonitornD_Defines_type *, MonitornD_Variables_type *, _class_particle* _particle); ^ "./SOLEIL_PSICHE.c", line 7449: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_PSICHE.c", line 8549: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_PSICHE.c", line 9281: warning: Routine "Table_Index" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Index(t_Table Table, long i, long j); /* get indexed value */ ^ "./SOLEIL_PSICHE.c", line 9283: warning: Routine "Table_Value" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value(t_Table Table, double X, long j); /* search X in 1st column and return interpolated value in j-column */ ^ "./SOLEIL_PSICHE.c", line 9290: warning: Routine "Table_Value2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value2d(t_Table Table, double X, double Y); /* same as Table_Index with non-integer indices and 2d interpolation */ ^ "./SOLEIL_PSICHE.c", line 9310: warning: Routine "Table_Interp1d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d(double x, double x1, double y1, double x2, double y2); ^ "./SOLEIL_PSICHE.c", line 9312: warning: Routine "Table_Interp1d_nearest" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d_nearest(double x, double x1, double y1, double x2, double y2); ^ "./SOLEIL_PSICHE.c", line 9314: warning: Routine "Table_Interp2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp2d(double x, double y, double x1, double y1, double x2, double y2, ^ "./SOLEIL_PSICHE.c", line 10871: warning: Routine "off_intersect_all" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all(double* t0, double* t3, ^ "./SOLEIL_PSICHE.c", line 10894: warning: Routine "off_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect(double* t0, double* t3, ^ "./SOLEIL_PSICHE.c", line 10915: warning: Routine "off_x_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect(double *l0,double *l3, ^ "./SOLEIL_PSICHE.c", line 11002: warning: Routine "off_F" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_F(double x, double y,double z,double A,double B,double C,double D) { ^ "./SOLEIL_PSICHE.c", line 11007: warning: Routine "off_sign" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] char off_sign(double a) { ^ "./SOLEIL_PSICHE.c", line 11016: warning: Routine "off_normal" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_normal(Coords* n, polygon p) ^ "./SOLEIL_PSICHE.c", line 11042: warning: Routine "off_pnpoly" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_pnpoly(polygon p, Coords v) ^ "./SOLEIL_PSICHE.c", line 11045: 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_PSICHE.c", line 11045: 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_PSICHE.c", line 11045: 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_PSICHE.c", line 11045: 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_PSICHE.c", line 11045: 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_PSICHE.c", line 11045: 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_PSICHE.c", line 11105: warning: Routine "off_intersectPoly" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersectPoly(intersection *inter, Coords a, Coords b, polygon p) ^ "./SOLEIL_PSICHE.c", line 11235: warning: Routine "off_init_planes" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_init_planes(Coords a, Coords b, ^ "./SOLEIL_PSICHE.c", line 11279: warning: Routine "off_clip_3D_mod" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_clip_3D_mod(intersection* t, Coords a, Coords b, ^ "./SOLEIL_PSICHE.c", line 11400: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_PSICHE.c", line 11512: warning: Routine "off_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_compare (void const *a, void const *b) ^ "./SOLEIL_PSICHE.c", line 11524: warning: Routine "off_cleanDouble" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_cleanDouble(intersection* t, int* t_size) ^ "./SOLEIL_PSICHE.c", line 11559: warning: Routine "off_cleanInOut" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_cleanInOut(intersection* t, int* t_size) ^ "./SOLEIL_PSICHE.c", line 11815: warning: Routine "Min_int" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Min_int(int x, int y) { ^ "./SOLEIL_PSICHE.c", line 11821: warning: Routine "merge" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void merge(intersection *arr, int l, int m, int r) ^ "./SOLEIL_PSICHE.c", line 11886: warning: Routine "gpusort" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void gpusort(intersection *arr, int size) ^ "./SOLEIL_PSICHE.c", line 12276: warning: Routine "Mx_CubicCrystalChi" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void Mx_CubicCrystalChi(double complex *chi0, double complex *chih, double *k0mag, double *hscale, double *thetaB, ^ "./SOLEIL_PSICHE.c", line 12282: warning: Routine "Mx_DiffractionDispersion" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Mx_DiffractionDispersion(double complex kqvals[4], double complex xi0[4], double complex xih[4], ^ "./SOLEIL_PSICHE.c", line 12288: warning: Routine "Mx_DarwinReflectivityBC" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Mx_DarwinReflectivityBC(double *Rsig, double *Rpi, double kh[3], ^ "./SOLEIL_PSICHE.c", line 12295: warning: Routine "Mx_LaueReflectivityBC" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Mx_LaueReflectivityBC(double *Rsig, double *Rpi, double *Tsig, double *Tpi, ^ "./SOLEIL_PSICHE.c", line 12305: warning: Routine "Mx_DarwinReflectivity" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void Mx_DarwinReflectivity(double *R, double *Thetah, double *Theta0, double *DeltaTheta0, ^ "./SOLEIL_PSICHE.c", line 12311: warning: Routine "cross" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void cross(double res[3], const double v1[3], const double v2[3], int unitize); ^ "./SOLEIL_PSICHE.c", line 12745: 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_PSICHE.c", line 13535: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_PSICHE.c", line 13523: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_PSICHE.c", line 13580: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_PSICHE.c", line 13671: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_PSICHE.c", line 13785: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_PSICHE.c", line 13899: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_PSICHE.c", line 13948: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_PSICHE.c", line 14033: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_PSICHE.c", line 14082: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_PSICHE.c", line 14167: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_PSICHE.c", line 14216: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_PSICHE.c", line 14330: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_PSICHE.c", line 14444: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_PSICHE.c", line 14518: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_PSICHE.c", line 14567: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_PSICHE.c", line 14680: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_PSICHE.c", line 14729: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_PSICHE.c", line 14843: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_PSICHE.c", line 14957: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_PSICHE.c", line 15436: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PSICHE.c", line 15966: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_PSICHE.c", line 15978: warning: Routine "class_Progress_bar_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Progress_bar_trace(_class_Progress_bar *_comp ^ "./SOLEIL_PSICHE.c", line 16058: warning: Routine "class_Wiggler_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Wiggler_trace(_class_Wiggler *_comp ^ "./SOLEIL_PSICHE.c", line 16093: warning: variable "z1" was set but never used [set_but_not_used] double xx, yy, x1, y1, z1; ^ "./SOLEIL_PSICHE.c", line 16095: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1 = 1.0; ^ "./SOLEIL_PSICHE.c", line 16228: warning: Routine "class_Monitor_nD_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Monitor_nD_trace(_class_Monitor_nD *_comp ^ "./SOLEIL_PSICHE.c", line 16264: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_PSICHE.c", line 16427: warning: Routine "class_Bragg_crystal_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Bragg_crystal_trace(_class_Bragg_crystal *_comp ^ "./SOLEIL_PSICHE.c", line 16519: 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_PSICHE.c", line 16519: 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_PSICHE.c", line 16519: 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_PSICHE.c", line 16463: 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_PSICHE.c", line 16656: warning: Routine "class_Slit_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Slit_trace(_class_Slit *_comp ^ "./SOLEIL_PSICHE.c", line 16955: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_PSICHE.c", line 19248: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_PSICHE.c", line 19249: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_PSICHE.c", line 1493: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_PSICHE.c", line 2962: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 97, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 111, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 144, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 169, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 192, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 203, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 212, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 222, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1541, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1545, Generating acc routine seq Generating NVIDIA GPU code str_len: 1554, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4234, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4668, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4679, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4688, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4700, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4712, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4722, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4732, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4740, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4750, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4772, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4779, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4825, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4860, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4871, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4888, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4899, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4915, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4944, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4955, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4959, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4994, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5001, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5010, #pragma acc loop seq 4994, Generating implicit copy(lens[:]) [if not already present] 5001, Generating implicit firstprivate(ll,l) 5012, Accelerator restriction: induction variable live-out from loop: i 5013, Accelerator restriction: induction variable live-out from loop: i 5014, Accelerator restriction: induction variable live-out from loop: i 5015, Accelerator restriction: induction variable live-out from loop: i 5017, Accelerator restriction: induction variable live-out from loop: j 5018, Accelerator restriction: induction variable live-out from loop: j 5019, Accelerator restriction: induction variable live-out from loop: j 5020, Accelerator restriction: induction variable live-out from loop: j 5042, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5046, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5049, #pragma acc loop seq 5042, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5049, Generating implicit firstprivate(l) 5066, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5070, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5077, #pragma acc loop seq 5066, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5136, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5167, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5184, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5283, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5367, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5433, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5510, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5782, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5794, Generating acc routine seq Generating NVIDIA GPU code _hash: 5826, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5867, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5878, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5883, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5891, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5899, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5906, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6569, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6605, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6666, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6682, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6768, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6836, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 7084, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8134, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10091, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10159, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10238, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10706, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10722, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10740, Generating acc routine seq Generating NVIDIA GPU code off_F: 11002, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11007, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11017, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11043, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11106, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11237, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11282, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11397, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11513, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11525, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11560, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11815, Generating acc routine seq Generating NVIDIA GPU code merge: 11822, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R gpusort: 11887, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11930, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 11945, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 11999, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12116, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12138, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 12331, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 12420, Generating acc routine seq Generating NVIDIA GPU code cross: 12488, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 12503, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 12636, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 12743, Generating acc routine seq Generating NVIDIA GPU code init: 15836, Generating update device(dcm_scatter) 15937, Generating update device(_mon_src_xy_var,_source_var,_slit_var,_mon_spl_xy_var,_mon_src_e_var,_dcm1_var,_DCM_location_var,_dcm_xtal0_var,_dcm0_var,_instrument_var,_mon_dcm_e_var,_sample_var,_origin_var,_sample_stage_var,_dcm_xtal1_var,_mon_spl_e_var,_mon_dcm_xy_var,_mon_spl_fluo_var,_fluo_holder_var) class_Progress_bar_trace: 15979, Generating acc routine seq Generating NVIDIA GPU code class_Wiggler_trace: 16059, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 16229, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 16428, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 16657, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 17715, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 17719, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 17719, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) 17728, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 17733, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 17728, Local memory used for .inl_.X2496_18875,.inl_.inl_c_1984_18859,.inl_.inl_.inl_b_1958_1990_18864,.inl_.inl_.inl_.X2512_1957_1989_18863,.inl_.inl_b_1980_18858,.inl_.inl_c_1973_18848,.inl_.inl_.inl_b_1958_1979_18853,.inl_.inl_.inl_.X2512_1957_1978_18852,.inl_.inl_b_1969_18847,.inl_.inl_.X2496_1968_18842,.inl_.inl_c_1965_18841,.inl_c_18872,.inl_.inl_b_1964_18839,.inl_.inl_.X2512_1963_18838,.inl_b_18831,.inl_.X2495_18830,.inl_.X2496_18825,.inl_c_18833,.inl_.X2494_18821,.inl_a_18817,.inl_.inl_c_1984_18809,.inl_.inl_.inl_b_1958_1990_18814,.inl_.inl_.inl_.X2512_1957_1989_18813,.inl_.inl_b_1980_18808,.inl_.inl_c_1973_18798,.inl_.inl_.inl_b_1958_1979_18803,.inl_.inl_.inl_.X2512_1957_1978_18802,.inl_.inl_b_1969_18797,.inl_.inl_.X2496_1968_18792,.inl_.inl_c_1965_18791,.inl_c_18822,.inl_.inl_b_1964_18789,.inl_.inl_.X2512_1963_18788,.inl_b_18781,.inl_.X2495_18780,.inl_.X2496_18775,.inl_c_18783,.inl_.X2494_18771,.inl_a_18767,.inl_.inl_c_1984_18759,.inl_.inl_.inl_b_1958_1990_18764,.inl_.inl_.inl_.X2512_1957_1989_18763,.inl_.inl_b_1980_18758,.inl_.inl_c_1973_18748,.inl_.inl_.inl_b_1958_1979_18753,.inl_.inl_.inl_.X2512_1957_1978_18752,.inl_.inl_b_1969_18747,.inl_.inl_.X2496_1968_18742,.inl_.inl_c_1965_18741,.inl_c_18772,.inl_.inl_b_1964_18739,.inl_.inl_.X2512_1963_18738,.inl_b_18731,.inl_.X2495_18730,.inl_.X2496_18725,.inl_c_18733,.inl_.X2494_18721,.inl_a_18717,.inl_.inl_c_1984_18709,.inl_.inl_.inl_b_1958_1990_18714,.inl_.inl_.inl_.X2512_1957_1989_18713,.inl_.inl_b_1980_18708,.inl_.inl_c_1973_18698,.inl_.inl_.inl_b_1958_1979_18703,.inl_.inl_.inl_.X2512_1957_1978_18702,.inl_.inl_b_1969_18697,.inl_.inl_.X2496_1968_18692,.inl_.inl_c_1965_18691,.inl_c_18722,.inl_.inl_b_1964_18689,.inl_.inl_.X2512_1963_18688,.inl_b_18681,.inl_.X2495_18680,.inl_.X2496_18675,.inl_c_18683,.inl_.X2494_18671,.inl_a_18667,.inl_.inl_c_1984_18659,.inl_.inl_.inl_b_1958_1990_18664,.inl_.inl_.inl_.X2512_1957_1989_18663,.inl_.inl_b_1980_18658,.inl_.inl_c_1973_18648,.inl_.inl_.inl_b_1958_1979_18653,.inl_.inl_.inl_.X2512_1957_1978_18652,.inl_.inl_b_1969_18647,.inl_.inl_.X2496_1968_18642,.inl_.inl_c_1965_18641,.inl_c_18672,.inl_.inl_b_1964_18639,.inl_.inl_.X2512_1963_18638,.inl_b_18631,.inl_.X2495_18630,.inl_.X2496_18625,.inl_c_18633,.inl_.X2494_18621,.inl_a_18617,.inl_.inl_c_1984_18609,.inl_.inl_.inl_b_1958_1990_18614,.inl_.inl_.inl_.X2512_1957_1989_18613,.inl_.inl_b_1980_18608,.inl_.inl_c_1973_18598,.inl_.inl_.inl_b_1958_1979_18603,.inl_.inl_.inl_.X2512_1957_1978_18602,.inl_.inl_b_1969_18597,.inl_.inl_.X2496_1968_18592,.inl_.inl_c_1965_18591,.inl_c_18622,.inl_.inl_b_1964_18589,.inl_.inl_.X2512_1963_18588,.inl_b_18581,.inl_.X2495_18580,.inl_.X2496_18575,.inl_c_18583,.inl_.X2494_18571,.inl_a_18567,.inl_.inl_c_1984_18559,.inl_.inl_.inl_b_1958_1990_18564,.inl_.inl_.inl_.X2512_1957_1989_18563,.inl_.inl_b_1980_18558,.inl_.inl_c_1973_18548,.inl_.inl_.inl_b_1958_1979_18553,.inl_.inl_.inl_.X2512_1957_1978_18552,.inl_.inl_b_1969_18547,.inl_.inl_.X2496_1968_18542,.inl_.inl_c_1965_18541,.inl_c_18572,.inl_.inl_b_1964_18539,.inl_.inl_.X2512_1963_18538,.inl_b_18531,.inl_.X2495_18530,.inl_.X2496_18525,.inl_c_18533,.inl_.X2494_18521,.inl_a_18517,.inl_.inl_c_1984_18507,.inl_.inl_.inl_b_1958_1990_18512,.inl_.inl_.inl_.X2512_1957_1989_18511,.inl_.inl_b_1980_18506,.inl_.inl_c_1973_18496,.inl_.inl_.inl_b_1958_1979_18501,.inl_.inl_.inl_.X2512_1957_1978_18500,.inl_.inl_b_1969_18495,.inl_.inl_.X2496_1968_18490,.inl_.inl_c_1965_18489,.inl_c_18522,.inl_.inl_b_1964_18487,.inl_.inl_.X2512_1963_18486,.inl_b_18479,.inl_.X2495_18478,.inl_.X2496_18473,.inl_c_18481,.inl_.X2494_18469,.inl_a_18465,_particle_save,.inl_c_18883,.inl_.inl_c_1973_18898,.inl_.inl_.inl_b_1958_1979_18903,.inl_.inl_.inl_.X2512_1957_1978_18902,.inl_.inl_b_1969_18897,.inl_.inl_c_1965_18891,.inl_.inl_.inl_.X2512_1957_1989_18913,.inl_.inl_.X2512_1963_18888,.inl_.inl_b_1964_18889,.inl_.inl_.X2495_7834_18941,.inl_.inl_b_1980_18908,.inl_c_18470,.inl_.inl_.inl_b_1958_1990_18914,.inl_.inl_.X2496_1968_18892,.inl_a_18867,.inl_.X2494_18871,.inl_.X2495_18880,.inl_b_18881,.inl_.inl_c_1984_18909 17917, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 17920, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 17917, Local memory used for .inl_.inl_c_1984_19102,.inl_.inl_.inl_b_1958_1990_19107,.inl_.inl_.inl_.X2512_1957_1989_19106,.inl_.inl_b_1980_19101,.inl_.inl_c_1973_19091,.inl_.inl_.inl_b_1958_1979_19096,.inl_.inl_.inl_.X2512_1957_1978_19095,.inl_.inl_b_1969_19090,.inl_.inl_.X2496_1968_19085,.inl_.inl_c_1965_19084,.inl_c_19115,.inl_.inl_b_1964_19082,.inl_.inl_.X2512_1963_19081,.inl_b_19074,.inl_.X2495_19073,.inl_.X2496_19068,.inl_c_19076,.inl_.X2494_19064,.inl_a_19060,.inl_.inl_c_1984_19052,.inl_.inl_.inl_b_1958_1990_19057,.inl_.inl_.inl_.X2512_1957_1989_19056,.inl_.inl_b_1980_19051,.inl_.inl_c_1973_19041,.inl_.inl_.inl_b_1958_1979_19046,.inl_.inl_.inl_.X2512_1957_1978_19045,.inl_.inl_b_1969_19040,.inl_.inl_.X2496_1968_19035,.inl_.inl_c_1965_19034,.inl_c_19065,.inl_.inl_b_1964_19032,.inl_.inl_.X2512_1963_19031,.inl_b_19024,.inl_.X2495_19023,.inl_.X2496_19018,.inl_c_19026,.inl_.X2494_19014,.inl_a_19010,_particle_save,.inl_c_19126,.inl_.inl_c_1973_19141,.inl_.inl_.inl_b_1958_1979_19146,.inl_.inl_.inl_.X2512_1957_1978_19145,.inl_.inl_b_1969_19140,.inl_.inl_c_1965_19134,.inl_.inl_.inl_.X2512_1957_1989_19156,.inl_.inl_.X2512_1963_19131,.inl_.inl_b_1964_19132,.inl_.X2496_19118,.inl_.inl_b_1980_19151,.inl_c_19015,.inl_.inl_.inl_b_1958_1990_19157,.inl_.inl_.X2496_1968_19135,.inl_a_19110,.inl_.X2494_19114,.inl_.X2495_19123,.inl_b_19124,.inl_.inl_c_1984_19152 finally: 18393, Generating update self(_mon_src_xy_var,_slit_var,_source_var,_mon_spl_xy_var,_mon_src_e_var,_dcm1_var,_DCM_location_var,_dcm_xtal0_var,_dcm0_var,_instrument_var,_mon_dcm_e_var,_sample_var,_origin_var,_sample_stage_var,_dcm_xtal1_var,_mon_spl_e_var,_mon_dcm_xy_var,_mon_spl_fluo_var,_fluo_holder_var) mcenabletrace: 6026, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===