INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_MARS_20260315_154142" 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 -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -std=c99 -Wl,-rpath,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -lxrl -I/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -DUSE_OFF -DFUNNEL "./SOLEIL_MARS.c", line 86: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./SOLEIL_MARS.c", line 88: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double kx, double ky, double kz, ^ "./SOLEIL_MARS.c", line 91: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcphoton, double *x, double *y, double *z, double *kx, double *ky, double *kz, ^ "./SOLEIL_MARS.c", line 104: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_MARS.c", line 108: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_MARS.c", line 137: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_MARS.c", line 108: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_MARS.c", line 167: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./SOLEIL_MARS.c", line 190: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./SOLEIL_MARS.c", line 201: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./SOLEIL_MARS.c", line 212: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./SOLEIL_MARS.c", line 222: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./SOLEIL_MARS.c", line 289: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./SOLEIL_MARS.c", line 291: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./SOLEIL_MARS.c", line 642: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./SOLEIL_MARS.c", line 863: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./SOLEIL_MARS.c", line 880: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./SOLEIL_MARS.c", line 882: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./SOLEIL_MARS.c", line 890: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./SOLEIL_MARS.c", line 892: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./SOLEIL_MARS.c", line 894: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./SOLEIL_MARS.c", line 896: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./SOLEIL_MARS.c", line 898: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./SOLEIL_MARS.c", line 994: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./SOLEIL_MARS.c", line 996: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./SOLEIL_MARS.c", line 998: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./SOLEIL_MARS.c", line 1000: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./SOLEIL_MARS.c", line 1002: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./SOLEIL_MARS.c", line 1004: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./SOLEIL_MARS.c", line 1006: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./SOLEIL_MARS.c", line 1008: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./SOLEIL_MARS.c", line 1010: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./SOLEIL_MARS.c", line 4616: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_MARS.c", line 5071: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_MARS.c", line 4990: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_MARS.c", line 6317: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 6771: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_MARS.c", line 6944: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_MARS.c", line 7291: 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 7455: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_MARS.c", line 8555: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_MARS.c", line 9287: 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 9289: 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 9296: 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 9316: 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 9318: 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 9320: 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 10877: 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 10900: 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 10921: 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 11008: 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 11013: 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 11022: 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 11048: 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 11051: 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 11051: 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 11051: 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 11051: 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 11051: 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 11051: 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 11111: 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 11241: 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 11285: 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 11406: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_MARS.c", line 11518: 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 11530: 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 11565: 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 11821: 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 11827: 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 11892: 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 12354: 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 12356: 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 12358: 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 12361: 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 12363: 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 12365: 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 12367: 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 12369: 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 12371: 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 12373: 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 12418: warning: conversion from pointer to smaller integer [pointer_conversion_loses_bits] int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_MARS.c", line 12396: warning: variable "status" was declared but never referenced [declared_but_not_referenced] int status; ^ "./SOLEIL_MARS.c", line 12509: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 12722: warning: variable "R" was declared but never referenced [declared_but_not_referenced] double b_mu,R; ^ "./SOLEIL_MARS.c", line 12782: 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 12777: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 12800: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 12959: 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 12965: 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 12971: 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 12978: 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 12988: 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 12994: 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 13428: 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 13940: warning: Routine "calc_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] calc_xsect (double k, double* q, double* my_s_k2, int count, double* sum, struct line_info_struct* line_info) { ^ "./SOLEIL_MARS.c", line 13986: warning: Routine "calc_abs_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] calc_abs_xsect (double k, double* abs, struct line_info_struct* line_info) { ^ "./SOLEIL_MARS.c", line 13997: warning: Routine "calc_inc_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] calc_inc_xsect (double k, double* inc, struct line_info_struct* line_info) { ^ "./SOLEIL_MARS.c", line 14979: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_MARS.c", line 14967: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_MARS.c", line 15024: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_MARS.c", line 15105: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_MARS.c", line 15219: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_MARS.c", line 15291: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_MARS.c", line 15365: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_MARS.c", line 15439: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_MARS.c", line 15488: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_MARS.c", line 15537: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_MARS.c", line 15605: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_MARS.c", line 15654: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_MARS.c", line 15703: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_MARS.c", line 15752: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_MARS.c", line 15837: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_MARS.c", line 15886: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_MARS.c", line 15971: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_MARS.c", line 16020: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_MARS.c", line 16088: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_MARS.c", line 16160: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_MARS.c", line 16228: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_MARS.c", line 16277: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_MARS.c", line 16326: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_MARS.c", line 16394: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_MARS.c", line 16443: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_MARS.c", line 16492: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SOLEIL_MARS.c", line 16566: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SOLEIL_MARS.c", line 16640: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SOLEIL_MARS.c", line 16708: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SOLEIL_MARS.c", line 16780: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./SOLEIL_MARS.c", line 16905: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./SOLEIL_MARS.c", line 17015: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./SOLEIL_MARS.c", line 17129: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./SOLEIL_MARS.c", line 17571: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i, j; ^ "./SOLEIL_MARS.c", line 17571: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i, j; ^ "./SOLEIL_MARS.c", line 17572: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1, *p2, *p3; ^ "./SOLEIL_MARS.c", line 17572: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1, *p2, *p3; ^ "./SOLEIL_MARS.c", line 17572: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1, *p2, *p3; ^ "./SOLEIL_MARS.c", line 17688: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17743: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17811: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./SOLEIL_MARS.c", line 18065: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 18567: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_MARS.c", line 18579: 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 18659: 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 18687: warning: variable "z1" was set but never used [set_but_not_used] double xx, yy, x1, y1, z1; ^ "./SOLEIL_MARS.c", line 18689: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1 = 1.0; ^ "./SOLEIL_MARS.c", line 18814: 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 18850: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_MARS.c", line 19013: 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 19034: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i, j, k; ^ "./SOLEIL_MARS.c", line 19035: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e, p2; ^ "./SOLEIL_MARS.c", line 19103: 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 19175: 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 19282: 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 19374: 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 19374: 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 19374: 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 19318: 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 19503: 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 19576: 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 19623: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./SOLEIL_MARS.c", line 19624: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./SOLEIL_MARS.c", line 19627: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./SOLEIL_MARS.c", line 19628: warning: variable "nb_refl" was declared but never referenced [declared_but_not_referenced] int nb_refl = line_info.nb_refl; ^ "./SOLEIL_MARS.c", line 19629: 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 19630: warning: variable "kcache" was declared but never referenced [declared_but_not_referenced] double kcache = line_info.k; ^ "./SOLEIL_MARS.c", line 19632: warning: variable "k_min" was declared but never referenced [declared_but_not_referenced] double k_min = line_info.k_min; ^ "./SOLEIL_MARS.c", line 19633: warning: variable "k_max" was declared but never referenced [declared_but_not_referenced] double k_max = line_info.k_max; ^ "./SOLEIL_MARS.c", line 19634: warning: variable "lfree" was declared but never referenced [declared_but_not_referenced] double lfree = line_info.lfree; ^ "./SOLEIL_MARS.c", line 19636: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./SOLEIL_MARS.c", line 19637: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./SOLEIL_MARS.c", line 19638: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./SOLEIL_MARS.c", line 19642: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./SOLEIL_MARS.c", line 20314: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_MARS.c", line 23582: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_MARS.c", line 23583: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_MARS.c", line 1493: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_MARS.c", line 2962: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 97, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 111, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 144, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 169, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 192, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 203, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 212, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 222, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1541, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1545, Generating acc routine seq Generating NVIDIA GPU code str_len: 1554, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4234, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4668, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4679, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4688, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4700, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4712, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4722, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4732, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4740, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4750, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4772, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4779, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4825, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4860, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4871, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4888, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4899, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4915, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4944, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4955, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4959, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4994, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5001, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5010, #pragma acc loop seq 4994, Generating implicit copy(lens[:]) [if not already present] 5001, Generating implicit firstprivate(ll,l) 5012, Accelerator restriction: induction variable live-out from loop: i 5013, Accelerator restriction: induction variable live-out from loop: i 5014, Accelerator restriction: induction variable live-out from loop: i 5015, Accelerator restriction: induction variable live-out from loop: i 5017, Accelerator restriction: induction variable live-out from loop: j 5018, Accelerator restriction: induction variable live-out from loop: j 5019, Accelerator restriction: induction variable live-out from loop: j 5020, Accelerator restriction: induction variable live-out from loop: j 5042, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5046, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5049, #pragma acc loop seq 5042, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5049, Generating implicit firstprivate(l) 5066, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5070, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5077, #pragma acc loop seq 5066, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5136, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5167, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5184, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5283, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5367, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5433, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5510, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5782, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5794, Generating acc routine seq Generating NVIDIA GPU code _hash: 5826, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5867, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5878, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5883, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5891, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5899, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5906, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6569, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6605, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6666, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6682, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6768, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6836, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 7090, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8140, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10097, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10165, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10244, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10712, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10728, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10746, Generating acc routine seq Generating NVIDIA GPU code off_F: 11008, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11013, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11023, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11049, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11112, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11243, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11288, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11403, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11519, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11531, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11566, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11821, Generating acc routine seq Generating NVIDIA GPU code merge: 11828, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R gpusort: 11893, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11936, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 11951, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12005, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12122, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12144, Generating acc routine seq Generating NVIDIA GPU code reflec_coating: 12706, Generating acc routine seq Generating NVIDIA GPU code reflec_bare: 12738, Generating acc routine seq Generating NVIDIA GPU code reflec_kinematic: 12742, Generating acc routine seq Generating NVIDIA GPU code reflec_q_prmtc: 12752, Generating acc routine seq Generating NVIDIA GPU code reflec_eth_prmtc: 12764, Generating acc routine seq Generating NVIDIA GPU code reflec_parratt: 12774, Generating acc routine seq Generating NVIDIA GPU code parrat_reflec_bulk: 12797, Generating acc routine seq Generating NVIDIA GPU code refleccq: 12821, Generating acc routine seq Generating NVIDIA GPU code reflecq: 12873, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 13014, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 13103, Generating acc routine seq Generating NVIDIA GPU code cross: 13171, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 13186, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 13319, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 13426, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 13940, Generating acc routine seq Generating NVIDIA GPU code calc_abs_xsect: 13986, Generating acc routine seq Generating NVIDIA GPU code calc_inc_xsect: 13997, Generating acc routine seq Generating NVIDIA GPU code init: 18538, 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: 18580, Generating acc routine seq Generating NVIDIA GPU code class_Bending_magnet_trace: 18660, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18815, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 19014, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 19104, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 19176, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 19283, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 19504, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 19577, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 21296, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21300, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21300, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) 21309, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21314, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21309, Local memory used for .inl_.inl_c_1984_26523,.inl_.inl_.inl_b_1958_1990_26528,.inl_.inl_.inl_.X2749_1957_1989_26527,.inl_.inl_b_1980_26522,.inl_.inl_c_1973_26512,.inl_.inl_.inl_b_1958_1979_26517,.inl_.inl_.inl_.X2749_1957_1978_26516,.inl_.inl_b_1969_26511,.inl_.inl_.X2733_1968_26506,.inl_.inl_c_1965_26505,.inl_c_26579,.inl_.inl_b_1964_26503,.inl_.inl_.X2749_1963_26502,.inl_b_26495,.inl_.X2732_26494,.inl_.X2733_26489,.inl_c_26497,.inl_.X2731_26485,.inl_a_26481,.inl_.inl_.X2732_9570_26462,.inl_.inl_c_1984_26430,.inl_.inl_.inl_b_1958_1990_26435,.inl_.inl_.inl_.X2749_1957_1989_26434,.inl_.inl_b_1980_26429,.inl_.inl_c_1973_26419,.inl_.inl_.inl_b_1958_1979_26424,.inl_.inl_.inl_.X2749_1957_1978_26423,.inl_.inl_b_1969_26418,.inl_.inl_.X2733_1968_26413,.inl_.inl_c_1965_26412,.inl_c_26486,.inl_.inl_b_1964_26410,.inl_.inl_.X2749_1963_26409,.inl_b_26402,.inl_.X2732_26401,.inl_.X2733_26396,.inl_c_26404,.inl_.X2731_26392,.inl_a_26388,.inl_.inl_.X2732_9570_25954,.inl_.inl_c_1984_26380,.inl_.inl_.inl_b_1958_1990_26385,.inl_.inl_.inl_.X2749_1957_1989_26384,.inl_.inl_b_1980_26379,.inl_.inl_c_1973_26369,.inl_.inl_.inl_b_1958_1979_26374,.inl_.inl_.inl_.X2749_1957_1978_26373,.inl_.inl_b_1969_26368,.inl_.inl_.X2733_1968_26363,.inl_.inl_c_1965_26362,.inl_c_26393,.inl_.inl_b_1964_26360,.inl_.inl_.X2749_1963_26359,.inl_b_26352,.inl_.X2732_26351,.inl_.X2733_26346,.inl_c_26354,.inl_.X2731_26342,.inl_a_26338,.inl_.inl_c_1984_26309,.inl_.inl_.inl_b_1958_1990_26314,.inl_.inl_.inl_.X2749_1957_1989_26313,.inl_.inl_b_1980_26308,.inl_.inl_c_1973_26298,.inl_.inl_.inl_b_1958_1979_26303,.inl_.inl_.inl_.X2749_1957_1978_26302,.inl_.inl_b_1969_26297,.inl_.inl_.X2733_1968_26292,.inl_.inl_c_1965_26291,.inl_c_26343,.inl_.inl_b_1964_26289,.inl_.inl_.X2749_1963_26288,.inl_b_26281,.inl_.X2732_26280,.inl_.X2733_26275,.inl_c_26283,.inl_.X2731_26271,.inl_a_26267,.inl_.inl_c_1984_26236,.inl_.inl_.inl_b_1958_1990_26241,.inl_.inl_.inl_.X2749_1957_1989_26240,.inl_.inl_b_1980_26235,.inl_.inl_c_1973_26225,.inl_.inl_.inl_b_1958_1979_26230,.inl_.inl_.inl_.X2749_1957_1978_26229,.inl_.inl_b_1969_26224,.inl_.inl_.X2733_1968_26219,.inl_.inl_c_1965_26218,.inl_c_26272,.inl_.inl_b_1964_26216,.inl_.inl_.X2749_1963_26215,.inl_b_26208,.inl_.X2732_26207,.inl_.X2733_26202,.inl_c_26210,.inl_.X2731_26198,.inl_a_26194,.inl_.inl_c_1984_26165,.inl_.inl_.inl_b_1958_1990_26170,.inl_.inl_.inl_.X2749_1957_1989_26169,.inl_.inl_b_1980_26164,.inl_.inl_c_1973_26154,.inl_.inl_.inl_b_1958_1979_26159,.inl_.inl_.inl_.X2749_1957_1978_26158,.inl_.inl_b_1969_26153,.inl_.inl_.X2733_1968_26148,.inl_.inl_c_1965_26147,.inl_c_26199,.inl_.inl_b_1964_26145,.inl_.inl_.X2749_1963_26144,.inl_b_26137,.inl_.X2732_26136,.inl_.X2733_26131,.inl_c_26139,.inl_.X2731_26127,.inl_a_26123,.inl_.inl_c_1984_26115,.inl_.inl_.inl_b_1958_1990_26120,.inl_.inl_.inl_.X2749_1957_1989_26119,.inl_.inl_b_1980_26114,.inl_.inl_c_1973_26104,.inl_.inl_.inl_b_1958_1979_26109,.inl_.inl_.inl_.X2749_1957_1978_26108,.inl_.inl_b_1969_26103,.inl_.inl_.X2733_1968_26098,.inl_.inl_c_1965_26097,.inl_c_26128,.inl_.inl_b_1964_26095,.inl_.inl_.X2749_1963_26094,.inl_b_26087,.inl_.X2732_26086,.inl_.X2733_26081,.inl_c_26089,.inl_.X2731_26077,.inl_a_26073,.inl_.inl_c_1984_26065,.inl_.inl_.inl_b_1958_1990_26070,.inl_.inl_.inl_.X2749_1957_1989_26069,.inl_.inl_b_1980_26064,.inl_.inl_c_1973_26054,.inl_.inl_.inl_b_1958_1979_26059,.inl_.inl_.inl_.X2749_1957_1978_26058,.inl_.inl_b_1969_26053,.inl_.inl_.X2733_1968_26048,.inl_.inl_c_1965_26047,.inl_c_26078,.inl_.inl_b_1964_26045,.inl_.inl_.X2749_1963_26044,.inl_b_26037,.inl_.X2732_26036,.inl_.X2733_26031,.inl_c_26039,.inl_.X2731_26027,.inl_a_26023,.inl_.inl_c_1984_26015,.inl_.inl_.inl_b_1958_1990_26020,.inl_.inl_.inl_.X2749_1957_1989_26019,.inl_.inl_b_1980_26014,.inl_.inl_c_1973_26004,.inl_.inl_.inl_b_1958_1979_26009,.inl_.inl_.inl_.X2749_1957_1978_26008,.inl_.inl_b_1969_26003,.inl_.inl_.X2733_1968_25998,.inl_.inl_c_1965_25997,.inl_c_26028,.inl_.inl_b_1964_25995,.inl_.inl_.X2749_1963_25994,.inl_b_25987,.inl_.X2732_25986,.inl_.X2733_25981,.inl_c_25989,.inl_.X2731_25977,.inl_a_25973,.inl_.inl_c_1984_25922,.inl_.inl_.inl_b_1958_1990_25927,.inl_.inl_.inl_.X2749_1957_1989_25926,.inl_.inl_b_1980_25921,.inl_.inl_c_1973_25911,.inl_.inl_.inl_b_1958_1979_25916,.inl_.inl_.inl_.X2749_1957_1978_25915,.inl_.inl_b_1969_25910,.inl_.inl_.X2733_1968_25905,.inl_.inl_c_1965_25904,.inl_c_25978,.inl_.inl_b_1964_25902,.inl_.inl_.X2749_1963_25901,.inl_b_25894,.inl_.X2732_25893,.inl_.X2733_25888,.inl_c_25896,.inl_.X2731_25884,.inl_a_25880,.inl_.inl_.X2732_9570_25861,.inl_.inl_c_1984_25829,.inl_.inl_.inl_b_1958_1990_25834,.inl_.inl_.inl_.X2749_1957_1989_25833,.inl_.inl_b_1980_25828,.inl_.inl_c_1973_25818,.inl_.inl_.inl_b_1958_1979_25823,.inl_.inl_.inl_.X2749_1957_1978_25822,.inl_.inl_b_1969_25817,.inl_.inl_.X2733_1968_25812,.inl_.inl_c_1965_25811,.inl_c_25885,.inl_.inl_b_1964_25809,.inl_.inl_.X2749_1963_25808,.inl_b_25801,.inl_.X2732_25800,.inl_.X2733_25795,.inl_c_25803,.inl_.X2731_25791,.inl_a_25787,.inl_.X2733_26582,.inl_.inl_c_1984_25756,.inl_.inl_.inl_b_1958_1990_25761,.inl_.inl_.inl_.X2749_1957_1989_25760,.inl_.inl_b_1980_25755,.inl_.inl_c_1973_25745,.inl_.inl_.inl_b_1958_1979_25750,.inl_.inl_.inl_.X2749_1957_1978_25749,.inl_.inl_b_1969_25744,.inl_.inl_.X2733_1968_25739,.inl_.inl_c_1965_25738,.inl_c_25792,.inl_.inl_b_1964_25736,.inl_.inl_.X2749_1963_25735,.inl_b_25728,.inl_.X2732_25727,.inl_.X2733_25722,.inl_c_25730,.inl_.X2731_25718,.inl_a_25714,.inl_.inl_c_1984_25706,.inl_.inl_.inl_b_1958_1990_25711,.inl_.inl_.inl_.X2749_1957_1989_25710,.inl_.inl_b_1980_25705,.inl_.inl_c_1973_25695,.inl_.inl_.inl_b_1958_1979_25700,.inl_.inl_.inl_.X2749_1957_1978_25699,.inl_.inl_b_1969_25694,.inl_.inl_.X2733_1968_25689,.inl_.inl_c_1965_25688,.inl_c_25719,.inl_.inl_b_1964_25686,.inl_.inl_.X2749_1963_25685,.inl_b_25678,.inl_.X2732_25677,.inl_.X2733_25672,.inl_c_25680,.inl_.X2731_25668,.inl_a_25664,.inl_.inl_c_1984_25656,.inl_.inl_.inl_b_1958_1990_25661,.inl_.inl_.inl_.X2749_1957_1989_25660,.inl_.inl_b_1980_25655,.inl_.inl_c_1973_25645,.inl_.inl_.inl_b_1958_1979_25650,.inl_.inl_.inl_.X2749_1957_1978_25649,.inl_.inl_b_1969_25644,.inl_.inl_.X2733_1968_25639,.inl_.inl_c_1965_25638,.inl_c_25669,.inl_.inl_b_1964_25636,.inl_.inl_.X2749_1963_25635,.inl_b_25628,.inl_.X2732_25627,.inl_.X2733_25622,.inl_c_25630,.inl_.X2731_25618,.inl_a_25614,.inl_.inl_c_1984_25604,.inl_.inl_.inl_b_1958_1990_25609,.inl_.inl_.inl_.X2749_1957_1989_25608,.inl_.inl_b_1980_25603,.inl_.inl_c_1973_25593,.inl_.inl_.inl_b_1958_1979_25598,.inl_.inl_.inl_.X2749_1957_1978_25597,.inl_.inl_b_1969_25592,.inl_.inl_.X2733_1968_25587,.inl_.inl_c_1965_25586,.inl_c_25619,.inl_.inl_b_1964_25584,.inl_.inl_.X2749_1963_25583,.inl_b_25576,.inl_.X2732_25575,.inl_.X2733_25570,.inl_c_25578,.inl_.X2731_25566,.inl_a_25562,_particle_save,.inl_c_26590,.inl_.inl_c_1973_26605,.inl_.inl_.inl_b_1958_1979_26610,.inl_.inl_.inl_.X2749_1957_1978_26609,.inl_.inl_b_1969_26604,.inl_.inl_c_1965_26598,.inl_.inl_.inl_.X2749_1957_1989_26620,.inl_.inl_.X2749_1963_26595,.inl_.inl_b_1964_26596,.inl_.inl_.X2732_9570_26555,.inl_.inl_b_1980_26615,.inl_c_25567,.inl_.inl_.inl_b_1958_1990_26621,.inl_.inl_.X2733_1968_26599,.inl_a_26574,.inl_.X2731_26578,.inl_.X2732_26587,.inl_b_26588,.inl_.inl_c_1984_26616 21631, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21635, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21631, Local memory used for _particle_save 21683, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21686, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21683, Local memory used for _particle_save finally: 22399, 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: 6026, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcKxrkoSZZ7qh8V.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2026-03-15/McXtrace_8GPU_openacc_mpi_x_7_2e7_Linux_2e7/SOLEIL_MARS/./SOLEIL_MARS.c:13675: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===