INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_PSICHE_20260407_004417" INFO: Regenerating c-file: SOLEIL_PSICHE.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/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/WORK/micromamba/envs/mcxtrace-3.x/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_PSICHE.out --> pointing path miniconda3/lib to /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/lib --> pointing path miniconda3/lib to /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/lib --> pointing path miniconda3/include to /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/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/WORK/micromamba/envs/mcxtrace-3.x/lib -Wl,-rpath-link,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/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/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/lib -lxrl -I/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/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 4170: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./SOLEIL_PSICHE.c", line 4628: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_PSICHE.c", line 5083: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_PSICHE.c", line 5002: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_PSICHE.c", line 6334: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PSICHE.c", line 6788: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_PSICHE.c", line 6961: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_PSICHE.c", line 7302: 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 7466: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_PSICHE.c", line 8566: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_PSICHE.c", line 9298: 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 9300: 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 9307: 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 9327: 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 9329: 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 9331: 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 10888: 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 10911: 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 10932: 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 11019: 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 11024: 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 11033: 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 11059: 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 11062: 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 11062: 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 11062: 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 11062: 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 11062: 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 11062: 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 11122: 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 11252: 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 11296: 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 11417: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_PSICHE.c", line 11529: 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 11541: 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 11576: 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 11832: 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 11838: 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 11903: 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 12293: 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 12299: 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 12305: 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 12312: 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 12322: 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 12328: 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 12762: 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 13552: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_PSICHE.c", line 13540: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_PSICHE.c", line 13597: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_PSICHE.c", line 13688: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_PSICHE.c", line 13802: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_PSICHE.c", line 13916: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_PSICHE.c", line 13965: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_PSICHE.c", line 14050: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_PSICHE.c", line 14099: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_PSICHE.c", line 14184: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_PSICHE.c", line 14233: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_PSICHE.c", line 14347: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_PSICHE.c", line 14461: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_PSICHE.c", line 14535: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_PSICHE.c", line 14584: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_PSICHE.c", line 14697: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_PSICHE.c", line 14746: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_PSICHE.c", line 14860: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_PSICHE.c", line 14974: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_PSICHE.c", line 15453: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PSICHE.c", line 15983: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_PSICHE.c", line 15995: 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 16075: 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 16110: warning: variable "z1" was set but never used [set_but_not_used] double xx, yy, x1, y1, z1; ^ "./SOLEIL_PSICHE.c", line 16112: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1 = 1.0; ^ "./SOLEIL_PSICHE.c", line 16245: 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 16281: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_PSICHE.c", line 16444: 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 16536: 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 16536: 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 16536: 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 16480: 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 16673: 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 16972: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_PSICHE.c", line 19265: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_PSICHE.c", line 19266: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_PSICHE.c", line 1495: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_PSICHE.c", line 2965: 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: 1544, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1548, Generating acc routine seq Generating NVIDIA GPU code str_len: 1557, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4246, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4691, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4700, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4712, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4724, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4734, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4744, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4752, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4762, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4784, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4791, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4837, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4872, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4883, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4900, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4911, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4927, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4956, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4967, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4971, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5006, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5013, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5022, #pragma acc loop seq 5006, Generating implicit copy(lens[:]) [if not already present] 5013, Generating implicit firstprivate(ll,l) 5024, Accelerator restriction: induction variable live-out from loop: i 5025, Accelerator restriction: induction variable live-out from loop: i 5026, Accelerator restriction: induction variable live-out from loop: i 5027, Accelerator restriction: induction variable live-out from loop: i 5029, Accelerator restriction: induction variable live-out from loop: j 5030, Accelerator restriction: induction variable live-out from loop: j 5031, Accelerator restriction: induction variable live-out from loop: j 5032, Accelerator restriction: induction variable live-out from loop: j 5054, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5058, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5061, #pragma acc loop seq 5054, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5061, Generating implicit firstprivate(l) 5078, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5082, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5089, #pragma acc loop seq 5078, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5148, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5179, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5196, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5295, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5379, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5445, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5522, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5794, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5806, Generating acc routine seq Generating NVIDIA GPU code _hash: 5838, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5879, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5890, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5895, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5903, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5911, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5918, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6586, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6622, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6683, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6699, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6785, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6853, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 7101, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8151, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10108, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10176, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10255, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10723, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10739, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10757, Generating acc routine seq Generating NVIDIA GPU code off_F: 11019, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11024, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11034, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11060, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11123, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11254, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11299, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11414, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11530, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11542, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11577, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11832, Generating acc routine seq Generating NVIDIA GPU code merge: 11839, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R gpusort: 11904, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11947, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 11962, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12016, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12133, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12155, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 12348, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 12437, Generating acc routine seq Generating NVIDIA GPU code cross: 12505, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 12520, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 12653, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 12760, Generating acc routine seq Generating NVIDIA GPU code init: 15853, Generating update device(dcm_scatter) 15954, 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: 15996, Generating acc routine seq Generating NVIDIA GPU code class_Wiggler_trace: 16076, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 16246, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 16445, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 16674, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 17732, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 17736, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 17736, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) 17745, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 17750, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 17745, Local memory used for .inl_.X2498_18879,.inl_.inl_c_1984_18863,.inl_.inl_.inl_b_1958_1990_18868,.inl_.inl_.inl_.X2514_1957_1989_18867,.inl_.inl_b_1980_18862,.inl_.inl_c_1973_18852,.inl_.inl_.inl_b_1958_1979_18857,.inl_.inl_.inl_.X2514_1957_1978_18856,.inl_.inl_b_1969_18851,.inl_.inl_.X2498_1968_18846,.inl_.inl_c_1965_18845,.inl_c_18876,.inl_.inl_b_1964_18843,.inl_.inl_.X2514_1963_18842,.inl_b_18835,.inl_.X2497_18834,.inl_.X2498_18829,.inl_c_18837,.inl_.X2496_18825,.inl_a_18821,.inl_.inl_c_1984_18813,.inl_.inl_.inl_b_1958_1990_18818,.inl_.inl_.inl_.X2514_1957_1989_18817,.inl_.inl_b_1980_18812,.inl_.inl_c_1973_18802,.inl_.inl_.inl_b_1958_1979_18807,.inl_.inl_.inl_.X2514_1957_1978_18806,.inl_.inl_b_1969_18801,.inl_.inl_.X2498_1968_18796,.inl_.inl_c_1965_18795,.inl_c_18826,.inl_.inl_b_1964_18793,.inl_.inl_.X2514_1963_18792,.inl_b_18785,.inl_.X2497_18784,.inl_.X2498_18779,.inl_c_18787,.inl_.X2496_18775,.inl_a_18771,.inl_.inl_c_1984_18763,.inl_.inl_.inl_b_1958_1990_18768,.inl_.inl_.inl_.X2514_1957_1989_18767,.inl_.inl_b_1980_18762,.inl_.inl_c_1973_18752,.inl_.inl_.inl_b_1958_1979_18757,.inl_.inl_.inl_.X2514_1957_1978_18756,.inl_.inl_b_1969_18751,.inl_.inl_.X2498_1968_18746,.inl_.inl_c_1965_18745,.inl_c_18776,.inl_.inl_b_1964_18743,.inl_.inl_.X2514_1963_18742,.inl_b_18735,.inl_.X2497_18734,.inl_.X2498_18729,.inl_c_18737,.inl_.X2496_18725,.inl_a_18721,.inl_.inl_c_1984_18713,.inl_.inl_.inl_b_1958_1990_18718,.inl_.inl_.inl_.X2514_1957_1989_18717,.inl_.inl_b_1980_18712,.inl_.inl_c_1973_18702,.inl_.inl_.inl_b_1958_1979_18707,.inl_.inl_.inl_.X2514_1957_1978_18706,.inl_.inl_b_1969_18701,.inl_.inl_.X2498_1968_18696,.inl_.inl_c_1965_18695,.inl_c_18726,.inl_.inl_b_1964_18693,.inl_.inl_.X2514_1963_18692,.inl_b_18685,.inl_.X2497_18684,.inl_.X2498_18679,.inl_c_18687,.inl_.X2496_18675,.inl_a_18671,.inl_.inl_c_1984_18663,.inl_.inl_.inl_b_1958_1990_18668,.inl_.inl_.inl_.X2514_1957_1989_18667,.inl_.inl_b_1980_18662,.inl_.inl_c_1973_18652,.inl_.inl_.inl_b_1958_1979_18657,.inl_.inl_.inl_.X2514_1957_1978_18656,.inl_.inl_b_1969_18651,.inl_.inl_.X2498_1968_18646,.inl_.inl_c_1965_18645,.inl_c_18676,.inl_.inl_b_1964_18643,.inl_.inl_.X2514_1963_18642,.inl_b_18635,.inl_.X2497_18634,.inl_.X2498_18629,.inl_c_18637,.inl_.X2496_18625,.inl_a_18621,.inl_.inl_c_1984_18613,.inl_.inl_.inl_b_1958_1990_18618,.inl_.inl_.inl_.X2514_1957_1989_18617,.inl_.inl_b_1980_18612,.inl_.inl_c_1973_18602,.inl_.inl_.inl_b_1958_1979_18607,.inl_.inl_.inl_.X2514_1957_1978_18606,.inl_.inl_b_1969_18601,.inl_.inl_.X2498_1968_18596,.inl_.inl_c_1965_18595,.inl_c_18626,.inl_.inl_b_1964_18593,.inl_.inl_.X2514_1963_18592,.inl_b_18585,.inl_.X2497_18584,.inl_.X2498_18579,.inl_c_18587,.inl_.X2496_18575,.inl_a_18571,.inl_.inl_c_1984_18563,.inl_.inl_.inl_b_1958_1990_18568,.inl_.inl_.inl_.X2514_1957_1989_18567,.inl_.inl_b_1980_18562,.inl_.inl_c_1973_18552,.inl_.inl_.inl_b_1958_1979_18557,.inl_.inl_.inl_.X2514_1957_1978_18556,.inl_.inl_b_1969_18551,.inl_.inl_.X2498_1968_18546,.inl_.inl_c_1965_18545,.inl_c_18576,.inl_.inl_b_1964_18543,.inl_.inl_.X2514_1963_18542,.inl_b_18535,.inl_.X2497_18534,.inl_.X2498_18529,.inl_c_18537,.inl_.X2496_18525,.inl_a_18521,.inl_.inl_c_1984_18511,.inl_.inl_.inl_b_1958_1990_18516,.inl_.inl_.inl_.X2514_1957_1989_18515,.inl_.inl_b_1980_18510,.inl_.inl_c_1973_18500,.inl_.inl_.inl_b_1958_1979_18505,.inl_.inl_.inl_.X2514_1957_1978_18504,.inl_.inl_b_1969_18499,.inl_.inl_.X2498_1968_18494,.inl_.inl_c_1965_18493,.inl_c_18526,.inl_.inl_b_1964_18491,.inl_.inl_.X2514_1963_18490,.inl_b_18483,.inl_.X2497_18482,.inl_.X2498_18477,.inl_c_18485,.inl_.X2496_18473,.inl_a_18469,_particle_save,.inl_c_18887,.inl_.inl_c_1973_18902,.inl_.inl_.inl_b_1958_1979_18907,.inl_.inl_.inl_.X2514_1957_1978_18906,.inl_.inl_b_1969_18901,.inl_.inl_c_1965_18895,.inl_.inl_.inl_.X2514_1957_1989_18917,.inl_.inl_.X2514_1963_18892,.inl_.inl_b_1964_18893,.inl_.inl_.X2497_7836_18945,.inl_.inl_b_1980_18912,.inl_c_18474,.inl_.inl_.inl_b_1958_1990_18918,.inl_.inl_.X2498_1968_18896,.inl_a_18871,.inl_.X2496_18875,.inl_.X2497_18884,.inl_b_18885,.inl_.inl_c_1984_18913 17934, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 17937, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 17934, Local memory used for .inl_.inl_c_1984_19106,.inl_.inl_.inl_b_1958_1990_19111,.inl_.inl_.inl_.X2514_1957_1989_19110,.inl_.inl_b_1980_19105,.inl_.inl_c_1973_19095,.inl_.inl_.inl_b_1958_1979_19100,.inl_.inl_.inl_.X2514_1957_1978_19099,.inl_.inl_b_1969_19094,.inl_.inl_.X2498_1968_19089,.inl_.inl_c_1965_19088,.inl_c_19119,.inl_.inl_b_1964_19086,.inl_.inl_.X2514_1963_19085,.inl_b_19078,.inl_.X2497_19077,.inl_.X2498_19072,.inl_c_19080,.inl_.X2496_19068,.inl_a_19064,.inl_.inl_c_1984_19056,.inl_.inl_.inl_b_1958_1990_19061,.inl_.inl_.inl_.X2514_1957_1989_19060,.inl_.inl_b_1980_19055,.inl_.inl_c_1973_19045,.inl_.inl_.inl_b_1958_1979_19050,.inl_.inl_.inl_.X2514_1957_1978_19049,.inl_.inl_b_1969_19044,.inl_.inl_.X2498_1968_19039,.inl_.inl_c_1965_19038,.inl_c_19069,.inl_.inl_b_1964_19036,.inl_.inl_.X2514_1963_19035,.inl_b_19028,.inl_.X2497_19027,.inl_.X2498_19022,.inl_c_19030,.inl_.X2496_19018,.inl_a_19014,_particle_save,.inl_c_19130,.inl_.inl_c_1973_19145,.inl_.inl_.inl_b_1958_1979_19150,.inl_.inl_.inl_.X2514_1957_1978_19149,.inl_.inl_b_1969_19144,.inl_.inl_c_1965_19138,.inl_.inl_.inl_.X2514_1957_1989_19160,.inl_.inl_.X2514_1963_19135,.inl_.inl_b_1964_19136,.inl_.X2498_19122,.inl_.inl_b_1980_19155,.inl_c_19019,.inl_.inl_.inl_b_1958_1990_19161,.inl_.inl_.X2498_1968_19139,.inl_a_19114,.inl_.X2496_19118,.inl_.X2497_19127,.inl_b_19128,.inl_.inl_c_1984_19156 finally: 18410, 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: 6039, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===