INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_DIFFABS_20260315_153737" 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 86: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./SOLEIL_DIFFABS.c", line 88: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double kx, double ky, double kz, ^ "./SOLEIL_DIFFABS.c", line 91: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcphoton, double *x, double *y, double *z, double *kx, double *ky, double *kz, ^ "./SOLEIL_DIFFABS.c", line 104: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_DIFFABS.c", line 108: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_DIFFABS.c", line 137: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./SOLEIL_DIFFABS.c", line 108: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./SOLEIL_DIFFABS.c", line 167: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./SOLEIL_DIFFABS.c", line 190: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./SOLEIL_DIFFABS.c", line 201: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./SOLEIL_DIFFABS.c", line 212: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./SOLEIL_DIFFABS.c", line 222: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./SOLEIL_DIFFABS.c", line 289: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./SOLEIL_DIFFABS.c", line 291: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./SOLEIL_DIFFABS.c", line 642: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./SOLEIL_DIFFABS.c", line 863: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 880: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./SOLEIL_DIFFABS.c", line 882: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./SOLEIL_DIFFABS.c", line 890: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 892: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 894: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 896: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 898: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./SOLEIL_DIFFABS.c", line 994: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./SOLEIL_DIFFABS.c", line 996: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./SOLEIL_DIFFABS.c", line 998: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./SOLEIL_DIFFABS.c", line 1000: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./SOLEIL_DIFFABS.c", line 1002: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./SOLEIL_DIFFABS.c", line 1004: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./SOLEIL_DIFFABS.c", line 1006: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./SOLEIL_DIFFABS.c", line 1008: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./SOLEIL_DIFFABS.c", line 1010: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./SOLEIL_DIFFABS.c", line 4616: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SOLEIL_DIFFABS.c", line 5071: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./SOLEIL_DIFFABS.c", line 4990: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./SOLEIL_DIFFABS.c", line 6317: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 6771: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_DIFFABS.c", line 6944: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./SOLEIL_DIFFABS.c", line 7236: 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 7238: 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 7245: 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 7265: 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 7267: 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 7269: 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 8788: 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 8790: 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 8792: 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 8795: 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 8797: 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 8799: 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 8801: 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 8803: 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 8805: 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 8807: 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 8852: warning: conversion from pointer to smaller integer [pointer_conversion_loses_bits] int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_DIFFABS.c", line 8830: warning: variable "status" was declared but never referenced [declared_but_not_referenced] int status; ^ "./SOLEIL_DIFFABS.c", line 8943: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 9156: warning: variable "R" was declared but never referenced [declared_but_not_referenced] double b_mu,R; ^ "./SOLEIL_DIFFABS.c", line 9216: 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 9211: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_DIFFABS.c", line 9234: warning: variable "qinf" was declared but never referenced [declared_but_not_referenced] double complex qinf; ^ "./SOLEIL_DIFFABS.c", line 9558: 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 9722: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./SOLEIL_DIFFABS.c", line 10822: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./SOLEIL_DIFFABS.c", line 11558: 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 11581: 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 11602: 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 11689: 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 11694: 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 11703: 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 11729: 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 11732: 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 11732: 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 11732: 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 11732: 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 11732: 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 11732: 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 11792: 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 11922: 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 11966: 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 12087: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SOLEIL_DIFFABS.c", line 12199: 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 12211: 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 12246: 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 12502: 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 12508: 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 12573: 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 12963: 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 12969: 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 12975: 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 12982: 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 12992: 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 12998: 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 13432: 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 13944: warning: Routine "calc_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] calc_xsect (double k, double* q, double* my_s_k2, int count, double* sum, struct line_info_struct* line_info) { ^ "./SOLEIL_DIFFABS.c", line 13990: warning: Routine "calc_abs_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] calc_abs_xsect (double k, double* abs, struct line_info_struct* line_info) { ^ "./SOLEIL_DIFFABS.c", line 14001: warning: Routine "calc_inc_xsect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] calc_inc_xsect (double k, double* inc, struct line_info_struct* line_info) { ^ "./SOLEIL_DIFFABS.c", line 14827: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SOLEIL_DIFFABS.c", line 14815: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SOLEIL_DIFFABS.c", line 14872: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SOLEIL_DIFFABS.c", line 14953: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SOLEIL_DIFFABS.c", line 15027: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SOLEIL_DIFFABS.c", line 15076: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SOLEIL_DIFFABS.c", line 15125: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SOLEIL_DIFFABS.c", line 15193: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SOLEIL_DIFFABS.c", line 15242: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SOLEIL_DIFFABS.c", line 15316: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SOLEIL_DIFFABS.c", line 15430: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SOLEIL_DIFFABS.c", line 15544: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SOLEIL_DIFFABS.c", line 15593: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SOLEIL_DIFFABS.c", line 15678: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SOLEIL_DIFFABS.c", line 15727: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SOLEIL_DIFFABS.c", line 15812: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SOLEIL_DIFFABS.c", line 15861: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SOLEIL_DIFFABS.c", line 15975: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SOLEIL_DIFFABS.c", line 16089: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SOLEIL_DIFFABS.c", line 16203: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SOLEIL_DIFFABS.c", line 16277: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SOLEIL_DIFFABS.c", line 16326: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SOLEIL_DIFFABS.c", line 16375: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SOLEIL_DIFFABS.c", line 16443: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SOLEIL_DIFFABS.c", line 16492: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SOLEIL_DIFFABS.c", line 16606: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SOLEIL_DIFFABS.c", line 16731: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SOLEIL_DIFFABS.c", line 16841: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SOLEIL_DIFFABS.c", line 16955: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SOLEIL_DIFFABS.c", line 17069: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./SOLEIL_DIFFABS.c", line 17375: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 17619: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 17885: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SOLEIL_DIFFABS.c", line 18408: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef] #define exit(...) noprintf() ^ "./SOLEIL_DIFFABS.c", line 18420: 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 18500: 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 18528: warning: variable "z1" was set but never used [set_but_not_used] double xx, yy, x1, y1, z1; ^ "./SOLEIL_DIFFABS.c", line 18530: warning: variable "F1" was declared but never referenced [declared_but_not_referenced] double F1 = 1.0; ^ "./SOLEIL_DIFFABS.c", line 18655: 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 18727: 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 18842: 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 18878: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced] off_struct thread_offdata = offdata; ^ "./SOLEIL_DIFFABS.c", line 19041: 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 19133: 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 19133: 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 19133: 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 19077: 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 19270: 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 19317: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./SOLEIL_DIFFABS.c", line 19318: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./SOLEIL_DIFFABS.c", line 19321: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./SOLEIL_DIFFABS.c", line 19322: warning: variable "nb_refl" was declared but never referenced [declared_but_not_referenced] int nb_refl = line_info.nb_refl; ^ "./SOLEIL_DIFFABS.c", line 19323: 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 19324: warning: variable "kcache" was declared but never referenced [declared_but_not_referenced] double kcache = line_info.k; ^ "./SOLEIL_DIFFABS.c", line 19326: warning: variable "k_min" was declared but never referenced [declared_but_not_referenced] double k_min = line_info.k_min; ^ "./SOLEIL_DIFFABS.c", line 19327: warning: variable "k_max" was declared but never referenced [declared_but_not_referenced] double k_max = line_info.k_max; ^ "./SOLEIL_DIFFABS.c", line 19328: warning: variable "lfree" was declared but never referenced [declared_but_not_referenced] double lfree = line_info.lfree; ^ "./SOLEIL_DIFFABS.c", line 19330: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./SOLEIL_DIFFABS.c", line 19331: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./SOLEIL_DIFFABS.c", line 19332: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./SOLEIL_DIFFABS.c", line 19336: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./SOLEIL_DIFFABS.c", line 20008: warning: variable "flag" was declared but never referenced [declared_but_not_referenced] int flag=0; ^ "./SOLEIL_DIFFABS.c", line 22987: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SOLEIL_DIFFABS.c", line 22988: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SOLEIL_DIFFABS.c", line 1493: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_DIFFABS.c", line 2962: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 97, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 111, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 144, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 169, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 192, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 203, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 212, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 222, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1541, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1545, Generating acc routine seq Generating NVIDIA GPU code str_len: 1554, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4234, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4668, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4679, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4688, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4700, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4712, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4722, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4732, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4740, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4750, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4772, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4779, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4825, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4860, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4871, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4888, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4899, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4915, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4944, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4955, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4959, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4994, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5001, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5010, #pragma acc loop seq 4994, Generating implicit copy(lens[:]) [if not already present] 5001, Generating implicit firstprivate(ll,l) 5012, Accelerator restriction: induction variable live-out from loop: i 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 5017, Accelerator restriction: induction variable live-out from loop: j 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 5042, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5046, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5049, #pragma acc loop seq 5042, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5049, Generating implicit firstprivate(l) 5066, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5070, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5077, #pragma acc loop seq 5066, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5136, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5167, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5184, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5283, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5367, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5433, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5510, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5782, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5794, Generating acc routine seq Generating NVIDIA GPU code _hash: 5826, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5867, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5878, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5883, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5891, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5899, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5906, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6569, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6605, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6666, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6682, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6768, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6836, Generating acc routine seq Generating NVIDIA GPU code besselKnu: 7094, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 8046, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8114, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8193, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8661, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8677, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8695, Generating acc routine seq Generating NVIDIA GPU code reflec_coating: 9140, Generating acc routine seq Generating NVIDIA GPU code reflec_bare: 9172, Generating acc routine seq Generating NVIDIA GPU code reflec_kinematic: 9176, Generating acc routine seq Generating NVIDIA GPU code reflec_q_prmtc: 9186, Generating acc routine seq Generating NVIDIA GPU code reflec_eth_prmtc: 9198, Generating acc routine seq Generating NVIDIA GPU code reflec_parratt: 9208, Generating acc routine seq Generating NVIDIA GPU code parrat_reflec_bulk: 9231, Generating acc routine seq Generating NVIDIA GPU code refleccq: 9255, Generating acc routine seq Generating NVIDIA GPU code reflecq: 9307, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 10407, Generating acc routine seq Generating NVIDIA GPU code off_F: 11689, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11694, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11704, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11730, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11793, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11924, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11969, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 12084, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12200, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12212, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12247, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12502, Generating acc routine seq Generating NVIDIA GPU code merge: 12509, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R gpusort: 12574, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12617, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 12632, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12686, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12803, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12825, Generating acc routine seq Generating NVIDIA GPU code Mx_CubicCrystalChi: 13018, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivityBC: 13107, Generating acc routine seq Generating NVIDIA GPU code cross: 13175, Generating acc routine seq Generating NVIDIA GPU code Mx_DiffractionDispersion: 13190, Generating acc routine seq Generating NVIDIA GPU code Mx_LaueReflectivityBC: 13323, Generating acc routine seq Generating NVIDIA GPU code Mx_DarwinReflectivity: 13430, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 13944, Generating acc routine seq Generating NVIDIA GPU code calc_abs_xsect: 13990, Generating acc routine seq Generating NVIDIA GPU code calc_inc_xsect: 14001, Generating acc routine seq Generating NVIDIA GPU code init: 18379, 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: 18421, Generating acc routine seq Generating NVIDIA GPU code class_Bending_magnet_trace: 18501, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 18656, Generating acc routine seq Generating NVIDIA GPU code class_Mirror_curved_trace: 18728, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18843, Generating acc routine seq Generating NVIDIA GPU code class_Bragg_crystal_trace: 19042, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 19271, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 20959, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20963, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20963, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 20972, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 20977, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 20972, Local memory used for .inl_.inl_c_1984_25488,.inl_.inl_.inl_b_1958_1990_25493,.inl_.inl_.inl_.X2697_1957_1989_25492,.inl_.inl_b_1980_25487,.inl_.inl_c_1973_25477,.inl_.inl_.inl_b_1958_1979_25482,.inl_.inl_.inl_.X2697_1957_1978_25481,.inl_.inl_b_1969_25476,.inl_.inl_.X2681_1968_25471,.inl_.inl_c_1965_25470,.inl_c_25501,.inl_.inl_b_1964_25468,.inl_.inl_.X2697_1963_25467,.inl_b_25460,.inl_.X2680_25459,.inl_.X2681_25454,.inl_c_25462,.inl_.X2679_25450,.inl_a_25446,.inl_.inl_c_1984_25395,.inl_.inl_.inl_b_1958_1990_25400,.inl_.inl_.inl_.X2697_1957_1989_25399,.inl_.inl_b_1980_25394,.inl_.inl_c_1973_25384,.inl_.inl_.inl_b_1958_1979_25389,.inl_.inl_.inl_.X2697_1957_1978_25388,.inl_.inl_b_1969_25383,.inl_.inl_.X2681_1968_25378,.inl_.inl_c_1965_25377,.inl_c_25451,.inl_.inl_b_1964_25375,.inl_.inl_.X2697_1963_25374,.inl_b_25367,.inl_.X2680_25366,.inl_.X2681_25361,.inl_c_25369,.inl_.X2679_25357,.inl_a_25353,.inl_.inl_.X2680_8658_24984,.inl_.inl_c_1984_25345,.inl_.inl_.inl_b_1958_1990_25350,.inl_.inl_.inl_.X2697_1957_1989_25349,.inl_.inl_b_1980_25344,.inl_.inl_c_1973_25334,.inl_.inl_.inl_b_1958_1979_25339,.inl_.inl_.inl_.X2697_1957_1978_25338,.inl_.inl_b_1969_25333,.inl_.inl_.X2681_1968_25328,.inl_.inl_c_1965_25327,.inl_c_25358,.inl_.inl_b_1964_25325,.inl_.inl_.X2697_1963_25324,.inl_b_25317,.inl_.X2680_25316,.inl_.X2681_25311,.inl_c_25319,.inl_.X2679_25307,.inl_a_25303,.inl_.inl_c_1984_25295,.inl_.inl_.inl_b_1958_1990_25300,.inl_.inl_.inl_.X2697_1957_1989_25299,.inl_.inl_b_1980_25294,.inl_.inl_c_1973_25284,.inl_.inl_.inl_b_1958_1979_25289,.inl_.inl_.inl_.X2697_1957_1978_25288,.inl_.inl_b_1969_25283,.inl_.inl_.X2681_1968_25278,.inl_.inl_c_1965_25277,.inl_c_25308,.inl_.inl_b_1964_25275,.inl_.inl_.X2697_1963_25274,.inl_b_25267,.inl_.X2680_25266,.inl_.X2681_25261,.inl_c_25269,.inl_.X2679_25257,.inl_a_25253,.inl_.inl_c_1984_25245,.inl_.inl_.inl_b_1958_1990_25250,.inl_.inl_.inl_.X2697_1957_1989_25249,.inl_.inl_b_1980_25244,.inl_.inl_c_1973_25234,.inl_.inl_.inl_b_1958_1979_25239,.inl_.inl_.inl_.X2697_1957_1978_25238,.inl_.inl_b_1969_25233,.inl_.inl_.X2681_1968_25228,.inl_.inl_c_1965_25227,.inl_c_25258,.inl_.inl_b_1964_25225,.inl_.inl_.X2697_1963_25224,.inl_b_25217,.inl_.X2680_25216,.inl_.X2681_25211,.inl_c_25219,.inl_.X2679_25207,.inl_a_25203,.inl_.inl_c_1984_25195,.inl_.inl_.inl_b_1958_1990_25200,.inl_.inl_.inl_.X2697_1957_1989_25199,.inl_.inl_b_1980_25194,.inl_.inl_c_1973_25184,.inl_.inl_.inl_b_1958_1979_25189,.inl_.inl_.inl_.X2697_1957_1978_25188,.inl_.inl_b_1969_25183,.inl_.inl_.X2681_1968_25178,.inl_.inl_c_1965_25177,.inl_c_25208,.inl_.inl_b_1964_25175,.inl_.inl_.X2697_1963_25174,.inl_b_25167,.inl_.X2680_25166,.inl_.X2681_25161,.inl_c_25169,.inl_.X2679_25157,.inl_a_25153,.inl_.inl_c_1984_25145,.inl_.inl_.inl_b_1958_1990_25150,.inl_.inl_.inl_.X2697_1957_1989_25149,.inl_.inl_b_1980_25144,.inl_.inl_c_1973_25134,.inl_.inl_.inl_b_1958_1979_25139,.inl_.inl_.inl_.X2697_1957_1978_25138,.inl_.inl_b_1969_25133,.inl_.inl_.X2681_1968_25128,.inl_.inl_c_1965_25127,.inl_c_25158,.inl_.inl_b_1964_25125,.inl_.inl_.X2697_1963_25124,.inl_b_25117,.inl_.X2680_25116,.inl_.X2681_25111,.inl_c_25119,.inl_.X2679_25107,.inl_a_25103,.inl_.inl_c_1984_25095,.inl_.inl_.inl_b_1958_1990_25100,.inl_.inl_.inl_.X2697_1957_1989_25099,.inl_.inl_b_1980_25094,.inl_.inl_c_1973_25084,.inl_.inl_.inl_b_1958_1979_25089,.inl_.inl_.inl_.X2697_1957_1978_25088,.inl_.inl_b_1969_25083,.inl_.inl_.X2681_1968_25078,.inl_.inl_c_1965_25077,.inl_c_25108,.inl_.inl_b_1964_25075,.inl_.inl_.X2697_1963_25074,.inl_b_25067,.inl_.X2680_25066,.inl_.X2681_25061,.inl_c_25069,.inl_.X2679_25057,.inl_a_25053,.inl_.inl_c_1984_25045,.inl_.inl_.inl_b_1958_1990_25050,.inl_.inl_.inl_.X2697_1957_1989_25049,.inl_.inl_b_1980_25044,.inl_.inl_c_1973_25034,.inl_.inl_.inl_b_1958_1979_25039,.inl_.inl_.inl_.X2697_1957_1978_25038,.inl_.inl_b_1969_25033,.inl_.inl_.X2681_1968_25028,.inl_.inl_c_1965_25027,.inl_c_25058,.inl_.inl_b_1964_25025,.inl_.inl_.X2697_1963_25024,.inl_b_25017,.inl_.X2680_25016,.inl_.X2681_25011,.inl_c_25019,.inl_.X2679_25007,.inl_a_25003,.inl_.inl_c_1984_24952,.inl_.inl_.inl_b_1958_1990_24957,.inl_.inl_.inl_.X2697_1957_1989_24956,.inl_.inl_b_1980_24951,.inl_.inl_c_1973_24941,.inl_.inl_.inl_b_1958_1979_24946,.inl_.inl_.inl_.X2697_1957_1978_24945,.inl_.inl_b_1969_24940,.inl_.inl_.X2681_1968_24935,.inl_.inl_c_1965_24934,.inl_c_25008,.inl_.inl_b_1964_24932,.inl_.inl_.X2697_1963_24931,.inl_b_24924,.inl_.X2680_24923,.inl_.X2681_24918,.inl_c_24926,.inl_.X2679_24914,.inl_a_24910,.inl_.inl_.X2680_8658_24841,.inl_.inl_c_1984_24902,.inl_.inl_.inl_b_1958_1990_24907,.inl_.inl_.inl_.X2697_1957_1989_24906,.inl_.inl_b_1980_24901,.inl_.inl_c_1973_24891,.inl_.inl_.inl_b_1958_1979_24896,.inl_.inl_.inl_.X2697_1957_1978_24895,.inl_.inl_b_1969_24890,.inl_.inl_.X2681_1968_24885,.inl_.inl_c_1965_24884,.inl_c_24915,.inl_.inl_b_1964_24882,.inl_.inl_.X2697_1963_24881,.inl_b_24874,.inl_.X2680_24873,.inl_.X2681_24868,.inl_c_24876,.inl_.X2679_24864,.inl_a_24860,.inl_.inl_c_1984_24809,.inl_.inl_.inl_b_1958_1990_24814,.inl_.inl_.inl_.X2697_1957_1989_24813,.inl_.inl_b_1980_24808,.inl_.inl_c_1973_24798,.inl_.inl_.inl_b_1958_1979_24803,.inl_.inl_.inl_.X2697_1957_1978_24802,.inl_.inl_b_1969_24797,.inl_.inl_.X2681_1968_24792,.inl_.inl_c_1965_24791,.inl_c_24865,.inl_.inl_b_1964_24789,.inl_.inl_.X2697_1963_24788,.inl_b_24781,.inl_.X2680_24780,.inl_.X2681_24775,.inl_c_24783,.inl_.X2679_24771,.inl_a_24767,.inl_.X2681_25504,.inl_.inl_c_1984_24759,.inl_.inl_.inl_b_1958_1990_24764,.inl_.inl_.inl_.X2697_1957_1989_24763,.inl_.inl_b_1980_24758,.inl_.inl_c_1973_24748,.inl_.inl_.inl_b_1958_1979_24753,.inl_.inl_.inl_.X2697_1957_1978_24752,.inl_.inl_b_1969_24747,.inl_.inl_.X2681_1968_24742,.inl_.inl_c_1965_24741,.inl_c_24772,.inl_.inl_b_1964_24739,.inl_.inl_.X2697_1963_24738,.inl_b_24731,.inl_.X2680_24730,.inl_.X2681_24725,.inl_c_24733,.inl_.X2679_24721,.inl_a_24717,.inl_.inl_c_1984_24707,.inl_.inl_.inl_b_1958_1990_24712,.inl_.inl_.inl_.X2697_1957_1989_24711,.inl_.inl_b_1980_24706,.inl_.inl_c_1973_24696,.inl_.inl_.inl_b_1958_1979_24701,.inl_.inl_.inl_.X2697_1957_1978_24700,.inl_.inl_b_1969_24695,.inl_.inl_.X2681_1968_24690,.inl_.inl_c_1965_24689,.inl_c_24722,.inl_.inl_b_1964_24687,.inl_.inl_.X2697_1963_24686,.inl_b_24679,.inl_.X2680_24678,.inl_.X2681_24673,.inl_c_24681,.inl_.X2679_24669,.inl_a_24665,_particle_save,.inl_c_25512,.inl_.inl_c_1973_25527,.inl_.inl_.inl_b_1958_1979_25532,.inl_.inl_.inl_.X2697_1957_1978_25531,.inl_.inl_b_1969_25526,.inl_.inl_c_1965_25520,.inl_.inl_.inl_.X2697_1957_1989_25542,.inl_.inl_.X2697_1963_25517,.inl_.inl_b_1964_25518,.inl_.inl_.X2680_8658_25427,.inl_.inl_b_1980_25537,.inl_c_24670,.inl_.inl_.inl_b_1958_1990_25543,.inl_.inl_.X2681_1968_25521,.inl_a_25496,.inl_.X2679_25500,.inl_.X2680_25509,.inl_b_25510,.inl_.inl_c_1984_25538 21254, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21258, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21254, Local memory used for _particle_save,.inl_c_25562,.inl_.inl_c_1973_25577,.inl_.inl_.inl_b_1958_1979_25582,.inl_.inl_.inl_.X2697_1957_1978_25581,.inl_.inl_b_1969_25576,.inl_.inl_c_1965_25570,.inl_.inl_.inl_.X2697_1957_1989_25592,.inl_.inl_.X2697_1963_25567,.inl_.inl_b_1964_25568,.inl_.X2681_25554,.inl_.inl_b_1980_25587,.inl_c_25551,.inl_.inl_.inl_b_1958_1990_25593,.inl_.inl_.X2681_1968_25571,.inl_a_25546,.inl_.X2679_25550,.inl_.X2680_25559,.inl_b_25560,.inl_.inl_c_1984_25588 21306, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21309, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21306, Local memory used for .inl_.inl_c_1984_25738,.inl_.inl_.inl_b_1958_1990_25743,.inl_.inl_.inl_.X2697_1957_1989_25742,.inl_.inl_b_1980_25737,.inl_.inl_c_1973_25727,.inl_.inl_.inl_b_1958_1979_25732,.inl_.inl_.inl_.X2697_1957_1978_25731,.inl_.inl_b_1969_25726,.inl_.inl_.X2681_1968_25721,.inl_.inl_c_1965_25720,.inl_c_25751,.inl_.inl_b_1964_25718,.inl_.inl_.X2697_1963_25717,.inl_b_25710,.inl_.X2680_25709,.inl_.X2681_25704,.inl_c_25712,.inl_.X2679_25700,.inl_a_25696,.inl_.inl_c_1984_25688,.inl_.inl_.inl_b_1958_1990_25693,.inl_.inl_.inl_.X2697_1957_1989_25692,.inl_.inl_b_1980_25687,.inl_.inl_c_1973_25677,.inl_.inl_.inl_b_1958_1979_25682,.inl_.inl_.inl_.X2697_1957_1978_25681,.inl_.inl_b_1969_25676,.inl_.inl_.X2681_1968_25671,.inl_.inl_c_1965_25670,.inl_c_25701,.inl_.inl_b_1964_25668,.inl_.inl_.X2697_1963_25667,.inl_b_25660,.inl_.X2680_25659,.inl_.X2681_25654,.inl_c_25662,.inl_.X2679_25650,.inl_a_25646,_particle_save,.inl_c_25762,.inl_.inl_c_1973_25777,.inl_.inl_.inl_b_1958_1979_25782,.inl_.inl_.inl_.X2697_1957_1978_25781,.inl_.inl_b_1969_25776,.inl_.inl_c_1965_25770,.inl_.inl_.inl_.X2697_1957_1989_25792,.inl_.inl_.X2697_1963_25767,.inl_.inl_b_1964_25768,.inl_.X2681_25754,.inl_.inl_b_1980_25787,.inl_c_25651,.inl_.inl_.inl_b_1958_1990_25793,.inl_.inl_.X2681_1968_25771,.inl_a_25746,.inl_.X2679_25750,.inl_.X2680_25759,.inl_b_25760,.inl_.inl_c_1984_25788 finally: 21897, 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: 6026, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcB_Djoracx-SHi.o: in function `cif2hkl': /u/data/pkwi/xTESTS/2026-03-15/McXtrace_8GPU_openacc_mpi_x_7_2e7_Linux_2e7/SOLEIL_DIFFABS/./SOLEIL_DIFFABS.c:13679: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===