INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_DIFFABS_20251212_160450" INFO: Regenerating c-file: SOLEIL_DIFFABS.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./SOLEIL_DIFFABS.c SOLEIL_DIFFABS.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT bragg_crystal_two: EXTEND %{ if (!SCATTERED) ABSORB; %} is overwritten by: EXTEND %{ if (!SCATTERED) ABSORB; %} ----------------------------------------------------------- Warning: Component powder=PowderN() at line SOLEIL_DIFFABS.instr:262 is 1st in GROUP samples and has a SPLIT. Best practice is to move the SPLIT to an earlier component. CFLAGS= -std=c99 @XRLFLAGS@ -DUSE_OFF -DFUNNEL WARNING: The parameter format of powder is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter mat_format of powder 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 powder ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component powder Component fluo is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component fluo -> GPU kernel from component fluo_monitor ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_DIFFABS.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_DIFFABS.out ./SOLEIL_DIFFABS.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -std=c99 -Wl,-rpath,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -lxrl -I/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -DUSE_OFF -DFUNNEL "./SOLEIL_DIFFABS.c", line 85: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./SOLEIL_DIFFABS.c", line 87: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double kx, double ky, double kz, ^ "./SOLEIL_DIFFABS.c", line 90: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcphoton, double *x, double *y, double *z, double *kx, double *ky, double *kz, ^ "./SOLEIL_DIFFABS.c", line 105: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_DIFFABS.c", line 109: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_DIFFABS.c", line 138: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_DIFFABS.c", line 109: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_DIFFABS.c", line 168: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./SOLEIL_DIFFABS.c", line 191: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./SOLEIL_DIFFABS.c", line 202: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./SOLEIL_DIFFABS.c", line 213: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./SOLEIL_DIFFABS.c", line 223: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./SOLEIL_DIFFABS.c", line 290: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./SOLEIL_DIFFABS.c", line 292: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./SOLEIL_DIFFABS.c", line 643: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./SOLEIL_DIFFABS.c", line 864: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 881: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./SOLEIL_DIFFABS.c", line 883: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./SOLEIL_DIFFABS.c", line 891: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 893: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 895: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 897: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 899: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 995: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./SOLEIL_DIFFABS.c", line 997: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./SOLEIL_DIFFABS.c", line 999: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./SOLEIL_DIFFABS.c", line 1001: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./SOLEIL_DIFFABS.c", line 1003: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./SOLEIL_DIFFABS.c", line 1005: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./SOLEIL_DIFFABS.c", line 1007: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./SOLEIL_DIFFABS.c", line 1009: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./SOLEIL_DIFFABS.c", line 1011: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./SOLEIL_DIFFABS.c", line 4617: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_DIFFABS.c", line 5072: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_DIFFABS.c", line 4991: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_DIFFABS.c", line 6318: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 6772: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_DIFFABS.c", line 6945: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_DIFFABS.c", line 7237: 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_DIFFABS.c", line 7239: 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_DIFFABS.c", line 7246: 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_DIFFABS.c", line 7266: 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_DIFFABS.c", line 7268: 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_DIFFABS.c", line 7270: 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, ^ "/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_DIFFABS.c", line 8789: 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_DIFFABS.c", line 8791: 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_DIFFABS.c", line 8793: 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_DIFFABS.c", line 8796: 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_DIFFABS.c", line 8798: 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_DIFFABS.c", line 8800: 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_DIFFABS.c", line 8802: 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_DIFFABS.c", line 8804: 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_DIFFABS.c", line 8806: 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_DIFFABS.c", line 8808: 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_DIFFABS.c", line 8853: warning: conversion from pointer to smaller integer [pointer_conversion_loses_bits] int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_DIFFABS.c", line 8831: warning: variable "status" was declared but never referenced [declared_but_not_referenced] int status; ^ "./SOLEIL_DIFFABS.c", line 8944: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 9157: warning: variable "R" was declared but never referenced [declared_but_not_referenced] double b_mu,R; ^ "./SOLEIL_DIFFABS.c", line 9217: 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_DIFFABS.c", line 9212: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_DIFFABS.c", line 9235: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_DIFFABS.c", line 9559: 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_DIFFABS.c", line 9723: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_DIFFABS.c", line 10823: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_DIFFABS.c", line 11559: 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_DIFFABS.c", line 11582: 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_DIFFABS.c", line 11603: 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_DIFFABS.c", line 11690: 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_DIFFABS.c", line 11695: 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_DIFFABS.c", line 11704: 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_DIFFABS.c", line 11730: 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_DIFFABS.c", line 11733: 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_DIFFABS.c", line 11733: 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_DIFFABS.c", line 11733: 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_DIFFABS.c", line 11733: 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_DIFFABS.c", line 11733: 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_DIFFABS.c", line 11733: 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_DIFFABS.c", line 11793: 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_DIFFABS.c", line 11923: 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_DIFFABS.c", line 11967: 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_DIFFABS.c", line 12088: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_DIFFABS.c", line 12200: 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_DIFFABS.c", line 12212: 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_DIFFABS.c", line 12247: 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_DIFFABS.c", line 12503: 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_DIFFABS.c", line 12509: 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_DIFFABS.c", line 12574: warning: Routine "gpusort" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void gpusort(intersection *arr, int size) ^ "./SOLEIL_DIFFABS.c", line 12964: 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_DIFFABS.c", line 12970: 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_DIFFABS.c", line 12976: 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_DIFFABS.c", line 12983: 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_DIFFABS.c", line 12993: 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_DIFFABS.c", line 12999: 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_DIFFABS.c", line 13433: 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_DIFFABS.c", line 13928: warning: Routine "calc_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int calc_xsect(double k, double *q, double *my_s_k2, int count, double *sum, ^ "./SOLEIL_DIFFABS.c", line 13969: warning: Routine "calc_abs_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int calc_abs_xsect(double k, double *abs, struct line_info_struct *line_info){ ^ "./SOLEIL_DIFFABS.c", line 13979: warning: Routine "calc_inc_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int calc_inc_xsect(double k, double *inc, struct line_info_struct *line_info){ ^ "./SOLEIL_DIFFABS.c", line 14805: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_DIFFABS.c", line 14793: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_DIFFABS.c", line 14850: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_DIFFABS.c", line 14931: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_DIFFABS.c", line 15005: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_DIFFABS.c", line 15054: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_DIFFABS.c", line 15103: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_DIFFABS.c", line 15171: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_DIFFABS.c", line 15220: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_DIFFABS.c", line 15294: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_DIFFABS.c", line 15408: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_DIFFABS.c", line 15522: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_DIFFABS.c", line 15571: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_DIFFABS.c", line 15656: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_DIFFABS.c", line 15705: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_DIFFABS.c", line 15790: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_DIFFABS.c", line 15839: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_DIFFABS.c", line 15953: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_DIFFABS.c", line 16067: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_DIFFABS.c", line 16181: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_DIFFABS.c", line 16255: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_DIFFABS.c", line 16304: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_DIFFABS.c", line 16353: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_DIFFABS.c", line 16421: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_DIFFABS.c", line 16470: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_DIFFABS.c", line 16584: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SOLEIL_DIFFABS.c", line 16709: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SOLEIL_DIFFABS.c", line 16819: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SOLEIL_DIFFABS.c", line 16933: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SOLEIL_DIFFABS.c", line 17047: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./SOLEIL_DIFFABS.c", line 17349: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 17582: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 17846: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 18369: warning: incompatible redefinition of macro "exit" (declared at line 622) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_DIFFABS.c", line 18381: 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_DIFFABS.c", line 18472: warning: Routine "class_Bending_magnet_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Bending_magnet_trace(_class_Bending_magnet *_comp ^ "./SOLEIL_DIFFABS.c", line 18500: warning: variable "z1" was set but never used [set_but_not_used] double xx,yy,x1,y1,z1; ^ "./SOLEIL_DIFFABS.c", line 18502: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1=1.0; ^ "./SOLEIL_DIFFABS.c", line 18626: 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_DIFFABS.c", line 18696: 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_DIFFABS.c", line 18813: 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_DIFFABS.c", line 18849: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_DIFFABS.c", line 19032: 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_DIFFABS.c", line 19112: 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_DIFFABS.c", line 19112: 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_DIFFABS.c", line 19112: 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_DIFFABS.c", line 19068: 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_DIFFABS.c", line 19235: warning: Routine "class_PowderN_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PowderN_trace(_class_PowderN *_comp ^ "./SOLEIL_DIFFABS.c", line 19282: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./SOLEIL_DIFFABS.c", line 19283: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./SOLEIL_DIFFABS.c", line 19286: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./SOLEIL_DIFFABS.c", line 19287: warning: variable "nb_refl" was declared but never referenced [declared_but_not_referenced] int nb_refl = line_info.nb_refl; ^ "./SOLEIL_DIFFABS.c", line 19288: warning: variable "nb_refl_count" was declared but never referenced [declared_but_not_referenced] int nb_refl_count = line_info.nb_refl_count; ^ "./SOLEIL_DIFFABS.c", line 19289: warning: variable "kcache" was declared but never referenced [declared_but_not_referenced] double kcache = line_info.k; ^ "./SOLEIL_DIFFABS.c", line 19291: warning: variable "k_min" was declared but never referenced [declared_but_not_referenced] double k_min = line_info.k_min; ^ "./SOLEIL_DIFFABS.c", line 19292: warning: variable "k_max" was declared but never referenced [declared_but_not_referenced] double k_max = line_info.k_max; ^ "./SOLEIL_DIFFABS.c", line 19293: warning: variable "lfree" was declared but never referenced [declared_but_not_referenced] double lfree = line_info.lfree; ^ "./SOLEIL_DIFFABS.c", line 19295: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./SOLEIL_DIFFABS.c", line 19296: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./SOLEIL_DIFFABS.c", line 19297: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./SOLEIL_DIFFABS.c", line 19301: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./SOLEIL_DIFFABS.c", line 19960: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_DIFFABS.c", line 22971: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_DIFFABS.c", line 22972: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_DIFFABS.c", line 1494: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_DIFFABS.c", line 2963: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 98, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 112, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 145, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 170, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 193, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 204, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 213, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 223, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1542, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1546, Generating acc routine seq Generating NVIDIA GPU code str_len: 1555, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4235, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4669, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4689, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4701, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4713, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4723, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4733, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4741, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4751, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4773, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4780, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4826, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4861, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4872, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4889, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4900, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4916, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4945, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4956, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4960, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4995, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5002, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5011, #pragma acc loop seq 4995, Generating implicit copy(lens[:]) [if not already present] 5002, Generating implicit firstprivate(ll,l) 5013, Accelerator restriction: induction variable live-out from loop: i 5014, Accelerator restriction: induction variable live-out from loop: i 5015, Accelerator restriction: induction variable live-out from loop: i 5016, Accelerator restriction: induction variable live-out from loop: i 5018, Accelerator restriction: induction variable live-out from loop: j 5019, Accelerator restriction: induction variable live-out from loop: j 5020, Accelerator restriction: induction variable live-out from loop: j 5021, Accelerator restriction: induction variable live-out from loop: j 5043, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5047, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5050, #pragma acc loop seq 5043, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5050, Generating implicit firstprivate(l) 5067, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5071, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5078, #pragma acc loop seq 5067, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5137, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5168, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5185, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5284, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5368, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5434, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5511, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5783, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5795, Generating acc routine seq Generating NVIDIA GPU code _hash: 5827, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5868, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5879, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5884, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5892, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5900, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5907, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6570, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6606, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6667, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6683, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6769, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6837, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 7094, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 8047, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8115, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8194, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8662, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8678, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8696, Generating acc routine seq Generating NVIDIA GPU code reflec_coating: 9141, Generating acc routine seq Generating NVIDIA GPU code reflec_bare: 9173, Generating acc routine seq Generating NVIDIA GPU code reflec_kinematic: 9177, Generating acc routine seq Generating NVIDIA GPU code reflec_q_prmtc: 9187, Generating acc routine seq Generating NVIDIA GPU code reflec_eth_prmtc: 9199, Generating acc routine seq Generating NVIDIA GPU code reflec_parratt: 9209, Generating acc routine seq Generating NVIDIA GPU code parrat_reflec_bulk: 9232, Generating acc routine seq Generating NVIDIA GPU code refleccq: 9256, Generating acc routine seq Generating NVIDIA GPU code reflecq: 9308, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 10408, Generating acc routine seq Generating NVIDIA GPU code off_F: 11690, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11695, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11705, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11731, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11794, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11925, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11970, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 12085, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12201, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12213, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12248, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12503, Generating acc routine seq Generating NVIDIA GPU code merge: 12510, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R gpusort: 12575, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12618, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 12633, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12687, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12804, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12826, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 13019, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 13108, Generating acc routine seq Generating NVIDIA GPU code cross: 13176, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 13191, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 13324, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 13431, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 13929, Generating acc routine seq Generating NVIDIA GPU code calc_abs_xsect: 13969, Generating acc routine seq Generating NVIDIA GPU code calc_inc_xsect: 13979, Generating acc routine seq Generating NVIDIA GPU code init: 18341, Generating update device(_instrument_var,_powder_var,_DCM_slit_out_var,_M1_out_var,_M1_rotated_var,_M1_location_var,_DCM_out_var,_DCM_in_div_var,_BM_D13_1_var,_DCM_in_var,_bragg_crystal_two_var,_M2_var,_arm_crystal2_var,_arm_crystal1_var,_DCM_out_e_var,_DCM_location_var,_DCM_out_div_var,_DCM_slit_in_var,_M1_var,_M2_out_var,_M2_rotated_var,_M2_location_var,_primary_slit_var,_origin_var,_fluo_monitor_var,_det_angle_var,_bragg_crystal_var,_xpad_var,_sample_stage_var,_fluo_var) class_Progress_bar_trace: 18382, Generating acc routine seq Generating NVIDIA GPU code class_Bending_magnet_trace: 18473, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 18627, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 18697, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18814, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 19033, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 19236, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 20911, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20915, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20915, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 20924, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20929, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20924, Local memory used for .inl_.inl_c_1984_25488,.inl_.inl_.inl_b_1958_1990_25493,.inl_.inl_.inl_.X2696_1957_1989_25492,.inl_.inl_b_1980_25487,.inl_.inl_c_1973_25477,.inl_.inl_.inl_b_1958_1979_25482,.inl_.inl_.inl_.X2696_1957_1978_25481,.inl_.inl_b_1969_25476,.inl_.inl_.X2680_1968_25471,.inl_.inl_c_1965_25470,.inl_c_25501,.inl_.inl_b_1964_25468,.inl_.inl_.X2696_1963_25467,.inl_b_25460,.inl_.X2679_25459,.inl_.X2680_25454,.inl_c_25462,.inl_.X2678_25450,.inl_a_25446,.inl_.inl_c_1984_25395,.inl_.inl_.inl_b_1958_1990_25400,.inl_.inl_.inl_.X2696_1957_1989_25399,.inl_.inl_b_1980_25394,.inl_.inl_c_1973_25384,.inl_.inl_.inl_b_1958_1979_25389,.inl_.inl_.inl_.X2696_1957_1978_25388,.inl_.inl_b_1969_25383,.inl_.inl_.X2680_1968_25378,.inl_.inl_c_1965_25377,.inl_c_25451,.inl_.inl_b_1964_25375,.inl_.inl_.X2696_1963_25374,.inl_b_25367,.inl_.X2679_25366,.inl_.X2680_25361,.inl_c_25369,.inl_.X2678_25357,.inl_a_25353,.inl_.inl_.X2679_8658_24984,.inl_.inl_c_1984_25345,.inl_.inl_.inl_b_1958_1990_25350,.inl_.inl_.inl_.X2696_1957_1989_25349,.inl_.inl_b_1980_25344,.inl_.inl_c_1973_25334,.inl_.inl_.inl_b_1958_1979_25339,.inl_.inl_.inl_.X2696_1957_1978_25338,.inl_.inl_b_1969_25333,.inl_.inl_.X2680_1968_25328,.inl_.inl_c_1965_25327,.inl_c_25358,.inl_.inl_b_1964_25325,.inl_.inl_.X2696_1963_25324,.inl_b_25317,.inl_.X2679_25316,.inl_.X2680_25311,.inl_c_25319,.inl_.X2678_25307,.inl_a_25303,.inl_.inl_c_1984_25295,.inl_.inl_.inl_b_1958_1990_25300,.inl_.inl_.inl_.X2696_1957_1989_25299,.inl_.inl_b_1980_25294,.inl_.inl_c_1973_25284,.inl_.inl_.inl_b_1958_1979_25289,.inl_.inl_.inl_.X2696_1957_1978_25288,.inl_.inl_b_1969_25283,.inl_.inl_.X2680_1968_25278,.inl_.inl_c_1965_25277,.inl_c_25308,.inl_.inl_b_1964_25275,.inl_.inl_.X2696_1963_25274,.inl_b_25267,.inl_.X2679_25266,.inl_.X2680_25261,.inl_c_25269,.inl_.X2678_25257,.inl_a_25253,.inl_.inl_c_1984_25245,.inl_.inl_.inl_b_1958_1990_25250,.inl_.inl_.inl_.X2696_1957_1989_25249,.inl_.inl_b_1980_25244,.inl_.inl_c_1973_25234,.inl_.inl_.inl_b_1958_1979_25239,.inl_.inl_.inl_.X2696_1957_1978_25238,.inl_.inl_b_1969_25233,.inl_.inl_.X2680_1968_25228,.inl_.inl_c_1965_25227,.inl_c_25258,.inl_.inl_b_1964_25225,.inl_.inl_.X2696_1963_25224,.inl_b_25217,.inl_.X2679_25216,.inl_.X2680_25211,.inl_c_25219,.inl_.X2678_25207,.inl_a_25203,.inl_.inl_c_1984_25195,.inl_.inl_.inl_b_1958_1990_25200,.inl_.inl_.inl_.X2696_1957_1989_25199,.inl_.inl_b_1980_25194,.inl_.inl_c_1973_25184,.inl_.inl_.inl_b_1958_1979_25189,.inl_.inl_.inl_.X2696_1957_1978_25188,.inl_.inl_b_1969_25183,.inl_.inl_.X2680_1968_25178,.inl_.inl_c_1965_25177,.inl_c_25208,.inl_.inl_b_1964_25175,.inl_.inl_.X2696_1963_25174,.inl_b_25167,.inl_.X2679_25166,.inl_.X2680_25161,.inl_c_25169,.inl_.X2678_25157,.inl_a_25153,.inl_.inl_c_1984_25145,.inl_.inl_.inl_b_1958_1990_25150,.inl_.inl_.inl_.X2696_1957_1989_25149,.inl_.inl_b_1980_25144,.inl_.inl_c_1973_25134,.inl_.inl_.inl_b_1958_1979_25139,.inl_.inl_.inl_.X2696_1957_1978_25138,.inl_.inl_b_1969_25133,.inl_.inl_.X2680_1968_25128,.inl_.inl_c_1965_25127,.inl_c_25158,.inl_.inl_b_1964_25125,.inl_.inl_.X2696_1963_25124,.inl_b_25117,.inl_.X2679_25116,.inl_.X2680_25111,.inl_c_25119,.inl_.X2678_25107,.inl_a_25103,.inl_.inl_c_1984_25095,.inl_.inl_.inl_b_1958_1990_25100,.inl_.inl_.inl_.X2696_1957_1989_25099,.inl_.inl_b_1980_25094,.inl_.inl_c_1973_25084,.inl_.inl_.inl_b_1958_1979_25089,.inl_.inl_.inl_.X2696_1957_1978_25088,.inl_.inl_b_1969_25083,.inl_.inl_.X2680_1968_25078,.inl_.inl_c_1965_25077,.inl_c_25108,.inl_.inl_b_1964_25075,.inl_.inl_.X2696_1963_25074,.inl_b_25067,.inl_.X2679_25066,.inl_.X2680_25061,.inl_c_25069,.inl_.X2678_25057,.inl_a_25053,.inl_.inl_c_1984_25045,.inl_.inl_.inl_b_1958_1990_25050,.inl_.inl_.inl_.X2696_1957_1989_25049,.inl_.inl_b_1980_25044,.inl_.inl_c_1973_25034,.inl_.inl_.inl_b_1958_1979_25039,.inl_.inl_.inl_.X2696_1957_1978_25038,.inl_.inl_b_1969_25033,.inl_.inl_.X2680_1968_25028,.inl_.inl_c_1965_25027,.inl_c_25058,.inl_.inl_b_1964_25025,.inl_.inl_.X2696_1963_25024,.inl_b_25017,.inl_.X2679_25016,.inl_.X2680_25011,.inl_c_25019,.inl_.X2678_25007,.inl_a_25003,.inl_.inl_c_1984_24952,.inl_.inl_.inl_b_1958_1990_24957,.inl_.inl_.inl_.X2696_1957_1989_24956,.inl_.inl_b_1980_24951,.inl_.inl_c_1973_24941,.inl_.inl_.inl_b_1958_1979_24946,.inl_.inl_.inl_.X2696_1957_1978_24945,.inl_.inl_b_1969_24940,.inl_.inl_.X2680_1968_24935,.inl_.inl_c_1965_24934,.inl_c_25008,.inl_.inl_b_1964_24932,.inl_.inl_.X2696_1963_24931,.inl_b_24924,.inl_.X2679_24923,.inl_.X2680_24918,.inl_c_24926,.inl_.X2678_24914,.inl_a_24910,.inl_.inl_.X2679_8658_24841,.inl_.inl_c_1984_24902,.inl_.inl_.inl_b_1958_1990_24907,.inl_.inl_.inl_.X2696_1957_1989_24906,.inl_.inl_b_1980_24901,.inl_.inl_c_1973_24891,.inl_.inl_.inl_b_1958_1979_24896,.inl_.inl_.inl_.X2696_1957_1978_24895,.inl_.inl_b_1969_24890,.inl_.inl_.X2680_1968_24885,.inl_.inl_c_1965_24884,.inl_c_24915,.inl_.inl_b_1964_24882,.inl_.inl_.X2696_1963_24881,.inl_b_24874,.inl_.X2679_24873,.inl_.X2680_24868,.inl_c_24876,.inl_.X2678_24864,.inl_a_24860,.inl_.inl_c_1984_24809,.inl_.inl_.inl_b_1958_1990_24814,.inl_.inl_.inl_.X2696_1957_1989_24813,.inl_.inl_b_1980_24808,.inl_.inl_c_1973_24798,.inl_.inl_.inl_b_1958_1979_24803,.inl_.inl_.inl_.X2696_1957_1978_24802,.inl_.inl_b_1969_24797,.inl_.inl_.X2680_1968_24792,.inl_.inl_c_1965_24791,.inl_c_24865,.inl_.inl_b_1964_24789,.inl_.inl_.X2696_1963_24788,.inl_b_24781,.inl_.X2679_24780,.inl_.X2680_24775,.inl_c_24783,.inl_.X2678_24771,.inl_a_24767,.inl_.X2680_25504,.inl_.inl_c_1984_24759,.inl_.inl_.inl_b_1958_1990_24764,.inl_.inl_.inl_.X2696_1957_1989_24763,.inl_.inl_b_1980_24758,.inl_.inl_c_1973_24748,.inl_.inl_.inl_b_1958_1979_24753,.inl_.inl_.inl_.X2696_1957_1978_24752,.inl_.inl_b_1969_24747,.inl_.inl_.X2680_1968_24742,.inl_.inl_c_1965_24741,.inl_c_24772,.inl_.inl_b_1964_24739,.inl_.inl_.X2696_1963_24738,.inl_b_24731,.inl_.X2679_24730,.inl_.X2680_24725,.inl_c_24733,.inl_.X2678_24721,.inl_a_24717,.inl_.inl_c_1984_24707,.inl_.inl_.inl_b_1958_1990_24712,.inl_.inl_.inl_.X2696_1957_1989_24711,.inl_.inl_b_1980_24706,.inl_.inl_c_1973_24696,.inl_.inl_.inl_b_1958_1979_24701,.inl_.inl_.inl_.X2696_1957_1978_24700,.inl_.inl_b_1969_24695,.inl_.inl_.X2680_1968_24690,.inl_.inl_c_1965_24689,.inl_c_24722,.inl_.inl_b_1964_24687,.inl_.inl_.X2696_1963_24686,.inl_b_24679,.inl_.X2679_24678,.inl_.X2680_24673,.inl_c_24681,.inl_.X2678_24669,.inl_a_24665,_particle_save,.inl_c_25512,.inl_.inl_c_1973_25527,.inl_.inl_.inl_b_1958_1979_25532,.inl_.inl_.inl_.X2696_1957_1978_25531,.inl_.inl_b_1969_25526,.inl_.inl_c_1965_25520,.inl_.inl_.inl_.X2696_1957_1989_25542,.inl_.inl_.X2696_1963_25517,.inl_.inl_b_1964_25518,.inl_.inl_.X2679_8658_25427,.inl_.inl_b_1980_25537,.inl_c_24670,.inl_.inl_.inl_b_1958_1990_25543,.inl_.inl_.X2680_1968_25521,.inl_a_25496,.inl_.X2678_25500,.inl_.X2679_25509,.inl_b_25510,.inl_.inl_c_1984_25538 21206, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21210, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21206, Local memory used for _particle_save,.inl_c_25562,.inl_.inl_c_1973_25577,.inl_.inl_.inl_b_1958_1979_25582,.inl_.inl_.inl_.X2696_1957_1978_25581,.inl_.inl_b_1969_25576,.inl_.inl_c_1965_25570,.inl_.inl_.inl_.X2696_1957_1989_25592,.inl_.inl_.X2696_1963_25567,.inl_.inl_b_1964_25568,.inl_.X2680_25554,.inl_.inl_b_1980_25587,.inl_c_25551,.inl_.inl_.inl_b_1958_1990_25593,.inl_.inl_.X2680_1968_25571,.inl_a_25546,.inl_.X2678_25550,.inl_.X2679_25559,.inl_b_25560,.inl_.inl_c_1984_25588 21258, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21261, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21258, Local memory used for .inl_.inl_c_1984_25738,.inl_.inl_.inl_b_1958_1990_25743,.inl_.inl_.inl_.X2696_1957_1989_25742,.inl_.inl_b_1980_25737,.inl_.inl_c_1973_25727,.inl_.inl_.inl_b_1958_1979_25732,.inl_.inl_.inl_.X2696_1957_1978_25731,.inl_.inl_b_1969_25726,.inl_.inl_.X2680_1968_25721,.inl_.inl_c_1965_25720,.inl_c_25751,.inl_.inl_b_1964_25718,.inl_.inl_.X2696_1963_25717,.inl_b_25710,.inl_.X2679_25709,.inl_.X2680_25704,.inl_c_25712,.inl_.X2678_25700,.inl_a_25696,.inl_.inl_c_1984_25688,.inl_.inl_.inl_b_1958_1990_25693,.inl_.inl_.inl_.X2696_1957_1989_25692,.inl_.inl_b_1980_25687,.inl_.inl_c_1973_25677,.inl_.inl_.inl_b_1958_1979_25682,.inl_.inl_.inl_.X2696_1957_1978_25681,.inl_.inl_b_1969_25676,.inl_.inl_.X2680_1968_25671,.inl_.inl_c_1965_25670,.inl_c_25701,.inl_.inl_b_1964_25668,.inl_.inl_.X2696_1963_25667,.inl_b_25660,.inl_.X2679_25659,.inl_.X2680_25654,.inl_c_25662,.inl_.X2678_25650,.inl_a_25646,_particle_save,.inl_c_25762,.inl_.inl_c_1973_25777,.inl_.inl_.inl_b_1958_1979_25782,.inl_.inl_.inl_.X2696_1957_1978_25781,.inl_.inl_b_1969_25776,.inl_.inl_c_1965_25770,.inl_.inl_.inl_.X2696_1957_1989_25792,.inl_.inl_.X2696_1963_25767,.inl_.inl_b_1964_25768,.inl_.X2680_25754,.inl_.inl_b_1980_25787,.inl_c_25651,.inl_.inl_.inl_b_1958_1990_25793,.inl_.inl_.X2680_1968_25771,.inl_a_25746,.inl_.X2678_25750,.inl_.X2679_25759,.inl_b_25760,.inl_.inl_c_1984_25788 finally: 21857, Generating update self(_instrument_var,_powder_var,_DCM_slit_out_var,_M1_out_var,_M1_rotated_var,_M1_location_var,_DCM_out_var,_DCM_in_div_var,_BM_D13_1_var,_DCM_in_var,_bragg_crystal_two_var,_M2_var,_arm_crystal2_var,_arm_crystal1_var,_DCM_out_e_var,_DCM_location_var,_DCM_out_div_var,_DCM_slit_in_var,_M1_var,_M2_out_var,_M2_rotated_var,_M2_location_var,_primary_slit_var,_origin_var,_fluo_monitor_var,_det_angle_var,_bragg_crystal_var,_xpad_var,_sample_stage_var,_fluo_var) mcenabletrace: 6027, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvc_ieWp6i3e1KdE.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2025-12-12/McXtrace_8GPU_openacc_mpi_x_7_2e7_Linux_2e7/SOLEIL_DIFFABS/./SOLEIL_DIFFABS.c:13663: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===