INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_SIXS_20251212_161339" INFO: Regenerating c-file: SOLEIL_SIXS.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./SOLEIL_SIXS.c SOLEIL_SIXS.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT dcm_xtal1: EXTEND %{ if (!SCATTERED) ABSORB; %} is overwritten by: EXTEND %{ if (!SCATTERED) ABSORB; %} ----------------------------------------------------------- CFLAGS= @GSLFLAGS@ -DFUNNEL -std=c99 WARNING: The parameter mosaic_AB of sx_layer is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter surf_dir of sx_layer 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_stage ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component Source_U20 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Source_U20 -> GPU kernel from component mon_src_xy -> SPLIT within buffer at component sample_stage ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_SIXS.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_SIXS.out ./SOLEIL_SIXS.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 -Wl,-rpath,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -lgsl -lgslcblas -I/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -DFUNNEL -std=c99 "./SOLEIL_SIXS.c", line 87: 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_SIXS.c", line 89: 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_SIXS.c", line 92: 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_SIXS.c", line 107: 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_SIXS.c", line 111: 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_SIXS.c", line 141: 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_SIXS.c", line 111: 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_SIXS.c", line 172: 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_SIXS.c", line 196: 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_SIXS.c", line 207: 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_SIXS.c", line 218: 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_SIXS.c", line 229: 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_SIXS.c", line 297: 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_SIXS.c", line 299: 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_SIXS.c", line 650: 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_SIXS.c", line 871: 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_SIXS.c", line 888: 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_SIXS.c", line 890: 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_SIXS.c", line 898: 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_SIXS.c", line 900: 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_SIXS.c", line 902: 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_SIXS.c", line 904: 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_SIXS.c", line 906: 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_SIXS.c", line 1002: 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_SIXS.c", line 1004: 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_SIXS.c", line 1006: 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_SIXS.c", line 1008: 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_SIXS.c", line 1010: 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_SIXS.c", line 1012: 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_SIXS.c", line 1014: 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_SIXS.c", line 1016: 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_SIXS.c", line 1018: 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_SIXS.c", line 4624: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_SIXS.c", line 5079: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_SIXS.c", line 4998: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_SIXS.c", line 6325: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_SIXS.c", line 6779: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_SIXS.c", line 6952: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./SOLEIL_SIXS.c", line 7312: 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_SIXS.c", line 7476: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_SIXS.c", line 8576: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_SIXS.c", line 9308: 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_SIXS.c", line 9310: 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_SIXS.c", line 9317: 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_SIXS.c", line 9337: 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_SIXS.c", line 9339: 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_SIXS.c", line 9341: 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_SIXS.c", line 10898: 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_SIXS.c", line 10921: 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_SIXS.c", line 10942: 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_SIXS.c", line 11029: 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_SIXS.c", line 11034: 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_SIXS.c", line 11043: 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_SIXS.c", line 11069: 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_SIXS.c", line 11072: 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_SIXS.c", line 11072: 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_SIXS.c", line 11072: 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_SIXS.c", line 11072: 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_SIXS.c", line 11072: 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_SIXS.c", line 11072: 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_SIXS.c", line 11132: 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_SIXS.c", line 11262: 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_SIXS.c", line 11306: 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_SIXS.c", line 11427: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_SIXS.c", line 11539: 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_SIXS.c", line 11551: 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_SIXS.c", line 11586: 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_SIXS.c", line 11842: 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_SIXS.c", line 11848: 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_SIXS.c", line 12303: 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_SIXS.c", line 12309: 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_SIXS.c", line 12315: 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_SIXS.c", line 12322: 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_SIXS.c", line 12332: 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_SIXS.c", line 12338: 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_SIXS.c", line 12772: 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_SIXS.c", line 12978: 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_SIXS.c", line 12980: 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_SIXS.c", line 12982: 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_SIXS.c", line 12985: 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_SIXS.c", line 12987: 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_SIXS.c", line 12989: 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_SIXS.c", line 12991: 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_SIXS.c", line 12993: 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_SIXS.c", line 12995: 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_SIXS.c", line 12997: 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_SIXS.c", line 13042: warning: conversion from pointer to smaller integer [pointer_conversion_loses_bits] int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_SIXS.c", line 13020: warning: variable "status" was declared but never referenced [declared_but_not_referenced] int status; ^ "./SOLEIL_SIXS.c", line 13133: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_SIXS.c", line 13346: warning: variable "R" was declared but never referenced [declared_but_not_referenced] double b_mu,R; ^ "./SOLEIL_SIXS.c", line 13406: 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_SIXS.c", line 13401: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_SIXS.c", line 13424: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_SIXS.c", line 13659: warning: Routine "SX_list_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int SX_list_compare (void const *a, void const *b) ^ "./SOLEIL_SIXS.c", line 13781: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] char flag=0; ^ "./SOLEIL_SIXS.c", line 14287: warning: Routine "hkl_search" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_search(struct hkl_data *L, void *TT, int count, double V0, ^ "./SOLEIL_SIXS.c", line 14394: warning: Routine "hkl_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_select(struct tau_data *T, int tau_count, double coh_refl, double *sum,_class_particle *_particle) { ^ "./SOLEIL_SIXS.c", line 14409: warning: Routine "randrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randrotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./SOLEIL_SIXS.c", line 14417: warning: Routine "randderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randderotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./SOLEIL_SIXS.c", line 14426: warning: Routine "vec_rotate_2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void vec_rotate_2d(double* x, double* y, double angle) { ^ "./SOLEIL_SIXS.c", line 14450: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_SIXS.c", line 14452: warning: variable "Z" was set but never used [set_but_not_used] double Z; ^ "./SOLEIL_SIXS.c", line 14974: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_SIXS.c", line 14962: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_SIXS.c", line 15019: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_SIXS.c", line 15114: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_SIXS.c", line 15228: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_SIXS.c", line 15342: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_SIXS.c", line 15416: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_SIXS.c", line 15530: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_SIXS.c", line 15579: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_SIXS.c", line 15664: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_SIXS.c", line 15713: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_SIXS.c", line 15798: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_SIXS.c", line 15847: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_SIXS.c", line 15961: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_SIXS.c", line 16075: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_SIXS.c", line 16124: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_SIXS.c", line 16173: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_SIXS.c", line 16241: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_SIXS.c", line 16290: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_SIXS.c", line 16339: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_SIXS.c", line 16388: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_SIXS.c", line 16456: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_SIXS.c", line 16505: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_SIXS.c", line 16619: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_SIXS.c", line 16763: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_SIXS.c", line 16907: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SOLEIL_SIXS.c", line 16956: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SOLEIL_SIXS.c", line 17070: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SOLEIL_SIXS.c", line 17184: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SOLEIL_SIXS.c", line 17758: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_SIXS.c", line 17818: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_SIXS.c", line 17970: warning: variable "surf_dir_sum" was declared but never referenced [declared_but_not_referenced] double surf_dir_sum =0; ^ "./SOLEIL_SIXS.c", line 17894: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./SOLEIL_SIXS.c", line 17894: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./SOLEIL_SIXS.c", line 17894: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./SOLEIL_SIXS.c", line 18317: warning: incompatible redefinition of macro "exit" (declared at line 629) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_SIXS.c", line 18329: 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_SIXS.c", line 18461: warning: variable "l" was declared but never referenced [declared_but_not_referenced] double k,e,l,w_u,r,w; ^ "./SOLEIL_SIXS.c", line 18461: warning: variable "r" was declared but never referenced [declared_but_not_referenced] double k,e,l,w_u,r,w; ^ "./SOLEIL_SIXS.c", line 18627: 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_SIXS.c", line 18853: 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_SIXS.c", line 18923: warning: Routine "class_Arm_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Arm_trace(_class_Arm *_comp ^ "./SOLEIL_SIXS.c", line 18954: 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_SIXS.c", line 19034: 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_SIXS.c", line 19034: 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_SIXS.c", line 19034: 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_SIXS.c", line 18990: 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_SIXS.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_SIXS.c", line 19278: warning: Routine "class_Single_crystal_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Single_crystal_trace(_class_Single_crystal *_comp ^ "./SOLEIL_SIXS.c", line 19340: warning: variable "k" was declared but never referenced [declared_but_not_referenced] double k; /* photon wave vector */ ^ "./SOLEIL_SIXS.c", line 19341: warning: variable "rho_x" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./SOLEIL_SIXS.c", line 19341: warning: variable "rho_y" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./SOLEIL_SIXS.c", line 19341: warning: variable "rho_z" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./SOLEIL_SIXS.c", line 19342: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./SOLEIL_SIXS.c", line 19343: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./SOLEIL_SIXS.c", line 19344: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./SOLEIL_SIXS.c", line 19344: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./SOLEIL_SIXS.c", line 19344: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./SOLEIL_SIXS.c", line 19345: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./SOLEIL_SIXS.c", line 19345: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./SOLEIL_SIXS.c", line 19345: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./SOLEIL_SIXS.c", line 19346: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./SOLEIL_SIXS.c", line 19346: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./SOLEIL_SIXS.c", line 19346: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./SOLEIL_SIXS.c", line 19347: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./SOLEIL_SIXS.c", line 19347: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./SOLEIL_SIXS.c", line 19347: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./SOLEIL_SIXS.c", line 19348: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./SOLEIL_SIXS.c", line 19349: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./SOLEIL_SIXS.c", line 19349: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./SOLEIL_SIXS.c", line 19349: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./SOLEIL_SIXS.c", line 19350: warning: variable "l11" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./SOLEIL_SIXS.c", line 19350: warning: variable "l12" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./SOLEIL_SIXS.c", line 19350: warning: variable "l22" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./SOLEIL_SIXS.c", line 19351: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./SOLEIL_SIXS.c", line 19352: warning: variable "Bt_D_O_x" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./SOLEIL_SIXS.c", line 19352: warning: variable "Bt_D_O_y" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./SOLEIL_SIXS.c", line 19353: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./SOLEIL_SIXS.c", line 19353: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./SOLEIL_SIXS.c", line 19354: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./SOLEIL_SIXS.c", line 19360: warning: variable "coh_xsect" was declared but never referenced [declared_but_not_referenced] double coh_xsect, coh_xlen; /* Coherent cross section and length */ ^ "./SOLEIL_SIXS.c", line 19361: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./SOLEIL_SIXS.c", line 19376: warning: variable "type" was set but never used [set_but_not_used] char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./SOLEIL_SIXS.c", line 22269: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_SIXS.c", line 22270: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_SIXS.c", line 1501: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_SIXS.c", line 2970: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 100, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 114, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 148, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 174, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 198, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 209, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 218, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 229, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1549, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1553, Generating acc routine seq Generating NVIDIA GPU code str_len: 1562, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4242, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4676, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4687, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4696, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4708, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4720, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4730, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4740, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4748, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4758, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4780, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4787, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4833, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4868, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4879, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4896, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4907, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4923, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4952, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4963, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4967, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5002, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5009, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5018, #pragma acc loop seq 5002, Generating implicit copy(lens[:]) [if not already present] 5009, Generating implicit firstprivate(ll,l) 5020, Accelerator restriction: induction variable live-out from loop: i 5021, Accelerator restriction: induction variable live-out from loop: i 5022, Accelerator restriction: induction variable live-out from loop: i 5023, Accelerator restriction: induction variable live-out from loop: i 5025, Accelerator restriction: induction variable live-out from loop: j 5026, Accelerator restriction: induction variable live-out from loop: j 5027, Accelerator restriction: induction variable live-out from loop: j 5028, Accelerator restriction: induction variable live-out from loop: j 5050, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5054, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5057, #pragma acc loop seq 5050, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5057, Generating implicit firstprivate(l) 5074, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5078, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5085, #pragma acc loop seq 5074, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5144, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5175, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5192, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5291, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5375, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5441, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5518, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5790, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5802, Generating acc routine seq Generating NVIDIA GPU code _hash: 5834, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5875, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5886, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5891, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5899, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5907, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5914, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6577, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6613, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6674, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6690, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6776, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6844, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8161, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10118, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10186, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10265, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10733, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10749, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10767, Generating acc routine seq Generating NVIDIA GPU code off_F: 11029, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11034, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11044, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11070, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11133, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11264, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11309, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11424, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11540, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11552, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11587, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11842, Generating acc routine seq Generating NVIDIA GPU code merge: 11849, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R p_to_quadratic: 11957, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 11972, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12026, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12143, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12165, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 12358, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 12447, Generating acc routine seq Generating NVIDIA GPU code cross: 12515, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 12530, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 12663, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 12770, Generating acc routine seq Generating NVIDIA GPU code reflec_coating: 13330, Generating acc routine seq Generating NVIDIA GPU code reflec_bare: 13362, Generating acc routine seq Generating NVIDIA GPU code reflec_kinematic: 13366, Generating acc routine seq Generating NVIDIA GPU code reflec_q_prmtc: 13376, Generating acc routine seq Generating NVIDIA GPU code reflec_eth_prmtc: 13388, Generating acc routine seq Generating NVIDIA GPU code reflec_parratt: 13398, Generating acc routine seq Generating NVIDIA GPU code parrat_reflec_bulk: 13421, Generating acc routine seq Generating NVIDIA GPU code refleccq: 13445, Generating acc routine seq Generating NVIDIA GPU code reflecq: 13497, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 13660, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 14290, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 14394, Generating acc routine seq Generating NVIDIA GPU code randrotate: 14409, Generating acc routine seq Generating NVIDIA GPU code randderotate: 14417, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 14426, Generating acc routine seq Generating NVIDIA GPU code init: 18289, Generating update device(_mon_src_xy_var,_M2_var,_mon_src_e_var,_mon_dcm_xy_var,_slit_mon_xy_var,_sample_stage_var,_dcm1_var,_Source_U20_var,_dcm_xtal0_var,_dcm0_var,_instrument_var,_mon_dcm_e_var,_DCM_location_var,_M1_out_var,_M1_rotated_var,_M1_location_var,_M1_var,_M2_out_var,_M2_rotated_var,_M2_location_var,_sample_out_var,_sx_layer_var,_sx_bulk_var,_slit_var,_origin_var,_dcm_xtal1_var,_detector_bulk_var,_det4pi_var,_detector_layer_var) class_Progress_bar_trace: 18330, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18628, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 18854, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 18924, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 18955, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 19160, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 19279, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 20443, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20447, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20447, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 20456, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20461, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20456, Local memory used for .inl_c_23829,_particle_save,.inl_.inl_c_1979_23844,.inl_.inl_.inl_b_1964_1985_23849,.inl_.inl_.inl_.X2777_1963_1984_23848,.inl_.inl_b_1975_23843,.inl_.inl_c_1971_23837,.inl_.inl_.inl_.X2777_1963_1995_23859,.inl_.inl_.X2777_1969_23834,.inl_.inl_b_1970_23835,.inl_.X2761_23821,.inl_.inl_b_1986_23854,.inl_c_23818,.inl_.inl_.inl_b_1964_1996_23860,.inl_.inl_.X2761_1974_23838,.inl_a_23813,.inl_.X2759_23817,.inl_.X2760_23826,.inl_b_23827,.inl_.inl_c_1990_23855 20503, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20506, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20503, Local memory used for .inl_.inl_c_1990_24400,.inl_.inl_.inl_b_1964_1996_24405,.inl_.inl_.inl_.X2777_1963_1995_24404,.inl_.inl_b_1986_24399,.inl_.inl_c_1979_24389,.inl_.inl_.inl_b_1964_1985_24394,.inl_.inl_.inl_.X2777_1963_1984_24393,.inl_.inl_b_1975_24388,.inl_.inl_.X2761_1974_24383,.inl_.inl_c_1971_24382,.inl_c_24413,.inl_.inl_b_1970_24380,.inl_.inl_.X2777_1969_24379,.inl_b_24372,.inl_.X2760_24371,.inl_.X2761_24366,.inl_c_24374,.inl_.X2759_24362,.inl_a_24358,.inl_.inl_c_1990_24350,.inl_.inl_.inl_b_1964_1996_24355,.inl_.inl_.inl_.X2777_1963_1995_24354,.inl_.inl_b_1986_24349,.inl_.inl_c_1979_24339,.inl_.inl_.inl_b_1964_1985_24344,.inl_.inl_.inl_.X2777_1963_1984_24343,.inl_.inl_b_1975_24338,.inl_.inl_.X2761_1974_24333,.inl_.inl_c_1971_24332,.inl_c_24363,.inl_.inl_b_1970_24330,.inl_.inl_.X2777_1969_24329,.inl_b_24322,.inl_.X2760_24321,.inl_.X2761_24316,.inl_c_24324,.inl_.X2759_24312,.inl_a_24308,.inl_.inl_c_1990_24300,.inl_.inl_.inl_b_1964_1996_24305,.inl_.inl_.inl_.X2777_1963_1995_24304,.inl_.inl_b_1986_24299,.inl_.inl_c_1979_24289,.inl_.inl_.inl_b_1964_1985_24294,.inl_.inl_.inl_.X2777_1963_1984_24293,.inl_.inl_b_1975_24288,.inl_.inl_.X2761_1974_24283,.inl_.inl_c_1971_24282,.inl_c_24313,.inl_.inl_b_1970_24280,.inl_.inl_.X2777_1969_24279,.inl_b_24272,.inl_.X2760_24271,.inl_.X2761_24266,.inl_c_24274,.inl_.X2759_24262,.inl_a_24258,.inl_.inl_c_1990_24250,.inl_.inl_.inl_b_1964_1996_24255,.inl_.inl_.inl_.X2777_1963_1995_24254,.inl_.inl_b_1986_24249,.inl_.inl_c_1979_24239,.inl_.inl_.inl_b_1964_1985_24244,.inl_.inl_.inl_.X2777_1963_1984_24243,.inl_.inl_b_1975_24238,.inl_.inl_.X2761_1974_24233,.inl_.inl_c_1971_24232,.inl_c_24263,.inl_.inl_b_1970_24230,.inl_.inl_.X2777_1969_24229,.inl_b_24222,.inl_.X2760_24221,.inl_.X2761_24216,.inl_c_24224,.inl_.X2759_24212,.inl_a_24208,.inl_.inl_c_1990_24200,.inl_.inl_.inl_b_1964_1996_24205,.inl_.inl_.inl_.X2777_1963_1995_24204,.inl_.inl_b_1986_24199,.inl_.inl_c_1979_24189,.inl_.inl_.inl_b_1964_1985_24194,.inl_.inl_.inl_.X2777_1963_1984_24193,.inl_.inl_b_1975_24188,.inl_.inl_.X2761_1974_24183,.inl_.inl_c_1971_24182,.inl_c_24213,.inl_.inl_b_1970_24180,.inl_.inl_.X2777_1969_24179,.inl_b_24172,.inl_.X2760_24171,.inl_.X2761_24166,.inl_c_24174,.inl_.X2759_24162,.inl_a_24158,.inl_.inl_c_1990_24150,.inl_.inl_.inl_b_1964_1996_24155,.inl_.inl_.inl_.X2777_1963_1995_24154,.inl_.inl_b_1986_24149,.inl_.inl_c_1979_24139,.inl_.inl_.inl_b_1964_1985_24144,.inl_.inl_.inl_.X2777_1963_1984_24143,.inl_.inl_b_1975_24138,.inl_.inl_.X2761_1974_24133,.inl_.inl_c_1971_24132,.inl_c_24163,.inl_.inl_b_1970_24130,.inl_.inl_.X2777_1969_24129,.inl_b_24122,.inl_.X2760_24121,.inl_.X2761_24116,.inl_c_24124,.inl_.X2759_24112,.inl_a_24108,.inl_.inl_c_1990_24057,.inl_.inl_.inl_b_1964_1996_24062,.inl_.inl_.inl_.X2777_1963_1995_24061,.inl_.inl_b_1986_24056,.inl_.inl_c_1979_24046,.inl_.inl_.inl_b_1964_1985_24051,.inl_.inl_.inl_.X2777_1963_1984_24050,.inl_.inl_b_1975_24045,.inl_.inl_.X2761_1974_24040,.inl_.inl_c_1971_24039,.inl_c_24113,.inl_.inl_b_1970_24037,.inl_.inl_.X2777_1969_24036,.inl_b_24029,.inl_.X2760_24028,.inl_.X2761_24023,.inl_c_24031,.inl_.X2759_24019,.inl_a_24015,.inl_.X2761_24416,.inl_.inl_c_1990_24007,.inl_.inl_.inl_b_1964_1996_24012,.inl_.inl_.inl_.X2777_1963_1995_24011,.inl_.inl_b_1986_24006,.inl_.inl_c_1979_23996,.inl_.inl_.inl_b_1964_1985_24001,.inl_.inl_.inl_.X2777_1963_1984_24000,.inl_.inl_b_1975_23995,.inl_.inl_.X2761_1974_23990,.inl_.inl_c_1971_23989,.inl_c_24020,.inl_.inl_b_1970_23987,.inl_.inl_.X2777_1969_23986,.inl_b_23979,.inl_.X2760_23978,.inl_.X2761_23973,.inl_c_23981,.inl_.X2759_23969,.inl_a_23965,.inl_.inl_c_1990_23957,.inl_.inl_.inl_b_1964_1996_23962,.inl_.inl_.inl_.X2777_1963_1995_23961,.inl_.inl_b_1986_23956,.inl_.inl_c_1979_23946,.inl_.inl_.inl_b_1964_1985_23951,.inl_.inl_.inl_.X2777_1963_1984_23950,.inl_.inl_b_1975_23945,.inl_.inl_.X2761_1974_23940,.inl_.inl_c_1971_23939,.inl_c_23970,.inl_.inl_b_1970_23937,.inl_.inl_.X2777_1969_23936,.inl_b_23929,.inl_.X2760_23928,.inl_.X2761_23923,.inl_c_23931,.inl_.X2759_23919,.inl_a_23915,_particle_save,.inl_c_24424,.inl_.inl_c_1979_24439,.inl_.inl_.inl_b_1964_1985_24444,.inl_.inl_.inl_.X2777_1963_1984_24443,.inl_.inl_b_1975_24438,.inl_.inl_c_1971_24432,.inl_.inl_.inl_.X2777_1963_1995_24454,.inl_.inl_.X2777_1969_24429,.inl_.inl_b_1970_24430,.inl_.inl_.X2760_8899_24089,.inl_.inl_b_1986_24449,.inl_c_23920,.inl_.inl_.inl_b_1964_1996_24455,.inl_.inl_.X2761_1974_24433,.inl_a_24408,.inl_.X2759_24412,.inl_.X2760_24421,.inl_b_24422,.inl_.inl_c_1990_24450 20708, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20712, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20708, Local memory used for .inl_.inl_c_1990_24752,.inl_.inl_.inl_b_1964_1996_24757,.inl_.inl_.inl_.X2777_1963_1995_24756,.inl_.inl_b_1986_24751,.inl_.inl_c_1979_24741,.inl_.inl_.inl_b_1964_1985_24746,.inl_.inl_.inl_.X2777_1963_1984_24745,.inl_.inl_b_1975_24740,.inl_.inl_.X2761_1974_24735,.inl_.inl_c_1971_24734,.inl_c_24765,.inl_.inl_b_1970_24732,.inl_.inl_.X2777_1969_24731,.inl_b_24724,.inl_.X2760_24723,.inl_.X2761_24718,.inl_c_24726,.inl_.X2759_24714,.inl_a_24710,.inl_.inl_c_1990_24702,.inl_.inl_.inl_b_1964_1996_24707,.inl_.inl_.inl_.X2777_1963_1995_24706,.inl_.inl_b_1986_24701,.inl_.inl_c_1979_24691,.inl_.inl_.inl_b_1964_1985_24696,.inl_.inl_.inl_.X2777_1963_1984_24695,.inl_.inl_b_1975_24690,.inl_.inl_.X2761_1974_24685,.inl_.inl_c_1971_24684,.inl_c_24715,.inl_.inl_b_1970_24682,.inl_.inl_.X2777_1969_24681,.inl_b_24674,.inl_.X2760_24673,.inl_.X2761_24668,.inl_c_24676,.inl_.X2759_24664,.inl_a_24660,.inl_.inl_c_1990_24650,.inl_.inl_.inl_b_1964_1996_24655,.inl_.inl_.inl_.X2777_1963_1995_24654,.inl_.inl_b_1986_24649,.inl_.inl_c_1979_24639,.inl_.inl_.inl_b_1964_1985_24644,.inl_.inl_.inl_.X2777_1963_1984_24643,.inl_.inl_b_1975_24638,.inl_.inl_.X2761_1974_24633,.inl_.inl_c_1971_24632,.inl_c_24665,.inl_.inl_b_1970_24630,.inl_.inl_.X2777_1969_24629,.inl_b_24622,.inl_.X2760_24621,.inl_.X2761_24616,.inl_c_24624,.inl_.X2759_24612,.inl_a_24608,.inl_.inl_c_1990_24600,.inl_.inl_.inl_b_1964_1996_24605,.inl_.inl_.inl_.X2777_1963_1995_24604,.inl_.inl_b_1986_24599,.inl_.inl_c_1979_24589,.inl_.inl_.inl_b_1964_1985_24594,.inl_.inl_.inl_.X2777_1963_1984_24593,.inl_.inl_b_1975_24588,.inl_.inl_.X2761_1974_24583,.inl_.inl_c_1971_24582,.inl_c_24613,.inl_.inl_b_1970_24580,.inl_.inl_.X2777_1969_24579,.inl_b_24572,.inl_.X2760_24571,.inl_.X2761_24566,.inl_c_24574,.inl_.X2759_24562,.inl_a_24558,.inl_.inl_c_1990_24550,.inl_.inl_.inl_b_1964_1996_24555,.inl_.inl_.inl_.X2777_1963_1995_24554,.inl_.inl_b_1986_24549,.inl_.inl_c_1979_24539,.inl_.inl_.inl_b_1964_1985_24544,.inl_.inl_.inl_.X2777_1963_1984_24543,.inl_.inl_b_1975_24538,.inl_.inl_.X2761_1974_24533,.inl_.inl_c_1971_24532,.inl_c_24563,.inl_.inl_b_1970_24530,.inl_.inl_.X2777_1969_24529,.inl_b_24522,.inl_.X2760_24521,.inl_.X2761_24516,.inl_c_24524,.inl_.X2759_24512,.inl_a_24508,.inl_.inl_c_1990_24500,.inl_.inl_.inl_b_1964_1996_24505,.inl_.inl_.inl_.X2777_1963_1995_24504,.inl_.inl_b_1986_24499,.inl_.inl_c_1979_24489,.inl_.inl_.inl_b_1964_1985_24494,.inl_.inl_.inl_.X2777_1963_1984_24493,.inl_.inl_b_1975_24488,.inl_.inl_.X2761_1974_24483,.inl_.inl_c_1971_24482,.inl_c_24513,.inl_.inl_b_1970_24480,.inl_.inl_.X2777_1969_24479,.inl_b_24472,.inl_.X2760_24471,.inl_.X2761_24466,.inl_c_24474,.inl_.X2759_24462,.inl_a_24458,_particle_save,.inl_c_24776,.inl_.inl_c_1979_24791,.inl_.inl_.inl_b_1964_1985_24796,.inl_.inl_.inl_.X2777_1963_1984_24795,.inl_.inl_b_1975_24790,.inl_.inl_c_1971_24784,.inl_.inl_.inl_.X2777_1963_1995_24806,.inl_.inl_.X2777_1969_24781,.inl_.inl_b_1970_24782,.inl_.X2761_24768,.inl_.inl_b_1986_24801,.inl_c_24463,.inl_.inl_.inl_b_1964_1996_24807,.inl_.inl_.X2761_1974_24785,.inl_a_24760,.inl_.X2759_24764,.inl_.X2760_24773,.inl_b_24774,.inl_.inl_c_1990_24802 finally: 21338, Generating update self(_mon_src_xy_var,_M2_var,_mon_src_e_var,_mon_dcm_xy_var,_slit_mon_xy_var,_sample_stage_var,_dcm1_var,_Source_U20_var,_dcm_xtal0_var,_dcm0_var,_instrument_var,_mon_dcm_e_var,_DCM_location_var,_M1_out_var,_M1_rotated_var,_M1_location_var,_M1_var,_M2_out_var,_M2_rotated_var,_M2_location_var,_sample_out_var,_sx_bulk_var,_sx_layer_var,_slit_var,_origin_var,_dcm_xtal1_var,_detector_bulk_var,_det4pi_var,_detector_layer_var) mcenabletrace: 6034, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvchv7XpviPhF61D.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2025-12-12/McXtrace_8GPU_openacc_mpi_x_7_2e7_Linux_2e7/SOLEIL_SIXS/./SOLEIL_SIXS.c:13717: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===