INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_PSICHE_20251212_161022" 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 85: 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 87: 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 90: 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 105: 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 109: 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 138: 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 109: 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 168: 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 191: 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 202: 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 213: 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 223: 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 290: 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 292: 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 643: 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 864: 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 881: 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 883: 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 891: 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 893: 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 895: 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 897: 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 899: 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 995: 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 997: 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 999: 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 1001: 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 1003: 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 1005: 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 1007: 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 1009: 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 1011: 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 4617: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_PSICHE.c", line 5072: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_PSICHE.c", line 4991: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_PSICHE.c", line 6318: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PSICHE.c", line 6772: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_PSICHE.c", line 6945: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_PSICHE.c", line 7286: 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 7450: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_PSICHE.c", line 8550: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_PSICHE.c", line 9282: 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 9284: 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 9291: 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 9311: 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 9313: 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 9315: 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 10872: 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 10895: 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 10916: 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 11003: 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 11008: 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 11017: 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 11043: 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 11046: 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 11046: 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 11046: 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 11046: 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 11046: 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 11046: 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 11106: 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 11236: 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 11280: 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 11401: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_PSICHE.c", line 11513: 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 11525: 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 11560: 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 11816: 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 11822: 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 11887: 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 12277: 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 12283: 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 12289: 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 12296: 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 12306: 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 12312: 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 12746: 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 13536: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_PSICHE.c", line 13524: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_PSICHE.c", line 13581: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_PSICHE.c", line 13672: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_PSICHE.c", line 13786: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_PSICHE.c", line 13900: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_PSICHE.c", line 13949: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_PSICHE.c", line 14034: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_PSICHE.c", line 14083: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_PSICHE.c", line 14168: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_PSICHE.c", line 14217: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_PSICHE.c", line 14331: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_PSICHE.c", line 14445: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_PSICHE.c", line 14519: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_PSICHE.c", line 14568: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_PSICHE.c", line 14681: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_PSICHE.c", line 14730: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_PSICHE.c", line 14844: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_PSICHE.c", line 14958: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_PSICHE.c", line 15430: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PSICHE.c", line 15948: warning: incompatible redefinition of macro "exit" (declared at line 622) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_PSICHE.c", line 15960: 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 16051: 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 16086: warning: variable "z1" was set but never used [set_but_not_used] double xx,yy,x1,y1,z1; ^ "./SOLEIL_PSICHE.c", line 16088: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1=1.0; ^ "./SOLEIL_PSICHE.c", line 16219: 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 16255: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_PSICHE.c", line 16438: 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 16518: 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 16518: 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 16518: 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 16474: 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 16641: 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 16938: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_PSICHE.c", line 19246: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_PSICHE.c", line 19247: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_PSICHE.c", line 1494: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_PSICHE.c", line 2963: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 98, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 112, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 145, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 170, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 193, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 204, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 213, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 223, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1542, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1546, Generating acc routine seq Generating NVIDIA GPU code str_len: 1555, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4235, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4669, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4689, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4701, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4713, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4723, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4733, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4741, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4751, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4773, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4780, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4826, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4861, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4872, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4889, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4900, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4916, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4945, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4956, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4960, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4995, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5002, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5011, #pragma acc loop seq 4995, Generating implicit copy(lens[:]) [if not already present] 5002, Generating implicit firstprivate(ll,l) 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 5016, Accelerator restriction: induction variable live-out from loop: i 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 5021, Accelerator restriction: induction variable live-out from loop: j 5043, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5047, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5050, #pragma acc loop seq 5043, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5050, Generating implicit firstprivate(l) 5067, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5071, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5078, #pragma acc loop seq 5067, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5137, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5168, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5185, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5284, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5368, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5434, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5511, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5783, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5795, Generating acc routine seq Generating NVIDIA GPU code _hash: 5827, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5868, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5879, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5884, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5892, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5900, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5907, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6570, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6606, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6667, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6683, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6769, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6837, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 7084, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8135, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10092, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10160, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10239, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10707, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10723, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10741, Generating acc routine seq Generating NVIDIA GPU code off_F: 11003, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11008, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11018, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11044, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11107, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11238, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11283, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11398, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11514, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11526, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11561, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11816, Generating acc routine seq Generating NVIDIA GPU code merge: 11823, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R gpusort: 11888, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11931, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 11946, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12000, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12117, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12139, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 12332, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 12421, Generating acc routine seq Generating NVIDIA GPU code cross: 12489, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 12504, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 12637, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 12744, Generating acc routine seq Generating NVIDIA GPU code init: 15819, Generating update device(dcm_scatter) 15920, 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: 15961, Generating acc routine seq Generating NVIDIA GPU code class_Wiggler_trace: 16052, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 16220, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 16439, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 16642, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 17698, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 17702, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 17702, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) 17711, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 17716, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 17711, Local memory used for .inl_.X2495_18875,.inl_.inl_c_1984_18859,.inl_.inl_.inl_b_1958_1990_18864,.inl_.inl_.inl_.X2511_1957_1989_18863,.inl_.inl_b_1980_18858,.inl_.inl_c_1973_18848,.inl_.inl_.inl_b_1958_1979_18853,.inl_.inl_.inl_.X2511_1957_1978_18852,.inl_.inl_b_1969_18847,.inl_.inl_.X2495_1968_18842,.inl_.inl_c_1965_18841,.inl_c_18872,.inl_.inl_b_1964_18839,.inl_.inl_.X2511_1963_18838,.inl_b_18831,.inl_.X2494_18830,.inl_.X2495_18825,.inl_c_18833,.inl_.X2493_18821,.inl_a_18817,.inl_.inl_c_1984_18809,.inl_.inl_.inl_b_1958_1990_18814,.inl_.inl_.inl_.X2511_1957_1989_18813,.inl_.inl_b_1980_18808,.inl_.inl_c_1973_18798,.inl_.inl_.inl_b_1958_1979_18803,.inl_.inl_.inl_.X2511_1957_1978_18802,.inl_.inl_b_1969_18797,.inl_.inl_.X2495_1968_18792,.inl_.inl_c_1965_18791,.inl_c_18822,.inl_.inl_b_1964_18789,.inl_.inl_.X2511_1963_18788,.inl_b_18781,.inl_.X2494_18780,.inl_.X2495_18775,.inl_c_18783,.inl_.X2493_18771,.inl_a_18767,.inl_.inl_c_1984_18759,.inl_.inl_.inl_b_1958_1990_18764,.inl_.inl_.inl_.X2511_1957_1989_18763,.inl_.inl_b_1980_18758,.inl_.inl_c_1973_18748,.inl_.inl_.inl_b_1958_1979_18753,.inl_.inl_.inl_.X2511_1957_1978_18752,.inl_.inl_b_1969_18747,.inl_.inl_.X2495_1968_18742,.inl_.inl_c_1965_18741,.inl_c_18772,.inl_.inl_b_1964_18739,.inl_.inl_.X2511_1963_18738,.inl_b_18731,.inl_.X2494_18730,.inl_.X2495_18725,.inl_c_18733,.inl_.X2493_18721,.inl_a_18717,.inl_.inl_c_1984_18709,.inl_.inl_.inl_b_1958_1990_18714,.inl_.inl_.inl_.X2511_1957_1989_18713,.inl_.inl_b_1980_18708,.inl_.inl_c_1973_18698,.inl_.inl_.inl_b_1958_1979_18703,.inl_.inl_.inl_.X2511_1957_1978_18702,.inl_.inl_b_1969_18697,.inl_.inl_.X2495_1968_18692,.inl_.inl_c_1965_18691,.inl_c_18722,.inl_.inl_b_1964_18689,.inl_.inl_.X2511_1963_18688,.inl_b_18681,.inl_.X2494_18680,.inl_.X2495_18675,.inl_c_18683,.inl_.X2493_18671,.inl_a_18667,.inl_.inl_c_1984_18659,.inl_.inl_.inl_b_1958_1990_18664,.inl_.inl_.inl_.X2511_1957_1989_18663,.inl_.inl_b_1980_18658,.inl_.inl_c_1973_18648,.inl_.inl_.inl_b_1958_1979_18653,.inl_.inl_.inl_.X2511_1957_1978_18652,.inl_.inl_b_1969_18647,.inl_.inl_.X2495_1968_18642,.inl_.inl_c_1965_18641,.inl_c_18672,.inl_.inl_b_1964_18639,.inl_.inl_.X2511_1963_18638,.inl_b_18631,.inl_.X2494_18630,.inl_.X2495_18625,.inl_c_18633,.inl_.X2493_18621,.inl_a_18617,.inl_.inl_c_1984_18609,.inl_.inl_.inl_b_1958_1990_18614,.inl_.inl_.inl_.X2511_1957_1989_18613,.inl_.inl_b_1980_18608,.inl_.inl_c_1973_18598,.inl_.inl_.inl_b_1958_1979_18603,.inl_.inl_.inl_.X2511_1957_1978_18602,.inl_.inl_b_1969_18597,.inl_.inl_.X2495_1968_18592,.inl_.inl_c_1965_18591,.inl_c_18622,.inl_.inl_b_1964_18589,.inl_.inl_.X2511_1963_18588,.inl_b_18581,.inl_.X2494_18580,.inl_.X2495_18575,.inl_c_18583,.inl_.X2493_18571,.inl_a_18567,.inl_.inl_c_1984_18559,.inl_.inl_.inl_b_1958_1990_18564,.inl_.inl_.inl_.X2511_1957_1989_18563,.inl_.inl_b_1980_18558,.inl_.inl_c_1973_18548,.inl_.inl_.inl_b_1958_1979_18553,.inl_.inl_.inl_.X2511_1957_1978_18552,.inl_.inl_b_1969_18547,.inl_.inl_.X2495_1968_18542,.inl_.inl_c_1965_18541,.inl_c_18572,.inl_.inl_b_1964_18539,.inl_.inl_.X2511_1963_18538,.inl_b_18531,.inl_.X2494_18530,.inl_.X2495_18525,.inl_c_18533,.inl_.X2493_18521,.inl_a_18517,.inl_.inl_c_1984_18507,.inl_.inl_.inl_b_1958_1990_18512,.inl_.inl_.inl_.X2511_1957_1989_18511,.inl_.inl_b_1980_18506,.inl_.inl_c_1973_18496,.inl_.inl_.inl_b_1958_1979_18501,.inl_.inl_.inl_.X2511_1957_1978_18500,.inl_.inl_b_1969_18495,.inl_.inl_.X2495_1968_18490,.inl_.inl_c_1965_18489,.inl_c_18522,.inl_.inl_b_1964_18487,.inl_.inl_.X2511_1963_18486,.inl_b_18479,.inl_.X2494_18478,.inl_.X2495_18473,.inl_c_18481,.inl_.X2493_18469,.inl_a_18465,_particle_save,.inl_c_18883,.inl_.inl_c_1973_18898,.inl_.inl_.inl_b_1958_1979_18903,.inl_.inl_.inl_.X2511_1957_1978_18902,.inl_.inl_b_1969_18897,.inl_.inl_c_1965_18891,.inl_.inl_.inl_.X2511_1957_1989_18913,.inl_.inl_.X2511_1963_18888,.inl_.inl_b_1964_18889,.inl_.inl_.X2494_7834_18941,.inl_.inl_b_1980_18908,.inl_c_18470,.inl_.inl_.inl_b_1958_1990_18914,.inl_.inl_.X2495_1968_18892,.inl_a_18867,.inl_.X2493_18871,.inl_.X2494_18880,.inl_b_18881,.inl_.inl_c_1984_18909 17900, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 17903, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 17900, Local memory used for .inl_.inl_c_1984_19102,.inl_.inl_.inl_b_1958_1990_19107,.inl_.inl_.inl_.X2511_1957_1989_19106,.inl_.inl_b_1980_19101,.inl_.inl_c_1973_19091,.inl_.inl_.inl_b_1958_1979_19096,.inl_.inl_.inl_.X2511_1957_1978_19095,.inl_.inl_b_1969_19090,.inl_.inl_.X2495_1968_19085,.inl_.inl_c_1965_19084,.inl_c_19115,.inl_.inl_b_1964_19082,.inl_.inl_.X2511_1963_19081,.inl_b_19074,.inl_.X2494_19073,.inl_.X2495_19068,.inl_c_19076,.inl_.X2493_19064,.inl_a_19060,.inl_.inl_c_1984_19052,.inl_.inl_.inl_b_1958_1990_19057,.inl_.inl_.inl_.X2511_1957_1989_19056,.inl_.inl_b_1980_19051,.inl_.inl_c_1973_19041,.inl_.inl_.inl_b_1958_1979_19046,.inl_.inl_.inl_.X2511_1957_1978_19045,.inl_.inl_b_1969_19040,.inl_.inl_.X2495_1968_19035,.inl_.inl_c_1965_19034,.inl_c_19065,.inl_.inl_b_1964_19032,.inl_.inl_.X2511_1963_19031,.inl_b_19024,.inl_.X2494_19023,.inl_.X2495_19018,.inl_c_19026,.inl_.X2493_19014,.inl_a_19010,_particle_save,.inl_c_19126,.inl_.inl_c_1973_19141,.inl_.inl_.inl_b_1958_1979_19146,.inl_.inl_.inl_.X2511_1957_1978_19145,.inl_.inl_b_1969_19140,.inl_.inl_c_1965_19134,.inl_.inl_.inl_.X2511_1957_1989_19156,.inl_.inl_.X2511_1963_19131,.inl_.inl_b_1964_19132,.inl_.X2495_19118,.inl_.inl_b_1980_19151,.inl_c_19015,.inl_.inl_.inl_b_1958_1990_19157,.inl_.inl_.X2495_1968_19135,.inl_a_19110,.inl_.X2493_19114,.inl_.X2494_19123,.inl_b_19124,.inl_.inl_c_1984_19152 finally: 18380, 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: 6027, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===