INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_MARS_20250514_150902" INFO: Regenerating c-file: SOLEIL_MARS.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./SOLEIL_MARS.c SOLEIL_MARS.instr Warning: Component Sample=PowderN() at line SOLEIL_MARS.instr:314 is 1st in GROUP samples and has a SPLIT. Best practice is to move the SPLIT to an earlier component. CFLAGS= -std=c99 @XRLFLAGS@ -DUSE_OFF -DFUNNEL WARNING: The parameter format of Sample is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter mat_format of Sample is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component Sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Sample Component SampleF is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component SampleF -> GPU kernel from component detector_diffraction ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_MARS.out --> pointing path miniconda3/lib to /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib --> pointing path miniconda3/lib to /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib --> pointing path miniconda3/include to /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include DEBUG: CMD: nvc -o ./SOLEIL_MARS.out ./SOLEIL_MARS.c -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 -std=c99 -Wl,-rpath,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -lxrl -I/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -DUSE_OFF -DFUNNEL "./SOLEIL_MARS.c", line 85: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./SOLEIL_MARS.c", line 87: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double kx, double ky, double kz, ^ "./SOLEIL_MARS.c", line 90: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcphoton, double *x, double *y, double *z, double *kx, double *ky, double *kz, ^ "./SOLEIL_MARS.c", line 105: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_MARS.c", line 109: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_MARS.c", line 138: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_MARS.c", line 109: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_MARS.c", line 168: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./SOLEIL_MARS.c", line 191: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./SOLEIL_MARS.c", line 202: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./SOLEIL_MARS.c", line 213: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./SOLEIL_MARS.c", line 223: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./SOLEIL_MARS.c", line 295: 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_MARS.c", line 297: 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_MARS.c", line 647: 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_MARS.c", line 868: 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_MARS.c", line 885: 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_MARS.c", line 887: 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_MARS.c", line 895: 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_MARS.c", line 897: 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_MARS.c", line 899: 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_MARS.c", line 901: 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_MARS.c", line 903: 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_MARS.c", line 999: 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_MARS.c", line 1001: 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_MARS.c", line 1003: 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_MARS.c", line 1005: 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_MARS.c", line 1007: 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_MARS.c", line 1009: 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_MARS.c", line 1011: 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_MARS.c", line 1013: 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_MARS.c", line 1015: 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_MARS.c", line 4561: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_MARS.c", line 5016: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_MARS.c", line 4935: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_MARS.c", line 6262: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 6713: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_MARS.c", line 6886: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_MARS.c", line 7233: 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_MARS.c", line 7397: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_MARS.c", line 8497: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_MARS.c", line 9026: warning: variable "y0" is used before its value is set [used_before_set] if (y0 < ymin) y0=ymin; ^ "./SOLEIL_MARS.c", line 9028: warning: variable "y1" is used before its value is set [used_before_set] if (y1 < ymin) y1=ymin; ^ "./SOLEIL_MARS.c", line 9229: 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_MARS.c", line 9231: 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_MARS.c", line 9238: 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_MARS.c", line 9258: 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_MARS.c", line 9260: 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_MARS.c", line 9262: 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_MARS.c", line 10808: 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_MARS.c", line 10831: 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_MARS.c", line 10852: 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_MARS.c", line 10935: 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_MARS.c", line 10940: 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_MARS.c", line 10949: 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_MARS.c", line 10975: 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_MARS.c", line 10978: warning: variable "minx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./SOLEIL_MARS.c", line 10978: warning: variable "maxx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./SOLEIL_MARS.c", line 10978: warning: variable "miny" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./SOLEIL_MARS.c", line 10978: warning: variable "maxy" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./SOLEIL_MARS.c", line 10978: warning: variable "minz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./SOLEIL_MARS.c", line 10978: warning: variable "maxz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./SOLEIL_MARS.c", line 11038: 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_MARS.c", line 11168: 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_MARS.c", line 11212: 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_MARS.c", line 11335: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_MARS.c", line 11449: 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_MARS.c", line 11461: 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_MARS.c", line 11496: 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_MARS.c", line 11748: 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_MARS.c", line 11754: 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_MARS.c", line 11815: 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) ^ "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./SOLEIL_MARS.c", line 12277: 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_MARS.c", line 12279: 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_MARS.c", line 12281: 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_MARS.c", line 12284: 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_MARS.c", line 12286: 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_MARS.c", line 12288: 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_MARS.c", line 12290: 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_MARS.c", line 12292: 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_MARS.c", line 12294: 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_MARS.c", line 12296: 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_MARS.c", line 12341: warning: conversion from pointer to smaller integer [pointer_conversion_loses_bits] int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_MARS.c", line 12319: warning: variable "status" was declared but never referenced [declared_but_not_referenced] int status; ^ "./SOLEIL_MARS.c", line 12430: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 12629: warning: variable "R" was declared but never referenced [declared_but_not_referenced] double b_mu,R; ^ "./SOLEIL_MARS.c", line 12689: warning: variable "k2" is used before its value is set [used_before_set] qpd=csqrt(q*q - 8*k2* *(pp->delta) + I*8*k2* *(pp->beta)); ^ "./SOLEIL_MARS.c", line 12684: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 12707: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 12864: 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_MARS.c", line 12870: 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_MARS.c", line 12876: 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_MARS.c", line 12883: 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_MARS.c", line 12893: 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_MARS.c", line 12899: 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_MARS.c", line 13333: warning: variable "theta0" was declared but never referenced [declared_but_not_referenced] double lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./SOLEIL_MARS.c", line 13828: warning: Routine "calc_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int calc_xsect(double k, double *q, double *my_s_k2, int count, double *sum, ^ "./SOLEIL_MARS.c", line 13869: warning: Routine "calc_abs_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int calc_abs_xsect(double k, double *abs, struct line_info_struct *line_info){ ^ "./SOLEIL_MARS.c", line 13879: warning: Routine "calc_inc_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int calc_inc_xsect(double k, double *inc, struct line_info_struct *line_info){ ^ "./SOLEIL_MARS.c", line 14856: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_MARS.c", line 14844: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_MARS.c", line 14901: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_MARS.c", line 14982: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_MARS.c", line 15096: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_MARS.c", line 15168: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_MARS.c", line 15242: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_MARS.c", line 15316: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_MARS.c", line 15365: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_MARS.c", line 15414: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_MARS.c", line 15482: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_MARS.c", line 15531: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_MARS.c", line 15580: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_MARS.c", line 15629: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_MARS.c", line 15714: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_MARS.c", line 15763: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_MARS.c", line 15848: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_MARS.c", line 15897: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_MARS.c", line 15965: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_MARS.c", line 16037: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_MARS.c", line 16105: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_MARS.c", line 16154: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_MARS.c", line 16203: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_MARS.c", line 16271: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_MARS.c", line 16320: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_MARS.c", line 16369: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SOLEIL_MARS.c", line 16443: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SOLEIL_MARS.c", line 16517: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SOLEIL_MARS.c", line 16585: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SOLEIL_MARS.c", line 16657: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./SOLEIL_MARS.c", line 16782: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./SOLEIL_MARS.c", line 16896: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./SOLEIL_MARS.c", line 17010: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./SOLEIL_MARS.c", line 17445: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_MARS.c", line 17445: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_MARS.c", line 17446: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_MARS.c", line 17446: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_MARS.c", line 17446: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_MARS.c", line 17554: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17606: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17668: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./SOLEIL_MARS.c", line 17923: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 18420: 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_MARS.c", line 18511: warning: Routine "class_Bending_magnet_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Bending_magnet_trace(_class_Bending_magnet *_comp ^ "./SOLEIL_MARS.c", line 18539: warning: variable "z1" was set but never used [set_but_not_used] double xx,yy,x1,y1,z1; ^ "./SOLEIL_MARS.c", line 18541: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1=1.0; ^ "./SOLEIL_MARS.c", line 18665: 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_MARS.c", line 18701: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_MARS.c", line 18884: 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_MARS.c", line 18905: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./SOLEIL_MARS.c", line 18906: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e,p2; ^ "./SOLEIL_MARS.c", line 18975: 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_MARS.c", line 19045: 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_MARS.c", line 19154: 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_MARS.c", line 19234: warning: variable "Ex0" was declared but never referenced [declared_but_not_referenced] double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./SOLEIL_MARS.c", line 19234: warning: variable "Ey0" was declared but never referenced [declared_but_not_referenced] double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./SOLEIL_MARS.c", line 19234: warning: variable "Ez0" was declared but never referenced [declared_but_not_referenced] double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./SOLEIL_MARS.c", line 19190: warning: variable "Thetaout" was declared but never referenced [declared_but_not_referenced] double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./SOLEIL_MARS.c", line 19349: 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_MARS.c", line 19424: warning: Routine "class_PowderN_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PowderN_trace(_class_PowderN *_comp ^ "./SOLEIL_MARS.c", line 19471: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./SOLEIL_MARS.c", line 19472: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./SOLEIL_MARS.c", line 19475: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./SOLEIL_MARS.c", line 19476: warning: variable "nb_refl" was declared but never referenced [declared_but_not_referenced] int nb_refl = line_info.nb_refl; ^ "./SOLEIL_MARS.c", line 19477: warning: variable "nb_refl_count" was declared but never referenced [declared_but_not_referenced] int nb_refl_count = line_info.nb_refl_count; ^ "./SOLEIL_MARS.c", line 19478: warning: variable "kcache" was declared but never referenced [declared_but_not_referenced] double kcache = line_info.k; ^ "./SOLEIL_MARS.c", line 19480: warning: variable "k_min" was declared but never referenced [declared_but_not_referenced] double k_min = line_info.k_min; ^ "./SOLEIL_MARS.c", line 19481: warning: variable "k_max" was declared but never referenced [declared_but_not_referenced] double k_max = line_info.k_max; ^ "./SOLEIL_MARS.c", line 19482: warning: variable "lfree" was declared but never referenced [declared_but_not_referenced] double lfree = line_info.lfree; ^ "./SOLEIL_MARS.c", line 19484: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./SOLEIL_MARS.c", line 19485: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./SOLEIL_MARS.c", line 19486: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./SOLEIL_MARS.c", line 19490: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./SOLEIL_MARS.c", line 20143: warning: subscript out of range [subscript_out_of_range] xs[FLUORESCENCE]=xs[COMPTON]=xs[RAYLEIGH]=xs[TRANSMISSION]=sigma_barn=0; ^ "./SOLEIL_MARS.c", line 20136: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_MARS.c", line 23375: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_MARS.c", line 23376: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_MARS.c", line 1498: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_MARS.c", line 2918: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 98, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 112, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 145, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 170, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 193, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 204, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 213, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 223, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1546, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1550, Generating acc routine seq Generating NVIDIA GPU code str_len: 1559, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4182, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4613, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4624, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4633, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4645, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4657, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4667, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4677, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4685, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4695, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4717, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4724, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4770, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4805, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4816, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4833, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4844, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4860, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4889, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4900, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4904, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4939, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4946, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4955, #pragma acc loop seq 4939, Generating implicit copy(lens[:]) [if not already present] 4946, Generating implicit firstprivate(ll,l) 4957, Accelerator restriction: induction variable live-out from loop: i 4958, Accelerator restriction: induction variable live-out from loop: i 4959, Accelerator restriction: induction variable live-out from loop: i 4960, Accelerator restriction: induction variable live-out from loop: i 4962, Accelerator restriction: induction variable live-out from loop: j 4963, Accelerator restriction: induction variable live-out from loop: j 4964, Accelerator restriction: induction variable live-out from loop: j 4965, Accelerator restriction: induction variable live-out from loop: j 4987, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4991, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4994, #pragma acc loop seq 4987, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 4994, Generating implicit firstprivate(l) 5011, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5015, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5022, #pragma acc loop seq 5011, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5081, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5112, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5129, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5228, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5312, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5378, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5455, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5727, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5739, Generating acc routine seq Generating NVIDIA GPU code _hash: 5771, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5812, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5823, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5828, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5836, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5844, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5851, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6514, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6547, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6608, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6624, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6710, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6778, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 7031, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8082, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10028, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10096, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10175, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10643, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10659, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10677, Generating acc routine seq Generating NVIDIA GPU code off_F: 10935, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10940, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10950, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 10976, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11039, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11170, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11215, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11332, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11450, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11462, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11497, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11748, Generating acc routine seq Generating NVIDIA GPU code merge: 11755, Generating acc routine seq Generating NVIDIA GPU code gpusort: 11816, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11859, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 11874, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 11928, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12045, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12067, Generating acc routine seq Generating NVIDIA GPU code reflec_coating: 12613, Generating acc routine seq Generating NVIDIA GPU code reflec_bare: 12645, Generating acc routine seq Generating NVIDIA GPU code reflec_kinematic: 12649, Generating acc routine seq Generating NVIDIA GPU code reflec_q_prmtc: 12659, Generating acc routine seq Generating NVIDIA GPU code reflec_eth_prmtc: 12671, Generating acc routine seq Generating NVIDIA GPU code reflec_parratt: 12681, Generating acc routine seq Generating NVIDIA GPU code parrat_reflec_bulk: 12704, Generating acc routine seq Generating NVIDIA GPU code refleccq: 12728, Generating acc routine seq Generating NVIDIA GPU code reflecq: 12779, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 12919, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 13008, Generating acc routine seq Generating NVIDIA GPU code cross: 13076, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 13091, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 13224, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 13331, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 13829, Generating acc routine seq Generating NVIDIA GPU code calc_abs_xsect: 13869, Generating acc routine seq Generating NVIDIA GPU code calc_inc_xsect: 13879, Generating acc routine seq Generating NVIDIA GPU code init: 18380, Generating update device(_mirror_M2_var,_Sample_var,_displaySlit2_var,_displaySourceLength_var,_origin_var,_slit1_var,_M1_arm_rotation_2_var,_instrument_var,_M1_arm_rotation_2_undo_var,_M1_arm_rotation_1_var,_Source_var,_dcm1_var,_beam_arm_before_crystal_var,_dcm_xtal0_var,_dcm0_var,_displaySource_var,_displayMonoLength_var,_detector_fluo_var,_M2_arm_rotation_2_var,_M1_arm_translation_var,_mirror_M1_var,_M2_arm_rotation_2_undo_var,_M2_arm_rotation_1_var,_slit2_var,_slitSecon2_var,_slitSecon1_var,_emon_dcm0_var,_displayMono_var,_SampleF_var,_M2_arm_translation_var,_dcm_xtal1_var,_detector_diffraction_var,_emon_dcm1_var) class_Progress_bar_trace: 18421, Generating acc routine seq Generating NVIDIA GPU code class_Bending_magnet_trace: 18512, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18666, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 18885, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 18976, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 19046, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 19155, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 19350, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 19425, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 21081, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21085, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21081, Local memory used for .inl_.inl_mcphoton_0_25674,.inl_particle_25658,.inl_.X2413_25676,.inl_.inl_.X2630_13_25675 21085, Generating implicit private(_particle,seed) 21095, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21100, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21095, Local memory used for .inl_.inl_c_1928_26642,.inl_.inl_.inl_b_1902_1934_26647,.inl_.inl_.inl_.X2595_1901_1933_26646,.inl_.inl_b_1924_26641,.inl_.inl_c_1917_26631,.inl_.inl_.inl_b_1902_1923_26636,.inl_.inl_.inl_.X2595_1901_1922_26635,.inl_.inl_b_1913_26630,.inl_.inl_.X2579_1912_26625,.inl_.inl_c_1909_26624,.inl_c_26698,.inl_.inl_b_1908_26622,.inl_.inl_.X2595_1907_26621,.inl_b_26614,.inl_.X2578_26613,.inl_.X2579_26608,.inl_c_26616,.inl_.X2577_26604,.inl_a_26600,.inl_.inl_.X2578_9499_26581,.inl_.inl_c_1928_26549,.inl_.inl_.inl_b_1902_1934_26554,.inl_.inl_.inl_.X2595_1901_1933_26553,.inl_.inl_b_1924_26548,.inl_.inl_c_1917_26538,.inl_.inl_.inl_b_1902_1923_26543,.inl_.inl_.inl_.X2595_1901_1922_26542,.inl_.inl_b_1913_26537,.inl_.inl_.X2579_1912_26532,.inl_.inl_c_1909_26531,.inl_c_26605,.inl_.inl_b_1908_26529,.inl_.inl_.X2595_1907_26528,.inl_b_26521,.inl_.X2578_26520,.inl_.X2579_26515,.inl_c_26523,.inl_.X2577_26511,.inl_a_26507,.inl_.inl_.X2578_9499_26073,.inl_.inl_c_1928_26499,.inl_.inl_.inl_b_1902_1934_26504,.inl_.inl_.inl_.X2595_1901_1933_26503,.inl_.inl_b_1924_26498,.inl_.inl_c_1917_26488,.inl_.inl_.inl_b_1902_1923_26493,.inl_.inl_.inl_.X2595_1901_1922_26492,.inl_.inl_b_1913_26487,.inl_.inl_.X2579_1912_26482,.inl_.inl_c_1909_26481,.inl_c_26512,.inl_.inl_b_1908_26479,.inl_.inl_.X2595_1907_26478,.inl_b_26471,.inl_.X2578_26470,.inl_.X2579_26465,.inl_c_26473,.inl_.X2577_26461,.inl_a_26457,.inl_.inl_c_1928_26428,.inl_.inl_.inl_b_1902_1934_26433,.inl_.inl_.inl_.X2595_1901_1933_26432,.inl_.inl_b_1924_26427,.inl_.inl_c_1917_26417,.inl_.inl_.inl_b_1902_1923_26422,.inl_.inl_.inl_.X2595_1901_1922_26421,.inl_.inl_b_1913_26416,.inl_.inl_.X2579_1912_26411,.inl_.inl_c_1909_26410,.inl_c_26462,.inl_.inl_b_1908_26408,.inl_.inl_.X2595_1907_26407,.inl_b_26400,.inl_.X2578_26399,.inl_.X2579_26394,.inl_c_26402,.inl_.X2577_26390,.inl_a_26386,.inl_.inl_c_1928_26355,.inl_.inl_.inl_b_1902_1934_26360,.inl_.inl_.inl_.X2595_1901_1933_26359,.inl_.inl_b_1924_26354,.inl_.inl_c_1917_26344,.inl_.inl_.inl_b_1902_1923_26349,.inl_.inl_.inl_.X2595_1901_1922_26348,.inl_.inl_b_1913_26343,.inl_.inl_.X2579_1912_26338,.inl_.inl_c_1909_26337,.inl_c_26391,.inl_.inl_b_1908_26335,.inl_.inl_.X2595_1907_26334,.inl_b_26327,.inl_.X2578_26326,.inl_.X2579_26321,.inl_c_26329,.inl_.X2577_26317,.inl_a_26313,.inl_.inl_c_1928_26284,.inl_.inl_.inl_b_1902_1934_26289,.inl_.inl_.inl_.X2595_1901_1933_26288,.inl_.inl_b_1924_26283,.inl_.inl_c_1917_26273,.inl_.inl_.inl_b_1902_1923_26278,.inl_.inl_.inl_.X2595_1901_1922_26277,.inl_.inl_b_1913_26272,.inl_.inl_.X2579_1912_26267,.inl_.inl_c_1909_26266,.inl_c_26318,.inl_.inl_b_1908_26264,.inl_.inl_.X2595_1907_26263,.inl_b_26256,.inl_.X2578_26255,.inl_.X2579_26250,.inl_c_26258,.inl_.X2577_26246,.inl_a_26242,.inl_.inl_c_1928_26234,.inl_.inl_.inl_b_1902_1934_26239,.inl_.inl_.inl_.X2595_1901_1933_26238,.inl_.inl_b_1924_26233,.inl_.inl_c_1917_26223,.inl_.inl_.inl_b_1902_1923_26228,.inl_.inl_.inl_.X2595_1901_1922_26227,.inl_.inl_b_1913_26222,.inl_.inl_.X2579_1912_26217,.inl_.inl_c_1909_26216,.inl_c_26247,.inl_.inl_b_1908_26214,.inl_.inl_.X2595_1907_26213,.inl_b_26206,.inl_.X2578_26205,.inl_.X2579_26200,.inl_c_26208,.inl_.X2577_26196,.inl_a_26192,.inl_.inl_c_1928_26184,.inl_.inl_.inl_b_1902_1934_26189,.inl_.inl_.inl_.X2595_1901_1933_26188,.inl_.inl_b_1924_26183,.inl_.inl_c_1917_26173,.inl_.inl_.inl_b_1902_1923_26178,.inl_.inl_.inl_.X2595_1901_1922_26177,.inl_.inl_b_1913_26172,.inl_.inl_.X2579_1912_26167,.inl_.inl_c_1909_26166,.inl_c_26197,.inl_.inl_b_1908_26164,.inl_.inl_.X2595_1907_26163,.inl_b_26156,.inl_.X2578_26155,.inl_.X2579_26150,.inl_c_26158,.inl_.X2577_26146,.inl_a_26142,.inl_.inl_c_1928_26134,.inl_.inl_.inl_b_1902_1934_26139,.inl_.inl_.inl_.X2595_1901_1933_26138,.inl_.inl_b_1924_26133,.inl_.inl_c_1917_26123,.inl_.inl_.inl_b_1902_1923_26128,.inl_.inl_.inl_.X2595_1901_1922_26127,.inl_.inl_b_1913_26122,.inl_.inl_.X2579_1912_26117,.inl_.inl_c_1909_26116,.inl_c_26147,.inl_.inl_b_1908_26114,.inl_.inl_.X2595_1907_26113,.inl_b_26106,.inl_.X2578_26105,.inl_.X2579_26100,.inl_c_26108,.inl_.X2577_26096,.inl_a_26092,.inl_.inl_c_1928_26041,.inl_.inl_.inl_b_1902_1934_26046,.inl_.inl_.inl_.X2595_1901_1933_26045,.inl_.inl_b_1924_26040,.inl_.inl_c_1917_26030,.inl_.inl_.inl_b_1902_1923_26035,.inl_.inl_.inl_.X2595_1901_1922_26034,.inl_.inl_b_1913_26029,.inl_.inl_.X2579_1912_26024,.inl_.inl_c_1909_26023,.inl_c_26097,.inl_.inl_b_1908_26021,.inl_.inl_.X2595_1907_26020,.inl_b_26013,.inl_.X2578_26012,.inl_.X2579_26007,.inl_c_26015,.inl_.X2577_26003,.inl_a_25999,.inl_.inl_.X2578_9499_25980,.inl_.inl_c_1928_25948,.inl_.inl_.inl_b_1902_1934_25953,.inl_.inl_.inl_.X2595_1901_1933_25952,.inl_.inl_b_1924_25947,.inl_.inl_c_1917_25937,.inl_.inl_.inl_b_1902_1923_25942,.inl_.inl_.inl_.X2595_1901_1922_25941,.inl_.inl_b_1913_25936,.inl_.inl_.X2579_1912_25931,.inl_.inl_c_1909_25930,.inl_c_26004,.inl_.inl_b_1908_25928,.inl_.inl_.X2595_1907_25927,.inl_b_25920,.inl_.X2578_25919,.inl_.X2579_25914,.inl_c_25922,.inl_.X2577_25910,.inl_a_25906,.inl_.X2579_26701,.inl_.inl_c_1928_25875,.inl_.inl_.inl_b_1902_1934_25880,.inl_.inl_.inl_.X2595_1901_1933_25879,.inl_.inl_b_1924_25874,.inl_.inl_c_1917_25864,.inl_.inl_.inl_b_1902_1923_25869,.inl_.inl_.inl_.X2595_1901_1922_25868,.inl_.inl_b_1913_25863,.inl_.inl_.X2579_1912_25858,.inl_.inl_c_1909_25857,.inl_c_25911,.inl_.inl_b_1908_25855,.inl_.inl_.X2595_1907_25854,.inl_b_25847,.inl_.X2578_25846,.inl_.X2579_25841,.inl_c_25849,.inl_.X2577_25837,.inl_a_25833,.inl_.inl_c_1928_25825,.inl_.inl_.inl_b_1902_1934_25830,.inl_.inl_.inl_.X2595_1901_1933_25829,.inl_.inl_b_1924_25824,.inl_.inl_c_1917_25814,.inl_.inl_.inl_b_1902_1923_25819,.inl_.inl_.inl_.X2595_1901_1922_25818,.inl_.inl_b_1913_25813,.inl_.inl_.X2579_1912_25808,.inl_.inl_c_1909_25807,.inl_c_25838,.inl_.inl_b_1908_25805,.inl_.inl_.X2595_1907_25804,.inl_b_25797,.inl_.X2578_25796,.inl_.X2579_25791,.inl_c_25799,.inl_.X2577_25787,.inl_a_25783,.inl_.inl_c_1928_25775,.inl_.inl_.inl_b_1902_1934_25780,.inl_.inl_.inl_.X2595_1901_1933_25779,.inl_.inl_b_1924_25774,.inl_.inl_c_1917_25764,.inl_.inl_.inl_b_1902_1923_25769,.inl_.inl_.inl_.X2595_1901_1922_25768,.inl_.inl_b_1913_25763,.inl_.inl_.X2579_1912_25758,.inl_.inl_c_1909_25757,.inl_c_25788,.inl_.inl_b_1908_25755,.inl_.inl_.X2595_1907_25754,.inl_b_25747,.inl_.X2578_25746,.inl_.X2579_25741,.inl_c_25749,.inl_.X2577_25737,.inl_a_25733,.inl_.inl_c_1928_25723,.inl_.inl_.inl_b_1902_1934_25728,.inl_.inl_.inl_.X2595_1901_1933_25727,.inl_.inl_b_1924_25722,.inl_.inl_c_1917_25712,.inl_.inl_.inl_b_1902_1923_25717,.inl_.inl_.inl_.X2595_1901_1922_25716,.inl_.inl_b_1913_25711,.inl_.inl_.X2579_1912_25706,.inl_.inl_c_1909_25705,.inl_c_25738,.inl_.inl_b_1908_25703,.inl_.inl_.X2595_1907_25702,.inl_b_25695,.inl_.X2578_25694,.inl_.X2579_25689,.inl_c_25697,.inl_.X2577_25685,.inl_a_25681,_particle_save,.inl_c_26709,.inl_.inl_c_1917_26724,.inl_.inl_.inl_b_1902_1923_26729,.inl_.inl_.inl_.X2595_1901_1922_26728,.inl_.inl_b_1913_26723,.inl_.inl_c_1909_26717,.inl_.inl_.inl_.X2595_1901_1933_26739,.inl_.inl_.X2595_1907_26714,.inl_.inl_b_1908_26715,.inl_.inl_.X2578_9499_26674,.inl_.inl_b_1924_26734,.inl_c_25686,.inl_.inl_.inl_b_1902_1934_26740,.inl_.inl_.X2579_1912_26718,.inl_a_26693,.inl_.X2577_26697,.inl_.X2578_26706,.inl_b_26707,.inl_.inl_c_1928_26735 21417, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21421, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21417, Local memory used for _particle_save 21469, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21472, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21469, Local memory used for _particle_save finally: 22204, Generating update self(_mirror_M2_var,_Sample_var,_displaySlit2_var,_displaySourceLength_var,_origin_var,_slit1_var,_M1_arm_rotation_2_var,_instrument_var,_M1_arm_rotation_2_undo_var,_M1_arm_rotation_1_var,_Source_var,_dcm1_var,_beam_arm_before_crystal_var,_dcm_xtal0_var,_dcm0_var,_displaySource_var,_displayMonoLength_var,_detector_fluo_var,_M2_arm_rotation_2_var,_M1_arm_translation_var,_mirror_M1_var,_M2_arm_rotation_2_undo_var,_M2_arm_rotation_1_var,_slit2_var,_slitSecon1_var,_slitSecon2_var,_emon_dcm0_var,_displayMono_var,_SampleF_var,_M2_arm_translation_var,_dcm_xtal1_var,_detector_diffraction_var,_emon_dcm1_var) mcenabletrace: 5971, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcmCiBkKTyjGmj0.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2025-05-14/McXtrace_8GPU_openacc_1e7_Linux_1e7/SOLEIL_MARS/./SOLEIL_MARS.c:13563: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===