INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_MARS_20251212_160854" 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 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 290: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./SOLEIL_MARS.c", line 292: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./SOLEIL_MARS.c", line 643: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./SOLEIL_MARS.c", line 864: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./SOLEIL_MARS.c", line 881: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./SOLEIL_MARS.c", line 883: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./SOLEIL_MARS.c", line 891: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./SOLEIL_MARS.c", line 893: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./SOLEIL_MARS.c", line 895: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./SOLEIL_MARS.c", line 897: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./SOLEIL_MARS.c", line 899: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./SOLEIL_MARS.c", line 995: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./SOLEIL_MARS.c", line 997: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./SOLEIL_MARS.c", line 999: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./SOLEIL_MARS.c", line 1001: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./SOLEIL_MARS.c", line 1003: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./SOLEIL_MARS.c", line 1005: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./SOLEIL_MARS.c", line 1007: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./SOLEIL_MARS.c", line 1009: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./SOLEIL_MARS.c", line 1011: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./SOLEIL_MARS.c", line 4617: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_MARS.c", line 5072: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_MARS.c", line 4991: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_MARS.c", line 6318: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 6772: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_MARS.c", line 6945: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_MARS.c", line 7292: 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 7456: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_MARS.c", line 8556: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_MARS.c", line 9288: 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 9290: 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 9297: 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 9317: 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 9319: 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 9321: 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 10878: 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 10901: 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 10922: 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 11009: 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 11014: 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 11023: 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 11049: 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 11052: 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 11052: 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 11052: 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 11052: 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 11052: 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 11052: 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 11112: 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 11242: 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 11286: 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 11407: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_MARS.c", line 11519: 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 11531: 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 11566: 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 11822: 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 11828: 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 11893: 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 12355: 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 12357: 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 12359: 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 12362: 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 12364: 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 12366: 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 12368: 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 12370: 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 12372: 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 12374: 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 12419: warning: conversion from pointer to smaller integer [pointer_conversion_loses_bits] int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_MARS.c", line 12397: warning: variable "status" was declared but never referenced [declared_but_not_referenced] int status; ^ "./SOLEIL_MARS.c", line 12510: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 12723: warning: variable "R" was declared but never referenced [declared_but_not_referenced] double b_mu,R; ^ "./SOLEIL_MARS.c", line 12783: 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 12778: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 12801: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 12960: 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 12966: 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 12972: 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 12979: 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 12989: 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 12995: 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 13429: 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 13924: 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 13965: 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 13975: 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 14957: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_MARS.c", line 14945: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_MARS.c", line 15002: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_MARS.c", line 15083: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_MARS.c", line 15197: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_MARS.c", line 15269: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_MARS.c", line 15343: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_MARS.c", line 15417: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_MARS.c", line 15466: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_MARS.c", line 15515: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_MARS.c", line 15583: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_MARS.c", line 15632: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_MARS.c", line 15681: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_MARS.c", line 15730: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_MARS.c", line 15815: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_MARS.c", line 15864: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_MARS.c", line 15949: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_MARS.c", line 15998: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_MARS.c", line 16066: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_MARS.c", line 16138: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_MARS.c", line 16206: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_MARS.c", line 16255: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_MARS.c", line 16304: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_MARS.c", line 16372: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_MARS.c", line 16421: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_MARS.c", line 16470: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SOLEIL_MARS.c", line 16544: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SOLEIL_MARS.c", line 16618: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SOLEIL_MARS.c", line 16686: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SOLEIL_MARS.c", line 16758: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./SOLEIL_MARS.c", line 16883: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./SOLEIL_MARS.c", line 16993: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./SOLEIL_MARS.c", line 17107: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./SOLEIL_MARS.c", line 17542: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_MARS.c", line 17542: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./SOLEIL_MARS.c", line 17543: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_MARS.c", line 17543: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_MARS.c", line 17543: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./SOLEIL_MARS.c", line 17651: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17703: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17765: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./SOLEIL_MARS.c", line 18020: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 18522: warning: incompatible redefinition of macro "exit" (declared at line 622) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_MARS.c", line 18534: 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 18625: 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 18653: warning: variable "z1" was set but never used [set_but_not_used] double xx,yy,x1,y1,z1; ^ "./SOLEIL_MARS.c", line 18655: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1=1.0; ^ "./SOLEIL_MARS.c", line 18779: 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 18815: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_MARS.c", line 18998: 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 19019: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./SOLEIL_MARS.c", line 19020: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e,p2; ^ "./SOLEIL_MARS.c", line 19089: 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 19159: 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 19268: 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 19348: 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 19348: 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 19348: 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 19304: 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 19463: 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 19538: 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 19585: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./SOLEIL_MARS.c", line 19586: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./SOLEIL_MARS.c", line 19589: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./SOLEIL_MARS.c", line 19590: warning: variable "nb_refl" was declared but never referenced [declared_but_not_referenced] int nb_refl = line_info.nb_refl; ^ "./SOLEIL_MARS.c", line 19591: 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 19592: warning: variable "kcache" was declared but never referenced [declared_but_not_referenced] double kcache = line_info.k; ^ "./SOLEIL_MARS.c", line 19594: warning: variable "k_min" was declared but never referenced [declared_but_not_referenced] double k_min = line_info.k_min; ^ "./SOLEIL_MARS.c", line 19595: warning: variable "k_max" was declared but never referenced [declared_but_not_referenced] double k_max = line_info.k_max; ^ "./SOLEIL_MARS.c", line 19596: warning: variable "lfree" was declared but never referenced [declared_but_not_referenced] double lfree = line_info.lfree; ^ "./SOLEIL_MARS.c", line 19598: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./SOLEIL_MARS.c", line 19599: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./SOLEIL_MARS.c", line 19600: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./SOLEIL_MARS.c", line 19604: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./SOLEIL_MARS.c", line 20263: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_MARS.c", line 23588: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_MARS.c", line 23589: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_MARS.c", line 1494: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_MARS.c", line 2963: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 98, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 112, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 145, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 170, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 193, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 204, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 213, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 223, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1542, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1546, Generating acc routine seq Generating NVIDIA GPU code str_len: 1555, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4235, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4669, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4689, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4701, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4713, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4723, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4733, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4741, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4751, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4773, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4780, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4826, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4861, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4872, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4889, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4900, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4916, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4945, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4956, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4960, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4995, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5002, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5011, #pragma acc loop seq 4995, Generating implicit copy(lens[:]) [if not already present] 5002, Generating implicit firstprivate(ll,l) 5013, Accelerator restriction: induction variable live-out from loop: i 5014, Accelerator restriction: induction variable live-out from loop: i 5015, Accelerator restriction: induction variable live-out from loop: i 5016, Accelerator restriction: induction variable live-out from loop: i 5018, Accelerator restriction: induction variable live-out from loop: j 5019, Accelerator restriction: induction variable live-out from loop: j 5020, Accelerator restriction: induction variable live-out from loop: j 5021, Accelerator restriction: induction variable live-out from loop: j 5043, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5047, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5050, #pragma acc loop seq 5043, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5050, Generating implicit firstprivate(l) 5067, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5071, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5078, #pragma acc loop seq 5067, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5137, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5168, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5185, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5284, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5368, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5434, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5511, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5783, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5795, Generating acc routine seq Generating NVIDIA GPU code _hash: 5827, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5868, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5879, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5884, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5892, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5900, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5907, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6570, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6606, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6667, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6683, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6769, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6837, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 7090, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8141, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10098, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10166, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10245, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10713, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10729, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10747, Generating acc routine seq Generating NVIDIA GPU code off_F: 11009, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11014, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11024, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11050, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11113, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11244, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11289, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11404, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11520, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11532, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11567, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11822, Generating acc routine seq Generating NVIDIA GPU code merge: 11829, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R gpusort: 11894, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11937, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 11952, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12006, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12123, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12145, Generating acc routine seq Generating NVIDIA GPU code reflec_coating: 12707, Generating acc routine seq Generating NVIDIA GPU code reflec_bare: 12739, Generating acc routine seq Generating NVIDIA GPU code reflec_kinematic: 12743, Generating acc routine seq Generating NVIDIA GPU code reflec_q_prmtc: 12753, Generating acc routine seq Generating NVIDIA GPU code reflec_eth_prmtc: 12765, Generating acc routine seq Generating NVIDIA GPU code reflec_parratt: 12775, Generating acc routine seq Generating NVIDIA GPU code parrat_reflec_bulk: 12798, Generating acc routine seq Generating NVIDIA GPU code refleccq: 12822, Generating acc routine seq Generating NVIDIA GPU code reflecq: 12874, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 13015, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 13104, Generating acc routine seq Generating NVIDIA GPU code cross: 13172, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 13187, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 13320, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 13427, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 13925, Generating acc routine seq Generating NVIDIA GPU code calc_abs_xsect: 13965, Generating acc routine seq Generating NVIDIA GPU code calc_inc_xsect: 13975, Generating acc routine seq Generating NVIDIA GPU code init: 18494, 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: 18535, Generating acc routine seq Generating NVIDIA GPU code class_Bending_magnet_trace: 18626, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18780, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 18999, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 19090, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 19160, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 19269, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 19464, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 19539, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 21245, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21249, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21249, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) 21258, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21263, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21258, Local memory used for .inl_.inl_c_1984_26523,.inl_.inl_.inl_b_1958_1990_26528,.inl_.inl_.inl_.X2748_1957_1989_26527,.inl_.inl_b_1980_26522,.inl_.inl_c_1973_26512,.inl_.inl_.inl_b_1958_1979_26517,.inl_.inl_.inl_.X2748_1957_1978_26516,.inl_.inl_b_1969_26511,.inl_.inl_.X2732_1968_26506,.inl_.inl_c_1965_26505,.inl_c_26579,.inl_.inl_b_1964_26503,.inl_.inl_.X2748_1963_26502,.inl_b_26495,.inl_.X2731_26494,.inl_.X2732_26489,.inl_c_26497,.inl_.X2730_26485,.inl_a_26481,.inl_.inl_.X2731_9570_26462,.inl_.inl_c_1984_26430,.inl_.inl_.inl_b_1958_1990_26435,.inl_.inl_.inl_.X2748_1957_1989_26434,.inl_.inl_b_1980_26429,.inl_.inl_c_1973_26419,.inl_.inl_.inl_b_1958_1979_26424,.inl_.inl_.inl_.X2748_1957_1978_26423,.inl_.inl_b_1969_26418,.inl_.inl_.X2732_1968_26413,.inl_.inl_c_1965_26412,.inl_c_26486,.inl_.inl_b_1964_26410,.inl_.inl_.X2748_1963_26409,.inl_b_26402,.inl_.X2731_26401,.inl_.X2732_26396,.inl_c_26404,.inl_.X2730_26392,.inl_a_26388,.inl_.inl_.X2731_9570_25954,.inl_.inl_c_1984_26380,.inl_.inl_.inl_b_1958_1990_26385,.inl_.inl_.inl_.X2748_1957_1989_26384,.inl_.inl_b_1980_26379,.inl_.inl_c_1973_26369,.inl_.inl_.inl_b_1958_1979_26374,.inl_.inl_.inl_.X2748_1957_1978_26373,.inl_.inl_b_1969_26368,.inl_.inl_.X2732_1968_26363,.inl_.inl_c_1965_26362,.inl_c_26393,.inl_.inl_b_1964_26360,.inl_.inl_.X2748_1963_26359,.inl_b_26352,.inl_.X2731_26351,.inl_.X2732_26346,.inl_c_26354,.inl_.X2730_26342,.inl_a_26338,.inl_.inl_c_1984_26309,.inl_.inl_.inl_b_1958_1990_26314,.inl_.inl_.inl_.X2748_1957_1989_26313,.inl_.inl_b_1980_26308,.inl_.inl_c_1973_26298,.inl_.inl_.inl_b_1958_1979_26303,.inl_.inl_.inl_.X2748_1957_1978_26302,.inl_.inl_b_1969_26297,.inl_.inl_.X2732_1968_26292,.inl_.inl_c_1965_26291,.inl_c_26343,.inl_.inl_b_1964_26289,.inl_.inl_.X2748_1963_26288,.inl_b_26281,.inl_.X2731_26280,.inl_.X2732_26275,.inl_c_26283,.inl_.X2730_26271,.inl_a_26267,.inl_.inl_c_1984_26236,.inl_.inl_.inl_b_1958_1990_26241,.inl_.inl_.inl_.X2748_1957_1989_26240,.inl_.inl_b_1980_26235,.inl_.inl_c_1973_26225,.inl_.inl_.inl_b_1958_1979_26230,.inl_.inl_.inl_.X2748_1957_1978_26229,.inl_.inl_b_1969_26224,.inl_.inl_.X2732_1968_26219,.inl_.inl_c_1965_26218,.inl_c_26272,.inl_.inl_b_1964_26216,.inl_.inl_.X2748_1963_26215,.inl_b_26208,.inl_.X2731_26207,.inl_.X2732_26202,.inl_c_26210,.inl_.X2730_26198,.inl_a_26194,.inl_.inl_c_1984_26165,.inl_.inl_.inl_b_1958_1990_26170,.inl_.inl_.inl_.X2748_1957_1989_26169,.inl_.inl_b_1980_26164,.inl_.inl_c_1973_26154,.inl_.inl_.inl_b_1958_1979_26159,.inl_.inl_.inl_.X2748_1957_1978_26158,.inl_.inl_b_1969_26153,.inl_.inl_.X2732_1968_26148,.inl_.inl_c_1965_26147,.inl_c_26199,.inl_.inl_b_1964_26145,.inl_.inl_.X2748_1963_26144,.inl_b_26137,.inl_.X2731_26136,.inl_.X2732_26131,.inl_c_26139,.inl_.X2730_26127,.inl_a_26123,.inl_.inl_c_1984_26115,.inl_.inl_.inl_b_1958_1990_26120,.inl_.inl_.inl_.X2748_1957_1989_26119,.inl_.inl_b_1980_26114,.inl_.inl_c_1973_26104,.inl_.inl_.inl_b_1958_1979_26109,.inl_.inl_.inl_.X2748_1957_1978_26108,.inl_.inl_b_1969_26103,.inl_.inl_.X2732_1968_26098,.inl_.inl_c_1965_26097,.inl_c_26128,.inl_.inl_b_1964_26095,.inl_.inl_.X2748_1963_26094,.inl_b_26087,.inl_.X2731_26086,.inl_.X2732_26081,.inl_c_26089,.inl_.X2730_26077,.inl_a_26073,.inl_.inl_c_1984_26065,.inl_.inl_.inl_b_1958_1990_26070,.inl_.inl_.inl_.X2748_1957_1989_26069,.inl_.inl_b_1980_26064,.inl_.inl_c_1973_26054,.inl_.inl_.inl_b_1958_1979_26059,.inl_.inl_.inl_.X2748_1957_1978_26058,.inl_.inl_b_1969_26053,.inl_.inl_.X2732_1968_26048,.inl_.inl_c_1965_26047,.inl_c_26078,.inl_.inl_b_1964_26045,.inl_.inl_.X2748_1963_26044,.inl_b_26037,.inl_.X2731_26036,.inl_.X2732_26031,.inl_c_26039,.inl_.X2730_26027,.inl_a_26023,.inl_.inl_c_1984_26015,.inl_.inl_.inl_b_1958_1990_26020,.inl_.inl_.inl_.X2748_1957_1989_26019,.inl_.inl_b_1980_26014,.inl_.inl_c_1973_26004,.inl_.inl_.inl_b_1958_1979_26009,.inl_.inl_.inl_.X2748_1957_1978_26008,.inl_.inl_b_1969_26003,.inl_.inl_.X2732_1968_25998,.inl_.inl_c_1965_25997,.inl_c_26028,.inl_.inl_b_1964_25995,.inl_.inl_.X2748_1963_25994,.inl_b_25987,.inl_.X2731_25986,.inl_.X2732_25981,.inl_c_25989,.inl_.X2730_25977,.inl_a_25973,.inl_.inl_c_1984_25922,.inl_.inl_.inl_b_1958_1990_25927,.inl_.inl_.inl_.X2748_1957_1989_25926,.inl_.inl_b_1980_25921,.inl_.inl_c_1973_25911,.inl_.inl_.inl_b_1958_1979_25916,.inl_.inl_.inl_.X2748_1957_1978_25915,.inl_.inl_b_1969_25910,.inl_.inl_.X2732_1968_25905,.inl_.inl_c_1965_25904,.inl_c_25978,.inl_.inl_b_1964_25902,.inl_.inl_.X2748_1963_25901,.inl_b_25894,.inl_.X2731_25893,.inl_.X2732_25888,.inl_c_25896,.inl_.X2730_25884,.inl_a_25880,.inl_.inl_.X2731_9570_25861,.inl_.inl_c_1984_25829,.inl_.inl_.inl_b_1958_1990_25834,.inl_.inl_.inl_.X2748_1957_1989_25833,.inl_.inl_b_1980_25828,.inl_.inl_c_1973_25818,.inl_.inl_.inl_b_1958_1979_25823,.inl_.inl_.inl_.X2748_1957_1978_25822,.inl_.inl_b_1969_25817,.inl_.inl_.X2732_1968_25812,.inl_.inl_c_1965_25811,.inl_c_25885,.inl_.inl_b_1964_25809,.inl_.inl_.X2748_1963_25808,.inl_b_25801,.inl_.X2731_25800,.inl_.X2732_25795,.inl_c_25803,.inl_.X2730_25791,.inl_a_25787,.inl_.X2732_26582,.inl_.inl_c_1984_25756,.inl_.inl_.inl_b_1958_1990_25761,.inl_.inl_.inl_.X2748_1957_1989_25760,.inl_.inl_b_1980_25755,.inl_.inl_c_1973_25745,.inl_.inl_.inl_b_1958_1979_25750,.inl_.inl_.inl_.X2748_1957_1978_25749,.inl_.inl_b_1969_25744,.inl_.inl_.X2732_1968_25739,.inl_.inl_c_1965_25738,.inl_c_25792,.inl_.inl_b_1964_25736,.inl_.inl_.X2748_1963_25735,.inl_b_25728,.inl_.X2731_25727,.inl_.X2732_25722,.inl_c_25730,.inl_.X2730_25718,.inl_a_25714,.inl_.inl_c_1984_25706,.inl_.inl_.inl_b_1958_1990_25711,.inl_.inl_.inl_.X2748_1957_1989_25710,.inl_.inl_b_1980_25705,.inl_.inl_c_1973_25695,.inl_.inl_.inl_b_1958_1979_25700,.inl_.inl_.inl_.X2748_1957_1978_25699,.inl_.inl_b_1969_25694,.inl_.inl_.X2732_1968_25689,.inl_.inl_c_1965_25688,.inl_c_25719,.inl_.inl_b_1964_25686,.inl_.inl_.X2748_1963_25685,.inl_b_25678,.inl_.X2731_25677,.inl_.X2732_25672,.inl_c_25680,.inl_.X2730_25668,.inl_a_25664,.inl_.inl_c_1984_25656,.inl_.inl_.inl_b_1958_1990_25661,.inl_.inl_.inl_.X2748_1957_1989_25660,.inl_.inl_b_1980_25655,.inl_.inl_c_1973_25645,.inl_.inl_.inl_b_1958_1979_25650,.inl_.inl_.inl_.X2748_1957_1978_25649,.inl_.inl_b_1969_25644,.inl_.inl_.X2732_1968_25639,.inl_.inl_c_1965_25638,.inl_c_25669,.inl_.inl_b_1964_25636,.inl_.inl_.X2748_1963_25635,.inl_b_25628,.inl_.X2731_25627,.inl_.X2732_25622,.inl_c_25630,.inl_.X2730_25618,.inl_a_25614,.inl_.inl_c_1984_25604,.inl_.inl_.inl_b_1958_1990_25609,.inl_.inl_.inl_.X2748_1957_1989_25608,.inl_.inl_b_1980_25603,.inl_.inl_c_1973_25593,.inl_.inl_.inl_b_1958_1979_25598,.inl_.inl_.inl_.X2748_1957_1978_25597,.inl_.inl_b_1969_25592,.inl_.inl_.X2732_1968_25587,.inl_.inl_c_1965_25586,.inl_c_25619,.inl_.inl_b_1964_25584,.inl_.inl_.X2748_1963_25583,.inl_b_25576,.inl_.X2731_25575,.inl_.X2732_25570,.inl_c_25578,.inl_.X2730_25566,.inl_a_25562,_particle_save,.inl_c_26590,.inl_.inl_c_1973_26605,.inl_.inl_.inl_b_1958_1979_26610,.inl_.inl_.inl_.X2748_1957_1978_26609,.inl_.inl_b_1969_26604,.inl_.inl_c_1965_26598,.inl_.inl_.inl_.X2748_1957_1989_26620,.inl_.inl_.X2748_1963_26595,.inl_.inl_b_1964_26596,.inl_.inl_.X2731_9570_26555,.inl_.inl_b_1980_26615,.inl_c_25567,.inl_.inl_.inl_b_1958_1990_26621,.inl_.inl_.X2732_1968_26599,.inl_a_26574,.inl_.X2730_26578,.inl_.X2731_26587,.inl_b_26588,.inl_.inl_c_1984_26616 21580, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21584, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21580, Local memory used for _particle_save 21632, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21635, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21632, Local memory used for _particle_save finally: 22375, 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: 6027, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcQa3Wp_UvFzsQp.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2025-12-12/McXtrace_8GPU_openacc_mpi_x_7_2e7_Linux_2e7/SOLEIL_MARS/./SOLEIL_MARS.c:13659: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===