INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_PX2a_20250514_151129" INFO: Regenerating c-file: SOLEIL_PX2a.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./SOLEIL_PX2a.c SOLEIL_PX2a.instr CFLAGS= @GSLFLAGS@ -DFUNNEL -std=c99 WARNING: The parameter mosaic_AB of sample is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter surf_dir of sample is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component undulator is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component undulator -> GPU kernel from component bragg_crystal_location -> SPLIT within buffer at component sample ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_PX2a.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_PX2a.out ./SOLEIL_PX2a.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 -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -Wl,-rpath,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -lgsl -lgslcblas -I/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -DFUNNEL -std=c99 "./SOLEIL_PX2a.c", line 88: 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_PX2a.c", line 90: 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_PX2a.c", line 93: 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_PX2a.c", line 108: 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_PX2a.c", line 112: 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_PX2a.c", line 143: 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_PX2a.c", line 112: 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_PX2a.c", line 175: 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_PX2a.c", line 200: 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_PX2a.c", line 211: 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_PX2a.c", line 222: 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_PX2a.c", line 234: 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_PX2a.c", line 308: 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_PX2a.c", line 310: 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_PX2a.c", line 660: 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_PX2a.c", line 881: 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_PX2a.c", line 898: 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_PX2a.c", line 900: 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_PX2a.c", line 908: 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_PX2a.c", line 910: 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_PX2a.c", line 912: 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_PX2a.c", line 914: 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_PX2a.c", line 916: 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_PX2a.c", line 1012: 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_PX2a.c", line 1014: 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_PX2a.c", line 1016: 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_PX2a.c", line 1018: 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_PX2a.c", line 1020: 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_PX2a.c", line 1022: 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_PX2a.c", line 1024: 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_PX2a.c", line 1026: 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_PX2a.c", line 1028: 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_PX2a.c", line 4574: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_PX2a.c", line 5029: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_PX2a.c", line 4948: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_PX2a.c", line 6275: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PX2a.c", line 6726: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_PX2a.c", line 6899: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./SOLEIL_PX2a.c", line 7090: 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_PX2a.c", line 7096: 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_PX2a.c", line 7102: 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_PX2a.c", line 7109: 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_PX2a.c", line 7119: 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_PX2a.c", line 7125: 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_PX2a.c", line 7241: 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_PX2a.c", line 7243: 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_PX2a.c", line 7250: 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_PX2a.c", line 7270: 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_PX2a.c", line 7272: 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_PX2a.c", line 7274: 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_PX2a.c", line 9134: 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_PX2a.c", line 9339: warning: Routine "refleccq" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double complex refleccq(t_Reflec r_handle, double q, double g, double k, double theta ); ^ "./SOLEIL_PX2a.c", line 9341: warning: Routine "reflecq" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double reflecq(t_Reflec r_handle, double q, double g, double k, double theta ); ^ "./SOLEIL_PX2a.c", line 9343: warning: Routine "reflecc" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double complex reflecc(t_Reflec r_handle, double kix, double kiy, double kiz, double kfx, double kfy, double kfz, double g ); ^ "./SOLEIL_PX2a.c", line 9346: warning: Routine "reflec_coating" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double complex reflec_coating(t_Reflec r_handle, double q, double g, double k); ^ "./SOLEIL_PX2a.c", line 9348: warning: Routine "reflec_bare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double complex reflec_bare(t_Reflec r_handle, double q, double g); ^ "./SOLEIL_PX2a.c", line 9350: warning: Routine "reflec_q_prmtc" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double complex reflec_q_prmtc(t_Reflec r_handle, double q, double g); ^ "./SOLEIL_PX2a.c", line 9352: warning: Routine "reflec_parratt" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double complex reflec_parratt(t_Reflec r_handle, double q, double g, double k); ^ "./SOLEIL_PX2a.c", line 9354: warning: Routine "reflec_kinematic" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double complex reflec_kinematic(t_Reflec r_handle, double q, double g); ^ "./SOLEIL_PX2a.c", line 9356: warning: Routine "parrat_reflec_bulk" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double complex parrat_reflec_bulk(int lc, double *delta, double *beta, double *d, double k, double q); ^ "./SOLEIL_PX2a.c", line 9358: warning: Routine "reflec_eth_prmtc" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double complex reflec_eth_prmtc(t_Reflec r_handle, double e, double theta, double g); ^ "./SOLEIL_PX2a.c", line 9403: warning: conversion from pointer to smaller integer [pointer_conversion_loses_bits] int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_PX2a.c", line 9381: warning: variable "status" was declared but never referenced [declared_but_not_referenced] int status; ^ "./SOLEIL_PX2a.c", line 9492: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PX2a.c", line 9691: warning: variable "R" was declared but never referenced [declared_but_not_referenced] double b_mu,R; ^ "./SOLEIL_PX2a.c", line 9751: warning: variable "k2" is used before its value is set [used_before_set] qpd=csqrt(q*q - 8*k2* *(pp->delta) + I*8*k2* *(pp->beta)); ^ "./SOLEIL_PX2a.c", line 9746: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_PX2a.c", line 9769: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_PX2a.c", line 10091: 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_PX2a.c", line 10255: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_PX2a.c", line 11355: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_PX2a.c", line 11884: warning: variable "y0" is used before its value is set [used_before_set] if (y0 < ymin) y0=ymin; ^ "./SOLEIL_PX2a.c", line 11886: warning: variable "y1" is used before its value is set [used_before_set] if (y1 < ymin) y1=ymin; ^ "./SOLEIL_PX2a.c", line 12091: 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_PX2a.c", line 12114: 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_PX2a.c", line 12135: 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_PX2a.c", line 12218: 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_PX2a.c", line 12223: 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_PX2a.c", line 12232: 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_PX2a.c", line 12258: 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_PX2a.c", line 12261: 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_PX2a.c", line 12261: 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_PX2a.c", line 12261: 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_PX2a.c", line 12261: 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_PX2a.c", line 12261: 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_PX2a.c", line 12261: 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_PX2a.c", line 12321: 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_PX2a.c", line 12451: 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_PX2a.c", line 12495: 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_PX2a.c", line 12618: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_PX2a.c", line 12732: 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_PX2a.c", line 12744: 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_PX2a.c", line 12779: 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_PX2a.c", line 13031: 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_PX2a.c", line 13037: 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_PX2a.c", line 13569: warning: Routine "SX_list_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int SX_list_compare (void const *a, void const *b) ^ "./SOLEIL_PX2a.c", line 13675: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] char flag=0; ^ "./SOLEIL_PX2a.c", line 14176: warning: Routine "hkl_search" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_search(struct hkl_data *L, void *TT, int count, double V0, ^ "./SOLEIL_PX2a.c", line 14283: warning: Routine "hkl_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_select(struct tau_data *T, int tau_count, double coh_refl, double *sum,_class_particle *_particle) { ^ "./SOLEIL_PX2a.c", line 14298: warning: Routine "randrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randrotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./SOLEIL_PX2a.c", line 14306: warning: Routine "randderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randderotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./SOLEIL_PX2a.c", line 14315: warning: Routine "vec_rotate_2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void vec_rotate_2d(double* x, double* y, double angle) { ^ "./SOLEIL_PX2a.c", line 14339: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PX2a.c", line 14341: warning: variable "Z" was set but never used [set_but_not_used] double Z; ^ "./SOLEIL_PX2a.c", line 14951: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_PX2a.c", line 14939: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_PX2a.c", line 14996: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_PX2a.c", line 15091: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_PX2a.c", line 15140: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_PX2a.c", line 15225: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_PX2a.c", line 15274: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_PX2a.c", line 15359: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_PX2a.c", line 15408: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_PX2a.c", line 15473: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_PX2a.c", line 15522: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_PX2a.c", line 15571: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_PX2a.c", line 15637: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_PX2a.c", line 15686: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_PX2a.c", line 15800: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_PX2a.c", line 15849: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_PX2a.c", line 15917: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_PX2a.c", line 16031: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_PX2a.c", line 16145: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_PX2a.c", line 16213: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_PX2a.c", line 16327: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_PX2a.c", line 16376: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_PX2a.c", line 16490: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_PX2a.c", line 16634: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_PX2a.c", line 16698: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_PX2a.c", line 16997: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PX2a.c", line 17059: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./SOLEIL_PX2a.c", line 17322: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_PX2a.c", line 17474: warning: variable "surf_dir_sum" was declared but never referenced [declared_but_not_referenced] double surf_dir_sum =0; ^ "./SOLEIL_PX2a.c", line 17398: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./SOLEIL_PX2a.c", line 17398: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./SOLEIL_PX2a.c", line 17398: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./SOLEIL_PX2a.c", line 17641: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_PX2a.c", line 17641: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_PX2a.c", line 17680: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_PX2a.c", line 17680: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_PX2a.c", line 17681: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_PX2a.c", line 17681: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_PX2a.c", line 17681: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_PX2a.c", line 17893: 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_PX2a.c", line 18025: warning: variable "l" was declared but never referenced [declared_but_not_referenced] double k,e,l,w_u,r,w; ^ "./SOLEIL_PX2a.c", line 18025: warning: variable "r" was declared but never referenced [declared_but_not_referenced] double k,e,l,w_u,r,w; ^ "./SOLEIL_PX2a.c", line 18191: warning: Routine "class_Arm_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Arm_trace(_class_Arm *_comp ^ "./SOLEIL_PX2a.c", line 18224: 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_PX2a.c", line 18304: 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_PX2a.c", line 18304: 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_PX2a.c", line 18304: 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_PX2a.c", line 18260: 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_PX2a.c", line 18419: warning: Routine "class_E_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_E_monitor_trace(_class_E_monitor *_comp ^ "./SOLEIL_PX2a.c", line 18494: warning: Routine "class_Mirror_toroid_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Mirror_toroid_trace(_class_Mirror_toroid *_comp ^ "./SOLEIL_PX2a.c", line 18507: warning: variable "ty" was set but never used [set_but_not_used] double k,l0,l1,l2,l3,tx,ty,tz; ^ "./SOLEIL_PX2a.c", line 18582: 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_PX2a.c", line 18801: warning: Routine "class_Mirror_curved_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Mirror_curved_trace(_class_Mirror_curved *_comp ^ "./SOLEIL_PX2a.c", line 18922: warning: Routine "class_Single_crystal_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Single_crystal_trace(_class_Single_crystal *_comp ^ "./SOLEIL_PX2a.c", line 18984: warning: variable "k" was declared but never referenced [declared_but_not_referenced] double k; /* photon wave vector */ ^ "./SOLEIL_PX2a.c", line 18985: warning: variable "rho_x" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./SOLEIL_PX2a.c", line 18985: warning: variable "rho_y" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./SOLEIL_PX2a.c", line 18985: warning: variable "rho_z" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./SOLEIL_PX2a.c", line 18986: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./SOLEIL_PX2a.c", line 18987: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./SOLEIL_PX2a.c", line 18988: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./SOLEIL_PX2a.c", line 18988: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./SOLEIL_PX2a.c", line 18988: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./SOLEIL_PX2a.c", line 18989: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 18989: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 18989: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 18990: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 18990: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 18990: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 18991: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./SOLEIL_PX2a.c", line 18991: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./SOLEIL_PX2a.c", line 18991: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./SOLEIL_PX2a.c", line 18992: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./SOLEIL_PX2a.c", line 18993: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./SOLEIL_PX2a.c", line 18993: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./SOLEIL_PX2a.c", line 18993: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./SOLEIL_PX2a.c", line 18994: warning: variable "l11" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./SOLEIL_PX2a.c", line 18994: warning: variable "l12" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./SOLEIL_PX2a.c", line 18994: warning: variable "l22" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./SOLEIL_PX2a.c", line 18995: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./SOLEIL_PX2a.c", line 18996: warning: variable "Bt_D_O_x" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./SOLEIL_PX2a.c", line 18996: warning: variable "Bt_D_O_y" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./SOLEIL_PX2a.c", line 18997: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./SOLEIL_PX2a.c", line 18997: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./SOLEIL_PX2a.c", line 18998: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./SOLEIL_PX2a.c", line 19004: warning: variable "coh_xsect" was declared but never referenced [declared_but_not_referenced] double coh_xsect, coh_xlen; /* Coherent cross section and length */ ^ "./SOLEIL_PX2a.c", line 19005: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./SOLEIL_PX2a.c", line 19020: warning: variable "type" was set but never used [set_but_not_used] char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./SOLEIL_PX2a.c", line 19476: warning: Routine "class_PSD_monitor_4PI_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PSD_monitor_4PI_trace(_class_PSD_monitor_4PI *_comp ^ "./SOLEIL_PX2a.c", line 19549: warning: Routine "class_PSD_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PSD_monitor_trace(_class_PSD_monitor *_comp ^ "./SOLEIL_PX2a.c", line 19570: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./SOLEIL_PX2a.c", line 19571: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e,p2; ^ "./SOLEIL_PX2a.c", line 22282: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_PX2a.c", line 22283: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_PX2a.c", line 1511: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_PX2a.c", line 2931: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 101, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 115, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 150, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 177, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 202, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 213, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 222, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 234, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1559, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1563, Generating acc routine seq Generating NVIDIA GPU code str_len: 1572, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4195, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4626, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4637, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4646, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4658, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4670, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4690, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4698, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4708, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4730, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4737, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4783, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4818, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4829, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4846, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4857, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4873, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4902, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4913, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4917, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4952, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4959, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4968, #pragma acc loop seq 4952, Generating implicit copy(lens[:]) [if not already present] 4959, Generating implicit firstprivate(ll,l) 4970, Accelerator restriction: induction variable live-out from loop: i 4971, Accelerator restriction: induction variable live-out from loop: i 4972, Accelerator restriction: induction variable live-out from loop: i 4973, Accelerator restriction: induction variable live-out from loop: i 4975, Accelerator restriction: induction variable live-out from loop: j 4976, Accelerator restriction: induction variable live-out from loop: j 4977, Accelerator restriction: induction variable live-out from loop: j 4978, Accelerator restriction: induction variable live-out from loop: j 5000, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5004, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5007, #pragma acc loop seq 5000, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5007, Generating implicit firstprivate(l) 5024, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5028, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5035, #pragma acc loop seq 5024, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5094, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5125, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5142, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5241, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5325, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5391, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5468, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5740, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5752, Generating acc routine seq Generating NVIDIA GPU code _hash: 5784, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5825, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5836, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5841, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5849, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5857, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5864, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6527, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6560, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6621, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6637, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6723, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6791, Generating acc routine seq Generating NVIDIA GPU code ellipsoid_intersect: 6817, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code Table_Index: 8040, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8108, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8187, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8655, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8671, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8689, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 8720, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 8809, Generating acc routine seq Generating NVIDIA GPU code cross: 8877, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 8892, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 9025, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 9132, Generating acc routine seq Generating NVIDIA GPU code reflec_coating: 9675, Generating acc routine seq Generating NVIDIA GPU code reflec_bare: 9707, Generating acc routine seq Generating NVIDIA GPU code reflec_kinematic: 9711, Generating acc routine seq Generating NVIDIA GPU code reflec_q_prmtc: 9721, Generating acc routine seq Generating NVIDIA GPU code reflec_eth_prmtc: 9733, Generating acc routine seq Generating NVIDIA GPU code reflec_parratt: 9743, Generating acc routine seq Generating NVIDIA GPU code parrat_reflec_bulk: 9766, Generating acc routine seq Generating NVIDIA GPU code refleccq: 9790, Generating acc routine seq Generating NVIDIA GPU code reflecq: 9841, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 10940, Generating acc routine seq Generating NVIDIA GPU code off_F: 12218, Generating acc routine seq Generating NVIDIA GPU code off_sign: 12223, Generating acc routine seq Generating NVIDIA GPU code off_normal: 12233, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 12259, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 12322, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 12453, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 12498, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 12615, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12733, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12745, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12780, Generating acc routine seq Generating NVIDIA GPU code Min_int: 13031, Generating acc routine seq Generating NVIDIA GPU code merge: 13038, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 13142, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 13157, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 13211, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 13328, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 13350, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 13570, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 14179, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 14283, Generating acc routine seq Generating NVIDIA GPU code randrotate: 14298, Generating acc routine seq Generating NVIDIA GPU code randderotate: 14306, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 14315, Generating acc routine seq Generating NVIDIA GPU code init: 17853, Generating update device(_Eiger9M_var,_sample_var,_arm_var,_bragg_crystal_two_var,_arm_two_var,_bragg_crystal_out_var,_Origin_var,_bragg_crystal_location_var,_hpm_in_yz_plane_var,_hfm_var,_hpm_takeoff_var,_hpm_location_var,_vfm_in_xz_plane_var,_undulator_var,_vfm_var,_vfm_takeoff_var,_vfm_location_var,_bragg_crystal_var,_hfm_takeoff_var,_hfm_location_var,_sample_monitor_var,_psd4pi_var,_sample_stage_var,_instrument_var,_hpm_var) class_Progress_bar_trace: 17894, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 18192, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 18225, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 18420, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_toroid_trace: 18495, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18583, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 18802, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 18923, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 19477, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 19550, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 20198, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20202, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20198, Local memory used for .inl_.inl_mcphoton_0_23631,.inl_particle_23615,.inl_.X2517_23633,.inl_.inl_.X2732_13_23632 20202, Generating implicit firstprivate(seed,_particle) 20212, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20217, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20212, Local memory used for _particle_save,.inl_c_23654,.inl_.inl_c_1929_23669,.inl_.inl_.inl_b_1914_1935_23674,.inl_.inl_.inl_.X2697_1913_1934_23673,.inl_.inl_b_1925_23668,.inl_.inl_c_1921_23662,.inl_.inl_.inl_.X2697_1913_1945_23684,.inl_.inl_.X2697_1919_23659,.inl_.inl_b_1920_23660,.inl_.X2681_23646,.inl_.inl_b_1936_23679,.inl_c_23643,.inl_.inl_.inl_b_1914_1946_23685,.inl_.inl_.X2681_1924_23663,.inl_a_23638,.inl_.X2679_23642,.inl_.X2680_23651,.inl_b_23652,.inl_.inl_c_1940_23680 20259, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20262, #pragma acc loop gang /* blockIdx.x */ 20259, CUDA shared memory used for .inl_.inl_c_1940_24303,.inl_.inl_.inl_b_1914_1946_24308,.inl_.inl_.inl_.X2697_1913_1945_24307,.inl_.inl_b_1936_24302,.inl_.inl_c_1929_24292,.inl_.inl_.inl_b_1914_1935_24297,.inl_.inl_.inl_.X2697_1913_1934_24296,.inl_.inl_b_1925_24291,.inl_.inl_.X2681_1924_24286,.inl_.inl_c_1921_24285,.inl_c_24318,.inl_.inl_b_1920_24283,.inl_.inl_.X2697_1919_24282,.inl_b_24275,.inl_.X2680_24274,.inl_.X2681_24269,.inl_c_24277,.inl_.X2679_24265,.inl_a_24261,.inl_.inl_c_1940_24253,.inl_.inl_.inl_b_1914_1946_24258,.inl_.inl_.inl_.X2697_1913_1945_24257,.inl_.inl_b_1936_24252,.inl_.inl_c_1929_24242,.inl_.inl_.inl_b_1914_1935_24247,.inl_.inl_.inl_.X2697_1913_1934_24246,.inl_.inl_b_1925_24241,.inl_.inl_.X2681_1924_24236,.inl_.inl_c_1921_24235,.inl_c_24266,.inl_.inl_b_1920_24233,.inl_.inl_.X2697_1919_24232,.inl_b_24225,.inl_.X2680_24224,.inl_.X2681_24219,.inl_c_24227,.inl_.X2679_24215,.inl_a_24211,.inl_.inl_c_1940_24203,.inl_.inl_.inl_b_1914_1946_24208,.inl_.inl_.inl_.X2697_1913_1945_24207,.inl_.inl_b_1936_24202,.inl_.inl_c_1929_24192,.inl_.inl_.inl_b_1914_1935_24197,.inl_.inl_.inl_.X2697_1913_1934_24196,.inl_.inl_b_1925_24191,.inl_.inl_.X2681_1924_24186,.inl_.inl_c_1921_24185,.inl_c_24216,.inl_.inl_b_1920_24183,.inl_.inl_.X2697_1919_24182,.inl_b_24175,.inl_.X2680_24174,.inl_.X2681_24169,.inl_c_24177,.inl_.X2679_24165,.inl_a_24161,.inl_.inl_c_1940_24153,.inl_.inl_.inl_b_1914_1946_24158,.inl_.inl_.inl_.X2697_1913_1945_24157,.inl_.inl_b_1936_24152,.inl_.inl_c_1929_24142,.inl_.inl_.inl_b_1914_1935_24147,.inl_.inl_.inl_.X2697_1913_1934_24146,.inl_.inl_b_1925_24141,.inl_.inl_.X2681_1924_24136,.inl_.inl_c_1921_24135,.inl_c_24166,.inl_.inl_b_1920_24133,.inl_.inl_.X2697_1919_24132,.inl_b_24125,.inl_.X2680_24124,.inl_.X2681_24119,.inl_c_24127,.inl_.X2679_24115,.inl_a_24111,.inl_.inl_c_1940_24103,.inl_.inl_.inl_b_1914_1946_24108,.inl_.inl_.inl_.X2697_1913_1945_24107,.inl_.inl_b_1936_24102,.inl_.inl_c_1929_24092,.inl_.inl_.inl_b_1914_1935_24097,.inl_.inl_.inl_.X2697_1913_1934_24096,.inl_.inl_b_1925_24091,.inl_.inl_.X2681_1924_24086,.inl_.inl_c_1921_24085,.inl_c_24116,.inl_.inl_b_1920_24083,.inl_.inl_.X2697_1919_24082,.inl_b_24075,.inl_.X2680_24074,.inl_.X2681_24069,.inl_c_24077,.inl_.X2679_24065,.inl_a_24061,.inl_.inl_c_1940_24053,.inl_.inl_.inl_b_1914_1946_24058,.inl_.inl_.inl_.X2697_1913_1945_24057,.inl_.inl_b_1936_24052,.inl_.inl_c_1929_24042,.inl_.inl_.inl_b_1914_1935_24047,.inl_.inl_.inl_.X2697_1913_1934_24046,.inl_.inl_b_1925_24041,.inl_.inl_.X2681_1924_24036,.inl_.inl_c_1921_24035,.inl_c_24066,.inl_.inl_b_1920_24033,.inl_.inl_.X2697_1919_24032,.inl_b_24025,.inl_.X2680_24024,.inl_.X2681_24019,.inl_c_24027,.inl_.X2679_24015,.inl_a_24011,.inl_.inl_c_1940_24003,.inl_.inl_.inl_b_1914_1946_24008,.inl_.inl_.inl_.X2697_1913_1945_24007,.inl_.inl_b_1936_24002,.inl_.inl_c_1929_23992,.inl_.inl_.inl_b_1914_1935_23997,.inl_.inl_.inl_.X2697_1913_1934_23996,.inl_.inl_b_1925_23991,.inl_.inl_.X2681_1924_23986,.inl_.inl_c_1921_23985,.inl_c_24016,.inl_.inl_b_1920_23983,.inl_.inl_.X2697_1919_23982,.inl_b_23975,.inl_.X2680_23974,.inl_.X2681_23969,.inl_c_23977,.inl_.X2679_23965,.inl_a_23961,.inl_.inl_c_1940_23953,.inl_.inl_.inl_b_1914_1946_23958,.inl_.inl_.inl_.X2697_1913_1945_23957,.inl_.inl_b_1936_23952,.inl_.inl_c_1929_23942,.inl_.inl_.inl_b_1914_1935_23947,.inl_.inl_.inl_.X2697_1913_1934_23946,.inl_.inl_b_1925_23941,.inl_.inl_.X2681_1924_23936,.inl_.inl_c_1921_23935,.inl_c_23966,.inl_.inl_b_1920_23933,.inl_.inl_.X2697_1919_23932,.inl_b_23925,.inl_.X2680_23924,.inl_.X2681_23919,.inl_c_23927,.inl_.X2679_23915,.inl_a_23911,.inl_.inl_c_1940_23882,.inl_.inl_.inl_b_1914_1946_23887,.inl_.inl_.inl_.X2697_1913_1945_23886,.inl_.inl_b_1936_23881,.inl_.inl_c_1929_23871,.inl_.inl_.inl_b_1914_1935_23876,.inl_.inl_.inl_.X2697_1913_1934_23875,.inl_.inl_b_1925_23870,.inl_.inl_.X2681_1924_23865,.inl_.inl_c_1921_23864,.inl_c_23916,.inl_.inl_b_1920_23862,.inl_.inl_.X2697_1919_23861,.inl_b_23854,.inl_.X2680_23853,.inl_.X2681_23848,.inl_c_23856,.inl_.X2679_23844,.inl_a_23840,.inl_.inl_c_1940_23832,.inl_.inl_.inl_b_1914_1946_23837,.inl_.inl_.inl_.X2697_1913_1945_23836,.inl_.inl_b_1936_23831,.inl_.inl_c_1929_23821,.inl_.inl_.inl_b_1914_1935_23826,.inl_.inl_.inl_.X2697_1913_1934_23825,.inl_.inl_b_1925_23820,.inl_.inl_.X2681_1924_23815,.inl_.inl_c_1921_23814,.inl_c_23845,.inl_.inl_b_1920_23812,.inl_.inl_.X2697_1919_23811,.inl_b_23804,.inl_.X2680_23803,.inl_.X2681_23798,.inl_c_23806,.inl_.X2679_23794,.inl_a_23790,.inl_.inl_c_1940_23782,.inl_.inl_.inl_b_1914_1946_23787,.inl_.inl_.inl_.X2697_1913_1945_23786,.inl_.inl_b_1936_23781,.inl_.inl_c_1929_23771,.inl_.inl_.inl_b_1914_1935_23776,.inl_.inl_.inl_.X2697_1913_1934_23775,.inl_.inl_b_1925_23770,.inl_.inl_.X2681_1924_23765,.inl_.inl_c_1921_23764,.inl_c_23795,.inl_.inl_b_1920_23762,.inl_.inl_.X2697_1919_23761,.inl_b_23754,.inl_.X2680_23753,.inl_.X2681_23748,.inl_c_23756,.inl_.X2679_23744,.inl_a_23740,_particle_save,.inl_c_24329,.inl_.inl_c_1929_24344,.inl_.inl_.inl_b_1914_1935_24349,.inl_.inl_.inl_.X2697_1913_1934_24348,.inl_.inl_b_1925_24343,.inl_.inl_c_1921_24337,.inl_.inl_.inl_.X2697_1913_1945_24359,.inl_.inl_.X2697_1919_24334,.inl_.inl_b_1920_24335,.inl_.X2681_24321,.inl_.inl_b_1936_24354,.inl_c_23745,.inl_.inl_.inl_b_1914_1946_24360,.inl_.inl_.X2681_1924_24338,.inl_a_24313,.inl_.X2679_24317,.inl_.X2680_24326,.inl_b_24327,.inl_.inl_c_1940_24355 20262, Scalar last value needed after loop for mcallowbackprop at line 19573 20484, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20488, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20484, Local memory used for .inl_.inl_c_1940_24455,.inl_.inl_.inl_b_1914_1946_24460,.inl_.inl_.inl_.X2697_1913_1945_24459,.inl_.inl_b_1936_24454,.inl_.inl_c_1929_24444,.inl_.inl_.inl_b_1914_1935_24449,.inl_.inl_.inl_.X2697_1913_1934_24448,.inl_.inl_b_1925_24443,.inl_.inl_.X2681_1924_24438,.inl_.inl_c_1921_24437,.inl_c_24499,.inl_.inl_b_1920_24435,.inl_.inl_.X2697_1919_24434,.inl_b_24427,.inl_.X2680_24426,.inl_.X2681_24421,.inl_c_24429,.inl_.X2679_24417,.inl_a_24413,.inl_.inl_c_1940_24405,.inl_.inl_.inl_b_1914_1946_24410,.inl_.inl_.inl_.X2697_1913_1945_24409,.inl_.inl_b_1936_24404,.inl_.inl_c_1929_24394,.inl_.inl_.inl_b_1914_1935_24399,.inl_.inl_.inl_.X2697_1913_1934_24398,.inl_.inl_b_1925_24393,.inl_.inl_.X2681_1924_24388,.inl_.inl_c_1921_24387,.inl_c_24418,.inl_.inl_b_1920_24385,.inl_.inl_.X2697_1919_24384,.inl_b_24377,.inl_.X2680_24376,.inl_.X2681_24371,.inl_c_24379,.inl_.X2679_24367,.inl_a_24363,_particle_save,.inl_c_24510,.inl_.inl_c_1929_24525,.inl_.inl_.inl_b_1914_1935_24530,.inl_.inl_.inl_.X2697_1913_1934_24529,.inl_.inl_b_1925_24524,.inl_.inl_c_1921_24518,.inl_.inl_.inl_.X2697_1913_1945_24540,.inl_.inl_.X2697_1919_24515,.inl_.inl_b_1920_24516,.inl_.X2681_24502,.inl_.inl_b_1936_24535,.inl_c_24368,.inl_.inl_.inl_b_1914_1946_24541,.inl_.inl_.X2681_1924_24519,.inl_a_24494,.inl_.X2679_24498,.inl_.X2680_24507,.inl_b_24508,.inl_.inl_c_1940_24536 finally: 21254, Generating update self(_Eiger9M_var,_sample_var,_arm_var,_bragg_crystal_two_var,_arm_two_var,_bragg_crystal_out_var,_Origin_var,_bragg_crystal_location_var,_hpm_in_yz_plane_var,_hfm_var,_hpm_takeoff_var,_hpm_location_var,_vfm_in_xz_plane_var,_undulator_var,_vfm_var,_vfm_takeoff_var,_vfm_location_var,_bragg_crystal_var,_hfm_takeoff_var,_hfm_location_var,_sample_monitor_var,_psd4pi_var,_sample_stage_var,_instrument_var,_hpm_var) mcenabletrace: 5984, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvclqSBkHBpLcHhK.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2025-05-14/McXtrace_8GPU_openacc_1e7_Linux_1e7/SOLEIL_PX2a/./SOLEIL_PX2a.c:13615: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===