INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_SIXS_20260315_154631" 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 88: 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 90: 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 93: 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 106: 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 110: 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 140: 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 110: 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 171: 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 195: 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 206: 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 217: 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 228: 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 296: 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 298: 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 649: 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 870: 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 887: 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 889: 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 897: 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 899: 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 901: 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 903: 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 905: 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 1001: 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 1003: 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 1005: 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 1007: 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 1009: 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 1011: 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 1013: 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 1015: 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 1017: 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 4623: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_SIXS.c", line 5078: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_SIXS.c", line 4997: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_SIXS.c", line 6324: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_SIXS.c", line 6778: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_SIXS.c", line 6951: 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 13657: warning: Routine "SX_list_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] SX_list_compare (void const* a, void const* b) { ^ "./SOLEIL_SIXS.c", line 13797: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] char flag = 0; ^ "./SOLEIL_SIXS.c", line 14308: warning: Routine "hkl_search" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] hkl_search (struct hkl_data* L, void* TT, int count, double V0, double kix, double kiy, double kiz, double tau_max, double* coh_refl, double* coh_xsect) { ^ "./SOLEIL_SIXS.c", line 14411: warning: Routine "hkl_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] hkl_select (struct tau_data* T, int tau_count, double coh_refl, double* sum, _class_particle* _particle) { ^ "./SOLEIL_SIXS.c", line 14427: warning: Routine "randrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] randrotate (double* nx, double* ny, double* nz, double a, double b, double c) { ^ "./SOLEIL_SIXS.c", line 14436: warning: Routine "randderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] randderotate (double* nx, double* ny, double* nz, double a, double b, double c) { ^ "./SOLEIL_SIXS.c", line 14446: warning: Routine "vec_rotate_2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] vec_rotate_2d (double* x, double* y, double angle) { ^ "./SOLEIL_SIXS.c", line 14469: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_SIXS.c", line 14471: warning: variable "Z" was set but never used [set_but_not_used] double Z; ^ "./SOLEIL_SIXS.c", line 14993: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_SIXS.c", line 14981: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_SIXS.c", line 15038: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_SIXS.c", line 15133: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_SIXS.c", line 15247: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_SIXS.c", line 15361: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_SIXS.c", line 15435: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_SIXS.c", line 15549: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_SIXS.c", line 15598: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_SIXS.c", line 15683: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_SIXS.c", line 15732: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_SIXS.c", line 15817: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_SIXS.c", line 15866: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_SIXS.c", line 15980: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_SIXS.c", line 16094: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_SIXS.c", line 16143: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_SIXS.c", line 16192: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_SIXS.c", line 16260: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_SIXS.c", line 16309: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_SIXS.c", line 16358: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_SIXS.c", line 16407: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_SIXS.c", line 16475: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_SIXS.c", line 16524: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_SIXS.c", line 16638: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_SIXS.c", line 16782: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_SIXS.c", line 16926: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SOLEIL_SIXS.c", line 16975: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SOLEIL_SIXS.c", line 17089: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SOLEIL_SIXS.c", line 17203: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SOLEIL_SIXS.c", line 17792: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_SIXS.c", line 17858: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_SIXS.c", line 18018: warning: variable "surf_dir_sum" was declared but never referenced [declared_but_not_referenced] double surf_dir_sum = 0; ^ "./SOLEIL_SIXS.c", line 17937: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./SOLEIL_SIXS.c", line 17937: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./SOLEIL_SIXS.c", line 17937: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./SOLEIL_SIXS.c", line 18358: warning: incompatible redefinition of macro "exit" (declared at line 628) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_SIXS.c", line 18370: 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 18491: warning: variable "l" was declared but never referenced [declared_but_not_referenced] double k, e, l, w_u, r, w; ^ "./SOLEIL_SIXS.c", line 18491: warning: variable "r" was declared but never referenced [declared_but_not_referenced] double k, e, l, w_u, r, w; ^ "./SOLEIL_SIXS.c", line 18667: 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 18873: 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 18945: 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 18976: 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 19068: 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 19068: 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 19068: 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 19012: 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 19207: 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 19324: 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 19386: warning: variable "k" was declared but never referenced [declared_but_not_referenced] double k; /* photon wave vector */ ^ "./SOLEIL_SIXS.c", line 19387: 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 19387: 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 19387: 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 19388: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./SOLEIL_SIXS.c", line 19389: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./SOLEIL_SIXS.c", line 19390: 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 19390: 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 19390: 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 19391: 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 19391: 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 19391: 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 19392: 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 19392: 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 19392: 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 19393: 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 19393: 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 19393: 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 19394: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./SOLEIL_SIXS.c", line 19395: 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 19395: 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 19395: 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 19396: 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 19396: 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 19396: 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 19397: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./SOLEIL_SIXS.c", line 19398: 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 19398: 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 19399: 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 19399: 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 19400: 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 19406: 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 19407: 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 19422: 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 22290: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_SIXS.c", line 22291: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_SIXS.c", line 1500: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_SIXS.c", line 2969: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 99, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 113, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 147, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 173, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 197, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 208, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 217, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 228, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1548, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1552, Generating acc routine seq Generating NVIDIA GPU code str_len: 1561, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4241, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4675, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4686, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4695, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4707, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4719, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4729, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4739, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4747, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4757, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4779, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4786, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4832, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4867, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4878, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4895, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4906, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4922, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4951, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4962, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4966, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5001, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5008, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5017, #pragma acc loop seq 5001, Generating implicit copy(lens[:]) [if not already present] 5008, Generating implicit firstprivate(ll,l) 5019, Accelerator restriction: induction variable live-out from loop: i 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 5024, Accelerator restriction: induction variable live-out from loop: j 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 5049, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5053, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5056, #pragma acc loop seq 5049, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5056, Generating implicit firstprivate(l) 5073, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5077, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5084, #pragma acc loop seq 5073, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5143, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5174, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5191, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5290, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5374, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5440, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5517, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5789, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5801, Generating acc routine seq Generating NVIDIA GPU code _hash: 5833, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5874, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5885, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5890, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5898, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5906, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5913, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6576, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6612, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6673, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6689, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6775, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6843, 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: 13657, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 14308, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 14411, Generating acc routine seq Generating NVIDIA GPU code randrotate: 14427, Generating acc routine seq Generating NVIDIA GPU code randderotate: 14436, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 14446, Generating acc routine seq Generating NVIDIA GPU code init: 18329, 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: 18371, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18668, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 18874, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 18946, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 18977, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 19208, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 19325, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 20488, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20492, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20492, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 20501, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20506, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20501, Local memory used for .inl_c_23829,_particle_save,.inl_.inl_c_1979_23844,.inl_.inl_.inl_b_1964_1985_23849,.inl_.inl_.inl_.X2778_1963_1984_23848,.inl_.inl_b_1975_23843,.inl_.inl_c_1971_23837,.inl_.inl_.inl_.X2778_1963_1995_23859,.inl_.inl_.X2778_1969_23834,.inl_.inl_b_1970_23835,.inl_.X2762_23821,.inl_.inl_b_1986_23854,.inl_c_23818,.inl_.inl_.inl_b_1964_1996_23860,.inl_.inl_.X2762_1974_23838,.inl_a_23813,.inl_.X2760_23817,.inl_.X2761_23826,.inl_b_23827,.inl_.inl_c_1990_23855 20548, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20551, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20548, Local memory used for .inl_.inl_c_1990_24400,.inl_.inl_.inl_b_1964_1996_24405,.inl_.inl_.inl_.X2778_1963_1995_24404,.inl_.inl_b_1986_24399,.inl_.inl_c_1979_24389,.inl_.inl_.inl_b_1964_1985_24394,.inl_.inl_.inl_.X2778_1963_1984_24393,.inl_.inl_b_1975_24388,.inl_.inl_.X2762_1974_24383,.inl_.inl_c_1971_24382,.inl_c_24413,.inl_.inl_b_1970_24380,.inl_.inl_.X2778_1969_24379,.inl_b_24372,.inl_.X2761_24371,.inl_.X2762_24366,.inl_c_24374,.inl_.X2760_24362,.inl_a_24358,.inl_.inl_c_1990_24350,.inl_.inl_.inl_b_1964_1996_24355,.inl_.inl_.inl_.X2778_1963_1995_24354,.inl_.inl_b_1986_24349,.inl_.inl_c_1979_24339,.inl_.inl_.inl_b_1964_1985_24344,.inl_.inl_.inl_.X2778_1963_1984_24343,.inl_.inl_b_1975_24338,.inl_.inl_.X2762_1974_24333,.inl_.inl_c_1971_24332,.inl_c_24363,.inl_.inl_b_1970_24330,.inl_.inl_.X2778_1969_24329,.inl_b_24322,.inl_.X2761_24321,.inl_.X2762_24316,.inl_c_24324,.inl_.X2760_24312,.inl_a_24308,.inl_.inl_c_1990_24300,.inl_.inl_.inl_b_1964_1996_24305,.inl_.inl_.inl_.X2778_1963_1995_24304,.inl_.inl_b_1986_24299,.inl_.inl_c_1979_24289,.inl_.inl_.inl_b_1964_1985_24294,.inl_.inl_.inl_.X2778_1963_1984_24293,.inl_.inl_b_1975_24288,.inl_.inl_.X2762_1974_24283,.inl_.inl_c_1971_24282,.inl_c_24313,.inl_.inl_b_1970_24280,.inl_.inl_.X2778_1969_24279,.inl_b_24272,.inl_.X2761_24271,.inl_.X2762_24266,.inl_c_24274,.inl_.X2760_24262,.inl_a_24258,.inl_.inl_c_1990_24250,.inl_.inl_.inl_b_1964_1996_24255,.inl_.inl_.inl_.X2778_1963_1995_24254,.inl_.inl_b_1986_24249,.inl_.inl_c_1979_24239,.inl_.inl_.inl_b_1964_1985_24244,.inl_.inl_.inl_.X2778_1963_1984_24243,.inl_.inl_b_1975_24238,.inl_.inl_.X2762_1974_24233,.inl_.inl_c_1971_24232,.inl_c_24263,.inl_.inl_b_1970_24230,.inl_.inl_.X2778_1969_24229,.inl_b_24222,.inl_.X2761_24221,.inl_.X2762_24216,.inl_c_24224,.inl_.X2760_24212,.inl_a_24208,.inl_.inl_c_1990_24200,.inl_.inl_.inl_b_1964_1996_24205,.inl_.inl_.inl_.X2778_1963_1995_24204,.inl_.inl_b_1986_24199,.inl_.inl_c_1979_24189,.inl_.inl_.inl_b_1964_1985_24194,.inl_.inl_.inl_.X2778_1963_1984_24193,.inl_.inl_b_1975_24188,.inl_.inl_.X2762_1974_24183,.inl_.inl_c_1971_24182,.inl_c_24213,.inl_.inl_b_1970_24180,.inl_.inl_.X2778_1969_24179,.inl_b_24172,.inl_.X2761_24171,.inl_.X2762_24166,.inl_c_24174,.inl_.X2760_24162,.inl_a_24158,.inl_.inl_c_1990_24150,.inl_.inl_.inl_b_1964_1996_24155,.inl_.inl_.inl_.X2778_1963_1995_24154,.inl_.inl_b_1986_24149,.inl_.inl_c_1979_24139,.inl_.inl_.inl_b_1964_1985_24144,.inl_.inl_.inl_.X2778_1963_1984_24143,.inl_.inl_b_1975_24138,.inl_.inl_.X2762_1974_24133,.inl_.inl_c_1971_24132,.inl_c_24163,.inl_.inl_b_1970_24130,.inl_.inl_.X2778_1969_24129,.inl_b_24122,.inl_.X2761_24121,.inl_.X2762_24116,.inl_c_24124,.inl_.X2760_24112,.inl_a_24108,.inl_.inl_c_1990_24057,.inl_.inl_.inl_b_1964_1996_24062,.inl_.inl_.inl_.X2778_1963_1995_24061,.inl_.inl_b_1986_24056,.inl_.inl_c_1979_24046,.inl_.inl_.inl_b_1964_1985_24051,.inl_.inl_.inl_.X2778_1963_1984_24050,.inl_.inl_b_1975_24045,.inl_.inl_.X2762_1974_24040,.inl_.inl_c_1971_24039,.inl_c_24113,.inl_.inl_b_1970_24037,.inl_.inl_.X2778_1969_24036,.inl_b_24029,.inl_.X2761_24028,.inl_.X2762_24023,.inl_c_24031,.inl_.X2760_24019,.inl_a_24015,.inl_.X2762_24416,.inl_.inl_c_1990_24007,.inl_.inl_.inl_b_1964_1996_24012,.inl_.inl_.inl_.X2778_1963_1995_24011,.inl_.inl_b_1986_24006,.inl_.inl_c_1979_23996,.inl_.inl_.inl_b_1964_1985_24001,.inl_.inl_.inl_.X2778_1963_1984_24000,.inl_.inl_b_1975_23995,.inl_.inl_.X2762_1974_23990,.inl_.inl_c_1971_23989,.inl_c_24020,.inl_.inl_b_1970_23987,.inl_.inl_.X2778_1969_23986,.inl_b_23979,.inl_.X2761_23978,.inl_.X2762_23973,.inl_c_23981,.inl_.X2760_23969,.inl_a_23965,.inl_.inl_c_1990_23957,.inl_.inl_.inl_b_1964_1996_23962,.inl_.inl_.inl_.X2778_1963_1995_23961,.inl_.inl_b_1986_23956,.inl_.inl_c_1979_23946,.inl_.inl_.inl_b_1964_1985_23951,.inl_.inl_.inl_.X2778_1963_1984_23950,.inl_.inl_b_1975_23945,.inl_.inl_.X2762_1974_23940,.inl_.inl_c_1971_23939,.inl_c_23970,.inl_.inl_b_1970_23937,.inl_.inl_.X2778_1969_23936,.inl_b_23929,.inl_.X2761_23928,.inl_.X2762_23923,.inl_c_23931,.inl_.X2760_23919,.inl_a_23915,_particle_save,.inl_c_24424,.inl_.inl_c_1979_24439,.inl_.inl_.inl_b_1964_1985_24444,.inl_.inl_.inl_.X2778_1963_1984_24443,.inl_.inl_b_1975_24438,.inl_.inl_c_1971_24432,.inl_.inl_.inl_.X2778_1963_1995_24454,.inl_.inl_.X2778_1969_24429,.inl_.inl_b_1970_24430,.inl_.inl_.X2761_8899_24089,.inl_.inl_b_1986_24449,.inl_c_23920,.inl_.inl_.inl_b_1964_1996_24455,.inl_.inl_.X2762_1974_24433,.inl_a_24408,.inl_.X2760_24412,.inl_.X2761_24421,.inl_b_24422,.inl_.inl_c_1990_24450 20753, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20757, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20753, Local memory used for .inl_.inl_c_1990_24752,.inl_.inl_.inl_b_1964_1996_24757,.inl_.inl_.inl_.X2778_1963_1995_24756,.inl_.inl_b_1986_24751,.inl_.inl_c_1979_24741,.inl_.inl_.inl_b_1964_1985_24746,.inl_.inl_.inl_.X2778_1963_1984_24745,.inl_.inl_b_1975_24740,.inl_.inl_.X2762_1974_24735,.inl_.inl_c_1971_24734,.inl_c_24765,.inl_.inl_b_1970_24732,.inl_.inl_.X2778_1969_24731,.inl_b_24724,.inl_.X2761_24723,.inl_.X2762_24718,.inl_c_24726,.inl_.X2760_24714,.inl_a_24710,.inl_.inl_c_1990_24702,.inl_.inl_.inl_b_1964_1996_24707,.inl_.inl_.inl_.X2778_1963_1995_24706,.inl_.inl_b_1986_24701,.inl_.inl_c_1979_24691,.inl_.inl_.inl_b_1964_1985_24696,.inl_.inl_.inl_.X2778_1963_1984_24695,.inl_.inl_b_1975_24690,.inl_.inl_.X2762_1974_24685,.inl_.inl_c_1971_24684,.inl_c_24715,.inl_.inl_b_1970_24682,.inl_.inl_.X2778_1969_24681,.inl_b_24674,.inl_.X2761_24673,.inl_.X2762_24668,.inl_c_24676,.inl_.X2760_24664,.inl_a_24660,.inl_.inl_c_1990_24650,.inl_.inl_.inl_b_1964_1996_24655,.inl_.inl_.inl_.X2778_1963_1995_24654,.inl_.inl_b_1986_24649,.inl_.inl_c_1979_24639,.inl_.inl_.inl_b_1964_1985_24644,.inl_.inl_.inl_.X2778_1963_1984_24643,.inl_.inl_b_1975_24638,.inl_.inl_.X2762_1974_24633,.inl_.inl_c_1971_24632,.inl_c_24665,.inl_.inl_b_1970_24630,.inl_.inl_.X2778_1969_24629,.inl_b_24622,.inl_.X2761_24621,.inl_.X2762_24616,.inl_c_24624,.inl_.X2760_24612,.inl_a_24608,.inl_.inl_c_1990_24600,.inl_.inl_.inl_b_1964_1996_24605,.inl_.inl_.inl_.X2778_1963_1995_24604,.inl_.inl_b_1986_24599,.inl_.inl_c_1979_24589,.inl_.inl_.inl_b_1964_1985_24594,.inl_.inl_.inl_.X2778_1963_1984_24593,.inl_.inl_b_1975_24588,.inl_.inl_.X2762_1974_24583,.inl_.inl_c_1971_24582,.inl_c_24613,.inl_.inl_b_1970_24580,.inl_.inl_.X2778_1969_24579,.inl_b_24572,.inl_.X2761_24571,.inl_.X2762_24566,.inl_c_24574,.inl_.X2760_24562,.inl_a_24558,.inl_.inl_c_1990_24550,.inl_.inl_.inl_b_1964_1996_24555,.inl_.inl_.inl_.X2778_1963_1995_24554,.inl_.inl_b_1986_24549,.inl_.inl_c_1979_24539,.inl_.inl_.inl_b_1964_1985_24544,.inl_.inl_.inl_.X2778_1963_1984_24543,.inl_.inl_b_1975_24538,.inl_.inl_.X2762_1974_24533,.inl_.inl_c_1971_24532,.inl_c_24563,.inl_.inl_b_1970_24530,.inl_.inl_.X2778_1969_24529,.inl_b_24522,.inl_.X2761_24521,.inl_.X2762_24516,.inl_c_24524,.inl_.X2760_24512,.inl_a_24508,.inl_.inl_c_1990_24500,.inl_.inl_.inl_b_1964_1996_24505,.inl_.inl_.inl_.X2778_1963_1995_24504,.inl_.inl_b_1986_24499,.inl_.inl_c_1979_24489,.inl_.inl_.inl_b_1964_1985_24494,.inl_.inl_.inl_.X2778_1963_1984_24493,.inl_.inl_b_1975_24488,.inl_.inl_.X2762_1974_24483,.inl_.inl_c_1971_24482,.inl_c_24513,.inl_.inl_b_1970_24480,.inl_.inl_.X2778_1969_24479,.inl_b_24472,.inl_.X2761_24471,.inl_.X2762_24466,.inl_c_24474,.inl_.X2760_24462,.inl_a_24458,_particle_save,.inl_c_24776,.inl_.inl_c_1979_24791,.inl_.inl_.inl_b_1964_1985_24796,.inl_.inl_.inl_.X2778_1963_1984_24795,.inl_.inl_b_1975_24790,.inl_.inl_c_1971_24784,.inl_.inl_.inl_.X2778_1963_1995_24806,.inl_.inl_.X2778_1969_24781,.inl_.inl_b_1970_24782,.inl_.X2762_24768,.inl_.inl_b_1986_24801,.inl_c_24463,.inl_.inl_.inl_b_1964_1996_24807,.inl_.inl_.X2762_1974_24785,.inl_a_24760,.inl_.X2760_24764,.inl_.X2761_24773,.inl_b_24774,.inl_.inl_c_1990_24802 finally: 21380, 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: 6033, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcDlvloxucyuHpj.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2026-03-15/McXtrace_8GPU_openacc_mpi_x_7_2e7_Linux_2e7/SOLEIL_SIXS/./SOLEIL_SIXS.c:13742: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===