INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_MARS_20260407_004250" INFO: Regenerating c-file: SOLEIL_MARS.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/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/WORK/micromamba/envs/mcxtrace-3.x/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_MARS.out --> pointing path miniconda3/lib to /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/lib --> pointing path miniconda3/lib to /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/lib --> pointing path miniconda3/include to /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/include DEBUG: CMD: nvc -o ./SOLEIL_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/WORK/micromamba/envs/mcxtrace-3.x/lib -Wl,-rpath-link,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/include -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -std=c99 -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/lib -lxrl -I/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/miniconda3/include -DUSE_OFF -DFUNNEL "./SOLEIL_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 4170: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./SOLEIL_MARS.c", line 4628: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_MARS.c", line 5083: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_MARS.c", line 5002: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_MARS.c", line 6334: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 6788: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_MARS.c", line 6961: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_MARS.c", line 7308: 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 7472: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_MARS.c", line 8572: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_MARS.c", line 9304: 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 9306: 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 9313: 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 9333: 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 9335: 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 9337: 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 10894: 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 10917: 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 10938: 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 11025: 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 11030: 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 11039: 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 11065: 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 11068: 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 11068: 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 11068: 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 11068: 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 11068: 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 11068: 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 11128: 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 11258: 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 11302: 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 11423: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_MARS.c", line 11535: 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 11547: 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 11582: 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 11838: 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 11844: 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 11909: 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 12371: 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 12373: 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 12375: 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 12378: 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 12380: 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 12382: 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 12384: 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 12386: 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 12388: 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 12390: 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 12435: warning: conversion from pointer to smaller integer [pointer_conversion_loses_bits] int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_MARS.c", line 12413: warning: variable "status" was declared but never referenced [declared_but_not_referenced] int status; ^ "./SOLEIL_MARS.c", line 12526: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 12739: warning: variable "R" was declared but never referenced [declared_but_not_referenced] double b_mu,R; ^ "./SOLEIL_MARS.c", line 12799: 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 12794: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 12817: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_MARS.c", line 12976: 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 12982: 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 12988: 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 12995: 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 13005: 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 13011: 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 13445: 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 13957: 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 14003: 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 14014: 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 14996: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_MARS.c", line 14984: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_MARS.c", line 15041: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_MARS.c", line 15122: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_MARS.c", line 15236: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_MARS.c", line 15308: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_MARS.c", line 15382: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_MARS.c", line 15456: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_MARS.c", line 15505: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_MARS.c", line 15554: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_MARS.c", line 15622: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_MARS.c", line 15671: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_MARS.c", line 15720: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_MARS.c", line 15769: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_MARS.c", line 15854: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_MARS.c", line 15903: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_MARS.c", line 15988: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_MARS.c", line 16037: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_MARS.c", line 16105: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_MARS.c", line 16177: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_MARS.c", line 16245: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_MARS.c", line 16294: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_MARS.c", line 16343: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_MARS.c", line 16411: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_MARS.c", line 16460: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_MARS.c", line 16509: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SOLEIL_MARS.c", line 16583: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SOLEIL_MARS.c", line 16657: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SOLEIL_MARS.c", line 16725: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SOLEIL_MARS.c", line 16797: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./SOLEIL_MARS.c", line 16922: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./SOLEIL_MARS.c", line 17032: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./SOLEIL_MARS.c", line 17146: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./SOLEIL_MARS.c", line 17588: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i, j; ^ "./SOLEIL_MARS.c", line 17588: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i, j; ^ "./SOLEIL_MARS.c", line 17589: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1, *p2, *p3; ^ "./SOLEIL_MARS.c", line 17589: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1, *p2, *p3; ^ "./SOLEIL_MARS.c", line 17589: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1, *p2, *p3; ^ "./SOLEIL_MARS.c", line 17705: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17760: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 17828: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./SOLEIL_MARS.c", line 18082: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_MARS.c", line 18584: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_MARS.c", line 18596: 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 18676: 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 18704: warning: variable "z1" was set but never used [set_but_not_used] double xx, yy, x1, y1, z1; ^ "./SOLEIL_MARS.c", line 18706: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1 = 1.0; ^ "./SOLEIL_MARS.c", line 18831: 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 18867: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_MARS.c", line 19030: 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 19051: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i, j, k; ^ "./SOLEIL_MARS.c", line 19052: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e, p2; ^ "./SOLEIL_MARS.c", line 19120: 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 19192: 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 19299: 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 19391: 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 19391: 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 19391: 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 19335: 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 19520: 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 19593: 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 19640: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./SOLEIL_MARS.c", line 19641: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./SOLEIL_MARS.c", line 19644: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./SOLEIL_MARS.c", line 19645: warning: variable "nb_refl" was declared but never referenced [declared_but_not_referenced] int nb_refl = line_info.nb_refl; ^ "./SOLEIL_MARS.c", line 19646: 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 19647: warning: variable "kcache" was declared but never referenced [declared_but_not_referenced] double kcache = line_info.k; ^ "./SOLEIL_MARS.c", line 19649: warning: variable "k_min" was declared but never referenced [declared_but_not_referenced] double k_min = line_info.k_min; ^ "./SOLEIL_MARS.c", line 19650: warning: variable "k_max" was declared but never referenced [declared_but_not_referenced] double k_max = line_info.k_max; ^ "./SOLEIL_MARS.c", line 19651: warning: variable "lfree" was declared but never referenced [declared_but_not_referenced] double lfree = line_info.lfree; ^ "./SOLEIL_MARS.c", line 19653: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./SOLEIL_MARS.c", line 19654: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./SOLEIL_MARS.c", line 19655: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./SOLEIL_MARS.c", line 19659: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./SOLEIL_MARS.c", line 20331: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_MARS.c", line 23599: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_MARS.c", line 23600: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_MARS.c", line 1495: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_MARS.c", line 2965: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 97, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 111, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 144, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 169, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 192, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 203, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 212, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 222, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1544, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1548, Generating acc routine seq Generating NVIDIA GPU code str_len: 1557, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4246, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4691, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4700, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4712, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4724, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4734, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4744, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4752, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4762, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4784, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4791, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4837, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4872, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4883, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4900, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4911, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4927, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4956, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4967, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4971, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5006, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5013, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5022, #pragma acc loop seq 5006, Generating implicit copy(lens[:]) [if not already present] 5013, Generating implicit firstprivate(ll,l) 5024, Accelerator restriction: induction variable live-out from loop: i 5025, Accelerator restriction: induction variable live-out from loop: i 5026, Accelerator restriction: induction variable live-out from loop: i 5027, Accelerator restriction: induction variable live-out from loop: i 5029, Accelerator restriction: induction variable live-out from loop: j 5030, Accelerator restriction: induction variable live-out from loop: j 5031, Accelerator restriction: induction variable live-out from loop: j 5032, Accelerator restriction: induction variable live-out from loop: j 5054, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5058, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5061, #pragma acc loop seq 5054, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5061, Generating implicit firstprivate(l) 5078, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5082, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5089, #pragma acc loop seq 5078, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5148, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5179, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5196, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5295, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5379, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5445, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5522, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5794, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5806, Generating acc routine seq Generating NVIDIA GPU code _hash: 5838, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5879, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5890, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5895, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5903, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5911, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5918, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6586, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6622, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6683, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6699, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6785, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6853, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 7107, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8157, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10114, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10182, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10261, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10729, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10745, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10763, Generating acc routine seq Generating NVIDIA GPU code off_F: 11025, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11030, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11040, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11066, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11129, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11260, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11305, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11420, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11536, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11548, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11583, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11838, Generating acc routine seq Generating NVIDIA GPU code merge: 11845, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R gpusort: 11910, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11953, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 11968, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12022, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12139, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12161, Generating acc routine seq Generating NVIDIA GPU code reflec_coating: 12723, Generating acc routine seq Generating NVIDIA GPU code reflec_bare: 12755, Generating acc routine seq Generating NVIDIA GPU code reflec_kinematic: 12759, Generating acc routine seq Generating NVIDIA GPU code reflec_q_prmtc: 12769, Generating acc routine seq Generating NVIDIA GPU code reflec_eth_prmtc: 12781, Generating acc routine seq Generating NVIDIA GPU code reflec_parratt: 12791, Generating acc routine seq Generating NVIDIA GPU code parrat_reflec_bulk: 12814, Generating acc routine seq Generating NVIDIA GPU code refleccq: 12838, Generating acc routine seq Generating NVIDIA GPU code reflecq: 12890, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 13031, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 13120, Generating acc routine seq Generating NVIDIA GPU code cross: 13188, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 13203, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 13336, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 13443, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 13957, Generating acc routine seq Generating NVIDIA GPU code calc_abs_xsect: 14003, Generating acc routine seq Generating NVIDIA GPU code calc_inc_xsect: 14014, Generating acc routine seq Generating NVIDIA GPU code init: 18555, 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: 18597, Generating acc routine seq Generating NVIDIA GPU code class_Bending_magnet_trace: 18677, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18832, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 19031, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 19121, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 19193, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 19300, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 19521, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 19594, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 21313, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21317, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21317, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) 21326, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21331, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21326, Local memory used for .inl_.inl_c_1984_26527,.inl_.inl_.inl_b_1958_1990_26532,.inl_.inl_.inl_.X2751_1957_1989_26531,.inl_.inl_b_1980_26526,.inl_.inl_c_1973_26516,.inl_.inl_.inl_b_1958_1979_26521,.inl_.inl_.inl_.X2751_1957_1978_26520,.inl_.inl_b_1969_26515,.inl_.inl_.X2735_1968_26510,.inl_.inl_c_1965_26509,.inl_c_26583,.inl_.inl_b_1964_26507,.inl_.inl_.X2751_1963_26506,.inl_b_26499,.inl_.X2734_26498,.inl_.X2735_26493,.inl_c_26501,.inl_.X2733_26489,.inl_a_26485,.inl_.inl_.X2734_9572_26466,.inl_.inl_c_1984_26434,.inl_.inl_.inl_b_1958_1990_26439,.inl_.inl_.inl_.X2751_1957_1989_26438,.inl_.inl_b_1980_26433,.inl_.inl_c_1973_26423,.inl_.inl_.inl_b_1958_1979_26428,.inl_.inl_.inl_.X2751_1957_1978_26427,.inl_.inl_b_1969_26422,.inl_.inl_.X2735_1968_26417,.inl_.inl_c_1965_26416,.inl_c_26490,.inl_.inl_b_1964_26414,.inl_.inl_.X2751_1963_26413,.inl_b_26406,.inl_.X2734_26405,.inl_.X2735_26400,.inl_c_26408,.inl_.X2733_26396,.inl_a_26392,.inl_.inl_.X2734_9572_25958,.inl_.inl_c_1984_26384,.inl_.inl_.inl_b_1958_1990_26389,.inl_.inl_.inl_.X2751_1957_1989_26388,.inl_.inl_b_1980_26383,.inl_.inl_c_1973_26373,.inl_.inl_.inl_b_1958_1979_26378,.inl_.inl_.inl_.X2751_1957_1978_26377,.inl_.inl_b_1969_26372,.inl_.inl_.X2735_1968_26367,.inl_.inl_c_1965_26366,.inl_c_26397,.inl_.inl_b_1964_26364,.inl_.inl_.X2751_1963_26363,.inl_b_26356,.inl_.X2734_26355,.inl_.X2735_26350,.inl_c_26358,.inl_.X2733_26346,.inl_a_26342,.inl_.inl_c_1984_26313,.inl_.inl_.inl_b_1958_1990_26318,.inl_.inl_.inl_.X2751_1957_1989_26317,.inl_.inl_b_1980_26312,.inl_.inl_c_1973_26302,.inl_.inl_.inl_b_1958_1979_26307,.inl_.inl_.inl_.X2751_1957_1978_26306,.inl_.inl_b_1969_26301,.inl_.inl_.X2735_1968_26296,.inl_.inl_c_1965_26295,.inl_c_26347,.inl_.inl_b_1964_26293,.inl_.inl_.X2751_1963_26292,.inl_b_26285,.inl_.X2734_26284,.inl_.X2735_26279,.inl_c_26287,.inl_.X2733_26275,.inl_a_26271,.inl_.inl_c_1984_26240,.inl_.inl_.inl_b_1958_1990_26245,.inl_.inl_.inl_.X2751_1957_1989_26244,.inl_.inl_b_1980_26239,.inl_.inl_c_1973_26229,.inl_.inl_.inl_b_1958_1979_26234,.inl_.inl_.inl_.X2751_1957_1978_26233,.inl_.inl_b_1969_26228,.inl_.inl_.X2735_1968_26223,.inl_.inl_c_1965_26222,.inl_c_26276,.inl_.inl_b_1964_26220,.inl_.inl_.X2751_1963_26219,.inl_b_26212,.inl_.X2734_26211,.inl_.X2735_26206,.inl_c_26214,.inl_.X2733_26202,.inl_a_26198,.inl_.inl_c_1984_26169,.inl_.inl_.inl_b_1958_1990_26174,.inl_.inl_.inl_.X2751_1957_1989_26173,.inl_.inl_b_1980_26168,.inl_.inl_c_1973_26158,.inl_.inl_.inl_b_1958_1979_26163,.inl_.inl_.inl_.X2751_1957_1978_26162,.inl_.inl_b_1969_26157,.inl_.inl_.X2735_1968_26152,.inl_.inl_c_1965_26151,.inl_c_26203,.inl_.inl_b_1964_26149,.inl_.inl_.X2751_1963_26148,.inl_b_26141,.inl_.X2734_26140,.inl_.X2735_26135,.inl_c_26143,.inl_.X2733_26131,.inl_a_26127,.inl_.inl_c_1984_26119,.inl_.inl_.inl_b_1958_1990_26124,.inl_.inl_.inl_.X2751_1957_1989_26123,.inl_.inl_b_1980_26118,.inl_.inl_c_1973_26108,.inl_.inl_.inl_b_1958_1979_26113,.inl_.inl_.inl_.X2751_1957_1978_26112,.inl_.inl_b_1969_26107,.inl_.inl_.X2735_1968_26102,.inl_.inl_c_1965_26101,.inl_c_26132,.inl_.inl_b_1964_26099,.inl_.inl_.X2751_1963_26098,.inl_b_26091,.inl_.X2734_26090,.inl_.X2735_26085,.inl_c_26093,.inl_.X2733_26081,.inl_a_26077,.inl_.inl_c_1984_26069,.inl_.inl_.inl_b_1958_1990_26074,.inl_.inl_.inl_.X2751_1957_1989_26073,.inl_.inl_b_1980_26068,.inl_.inl_c_1973_26058,.inl_.inl_.inl_b_1958_1979_26063,.inl_.inl_.inl_.X2751_1957_1978_26062,.inl_.inl_b_1969_26057,.inl_.inl_.X2735_1968_26052,.inl_.inl_c_1965_26051,.inl_c_26082,.inl_.inl_b_1964_26049,.inl_.inl_.X2751_1963_26048,.inl_b_26041,.inl_.X2734_26040,.inl_.X2735_26035,.inl_c_26043,.inl_.X2733_26031,.inl_a_26027,.inl_.inl_c_1984_26019,.inl_.inl_.inl_b_1958_1990_26024,.inl_.inl_.inl_.X2751_1957_1989_26023,.inl_.inl_b_1980_26018,.inl_.inl_c_1973_26008,.inl_.inl_.inl_b_1958_1979_26013,.inl_.inl_.inl_.X2751_1957_1978_26012,.inl_.inl_b_1969_26007,.inl_.inl_.X2735_1968_26002,.inl_.inl_c_1965_26001,.inl_c_26032,.inl_.inl_b_1964_25999,.inl_.inl_.X2751_1963_25998,.inl_b_25991,.inl_.X2734_25990,.inl_.X2735_25985,.inl_c_25993,.inl_.X2733_25981,.inl_a_25977,.inl_.inl_c_1984_25926,.inl_.inl_.inl_b_1958_1990_25931,.inl_.inl_.inl_.X2751_1957_1989_25930,.inl_.inl_b_1980_25925,.inl_.inl_c_1973_25915,.inl_.inl_.inl_b_1958_1979_25920,.inl_.inl_.inl_.X2751_1957_1978_25919,.inl_.inl_b_1969_25914,.inl_.inl_.X2735_1968_25909,.inl_.inl_c_1965_25908,.inl_c_25982,.inl_.inl_b_1964_25906,.inl_.inl_.X2751_1963_25905,.inl_b_25898,.inl_.X2734_25897,.inl_.X2735_25892,.inl_c_25900,.inl_.X2733_25888,.inl_a_25884,.inl_.inl_.X2734_9572_25865,.inl_.inl_c_1984_25833,.inl_.inl_.inl_b_1958_1990_25838,.inl_.inl_.inl_.X2751_1957_1989_25837,.inl_.inl_b_1980_25832,.inl_.inl_c_1973_25822,.inl_.inl_.inl_b_1958_1979_25827,.inl_.inl_.inl_.X2751_1957_1978_25826,.inl_.inl_b_1969_25821,.inl_.inl_.X2735_1968_25816,.inl_.inl_c_1965_25815,.inl_c_25889,.inl_.inl_b_1964_25813,.inl_.inl_.X2751_1963_25812,.inl_b_25805,.inl_.X2734_25804,.inl_.X2735_25799,.inl_c_25807,.inl_.X2733_25795,.inl_a_25791,.inl_.X2735_26586,.inl_.inl_c_1984_25760,.inl_.inl_.inl_b_1958_1990_25765,.inl_.inl_.inl_.X2751_1957_1989_25764,.inl_.inl_b_1980_25759,.inl_.inl_c_1973_25749,.inl_.inl_.inl_b_1958_1979_25754,.inl_.inl_.inl_.X2751_1957_1978_25753,.inl_.inl_b_1969_25748,.inl_.inl_.X2735_1968_25743,.inl_.inl_c_1965_25742,.inl_c_25796,.inl_.inl_b_1964_25740,.inl_.inl_.X2751_1963_25739,.inl_b_25732,.inl_.X2734_25731,.inl_.X2735_25726,.inl_c_25734,.inl_.X2733_25722,.inl_a_25718,.inl_.inl_c_1984_25710,.inl_.inl_.inl_b_1958_1990_25715,.inl_.inl_.inl_.X2751_1957_1989_25714,.inl_.inl_b_1980_25709,.inl_.inl_c_1973_25699,.inl_.inl_.inl_b_1958_1979_25704,.inl_.inl_.inl_.X2751_1957_1978_25703,.inl_.inl_b_1969_25698,.inl_.inl_.X2735_1968_25693,.inl_.inl_c_1965_25692,.inl_c_25723,.inl_.inl_b_1964_25690,.inl_.inl_.X2751_1963_25689,.inl_b_25682,.inl_.X2734_25681,.inl_.X2735_25676,.inl_c_25684,.inl_.X2733_25672,.inl_a_25668,.inl_.inl_c_1984_25660,.inl_.inl_.inl_b_1958_1990_25665,.inl_.inl_.inl_.X2751_1957_1989_25664,.inl_.inl_b_1980_25659,.inl_.inl_c_1973_25649,.inl_.inl_.inl_b_1958_1979_25654,.inl_.inl_.inl_.X2751_1957_1978_25653,.inl_.inl_b_1969_25648,.inl_.inl_.X2735_1968_25643,.inl_.inl_c_1965_25642,.inl_c_25673,.inl_.inl_b_1964_25640,.inl_.inl_.X2751_1963_25639,.inl_b_25632,.inl_.X2734_25631,.inl_.X2735_25626,.inl_c_25634,.inl_.X2733_25622,.inl_a_25618,.inl_.inl_c_1984_25608,.inl_.inl_.inl_b_1958_1990_25613,.inl_.inl_.inl_.X2751_1957_1989_25612,.inl_.inl_b_1980_25607,.inl_.inl_c_1973_25597,.inl_.inl_.inl_b_1958_1979_25602,.inl_.inl_.inl_.X2751_1957_1978_25601,.inl_.inl_b_1969_25596,.inl_.inl_.X2735_1968_25591,.inl_.inl_c_1965_25590,.inl_c_25623,.inl_.inl_b_1964_25588,.inl_.inl_.X2751_1963_25587,.inl_b_25580,.inl_.X2734_25579,.inl_.X2735_25574,.inl_c_25582,.inl_.X2733_25570,.inl_a_25566,_particle_save,.inl_c_26594,.inl_.inl_c_1973_26609,.inl_.inl_.inl_b_1958_1979_26614,.inl_.inl_.inl_.X2751_1957_1978_26613,.inl_.inl_b_1969_26608,.inl_.inl_c_1965_26602,.inl_.inl_.inl_.X2751_1957_1989_26624,.inl_.inl_.X2751_1963_26599,.inl_.inl_b_1964_26600,.inl_.inl_.X2734_9572_26559,.inl_.inl_b_1980_26619,.inl_c_25571,.inl_.inl_.inl_b_1958_1990_26625,.inl_.inl_.X2735_1968_26603,.inl_a_26578,.inl_.X2733_26582,.inl_.X2734_26591,.inl_b_26592,.inl_.inl_c_1984_26620 21648, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21652, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21648, Local memory used for _particle_save 21700, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21703, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21700, Local memory used for _particle_save finally: 22416, 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: 6039, Generating update device(mcdotrace) /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/bin/ld: /tmp/nvcSgtyfenKZNvLP.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2026-04-07/McXtrace_8GPU_openacc_mpi_x_7_1e7_Linux_1e7/SOLEIL_MARS/./SOLEIL_MARS.c:13692:(.text+0x36bbf): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/bin/ld: /tmp/nvcSgtyfenKZNvLP.o: note: the message above does not take linker garbage collection into account DEBUG: CMD: nvc finished INFO: ===