INFO: No output directory specified (--dir)
INFO: Using directory: "Test_PowderN_20260707_212753"
INFO: Regenerating c-file: Test_PowderN.c
DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/mcxtrace -t -o ./Test_PowderN.c Test_PowderN.instr
CFLAGS=  @XRLFLAGS@ -DUSE_OFF  -DFUNNEL 
                    
WARNING:
 The parameter format of Pow 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 Pow 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 mosaic_AB of SX is initialized 
 using a static {,,,} vector.
  -> Such static vectors support literal numbers ONLY.
  -> Any vector use of variables or defines must happen via a 
     DECLARE/INITIALIZE pointer.


WARNING:
 The parameter surf_dir of SX 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 powder_format of FlPow is initialized 
 using a static {,,,} vector.
  -> Such static vectors support literal numbers ONLY.
  -> Any vector use of variables or defines must happen via a 
     DECLARE/INITIALIZE pointer.


-----------------------------------------------------------

Generating single GPU kernel or single CPU section layout: 
-> SPLIT N at component sample_cradle

-----------------------------------------------------------

Generating GPU/CPU -DFUNNEL layout:
-> SPLIT within buffer at component sample_cradle
Component FlPow is NOACC, CPUONLY=1
-> FUNNEL mode enabled, SPLIT within buffer.
-> CPU section from component FlPow
-> GPU kernel from component Sph_mon

-----------------------------------------------------------
DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/mcxtrace finished
INFO: Recompiling: ./Test_PowderN.out
DEBUG: CMD: nvc -o ./Test_PowderN.out ./Test_PowderN.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/lib -Wl,-rpath-link,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/include -DUSE_MPI -lmpi -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -I/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/include -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/lib -lxrl -DUSE_OFF -DFUNNEL
"./Test_PowderN.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 <warning-name>"

"./Test_PowderN.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,
                  ^

"./Test_PowderN.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,
                  ^

"./Test_PowderN.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);
         ^

"./Test_PowderN.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);
      ^

"./Test_PowderN.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);
        ^

"./Test_PowderN.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);
      ^

"./Test_PowderN.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*);
      ^

"./Test_PowderN.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);
      ^

"./Test_PowderN.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);
       ^

"./Test_PowderN.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){
         ^

"./Test_PowderN.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){
       ^

"./Test_PowderN.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();
      ^

"./Test_PowderN.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);
         ^

"./Test_PowderN.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 */
                         ^

"./Test_PowderN.c", line 865: 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);
         ^

"./Test_PowderN.c", line 882: 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);
            ^

"./Test_PowderN.c", line 884: 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]);
           ^

"./Test_PowderN.c", line 892: 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);
         ^

"./Test_PowderN.c", line 894: 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);
         ^

"./Test_PowderN.c", line 896: 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);
         ^

"./Test_PowderN.c", line 898: 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);
         ^

"./Test_PowderN.c", line 900: 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);
         ^

"./Test_PowderN.c", line 903: warning: Routine "_rand01_opague" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  double _rand01_opague(void* state);
         ^

"./Test_PowderN.c", line 999: 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);
         ^

"./Test_PowderN.c", line 1001: 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);
         ^

"./Test_PowderN.c", line 1003: 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);
         ^

"./Test_PowderN.c", line 1005: 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);
         ^

"./Test_PowderN.c", line 1007: 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);
         ^

"./Test_PowderN.c", line 1009: 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);
         ^

"./Test_PowderN.c", line 1011: 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);
         ^

"./Test_PowderN.c", line 1013: 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);
         ^

"./Test_PowderN.c", line 1015: 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);
         ^

"./Test_PowderN.c", line 4188: warning: variable "exists" was set but never used [set_but_not_used]
      int exists=0;
          ^

"./Test_PowderN.c", line 4646: warning: variable "num" was declared but never referenced [declared_but_not_referenced]
          int num = 3;
              ^

"./Test_PowderN.c", line 5101: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced]
      randstate_t randstate[7];
                  ^

"./Test_PowderN.c", line 5020: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced]
    long newlen = 0;
         ^

"./Test_PowderN.c", line 6362: warning: variable "status" was set but never used [set_but_not_used]
        int status;
            ^

"./Test_PowderN.c", line 6830: warning: variable "ret" was declared but never referenced [declared_but_not_referenced]
    int ret=1,stat=0,plane_stat=0;
        ^

"./Test_PowderN.c", line 7003: warning: variable "D" was declared but never referenced [declared_but_not_referenced]
    double A,B,C,D,k;
                 ^

"./Test_PowderN.c", line 7265: 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 */
           ^

"./Test_PowderN.c", line 7267: 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 */
           ^

"./Test_PowderN.c", line 7274: 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 */
           ^

"./Test_PowderN.c", line 7294: 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);
         ^

"./Test_PowderN.c", line 7296: 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);
         ^

"./Test_PowderN.c", line 7298: 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,
         ^

"./Test_PowderN.c", line 8859: 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,
      ^

"./Test_PowderN.c", line 8882: 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,
      ^

"./Test_PowderN.c", line 8903: 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,
      ^

"./Test_PowderN.c", line 8990: 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) {
         ^

"./Test_PowderN.c", line 8995: 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) {
       ^

"./Test_PowderN.c", line 9004: 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)
       ^

"./Test_PowderN.c", line 9030: 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)
      ^

"./Test_PowderN.c", line 9033: 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;
          ^

"./Test_PowderN.c", line 9033: 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;
                       ^

"./Test_PowderN.c", line 9033: 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;
                                     ^

"./Test_PowderN.c", line 9033: 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;
                                                  ^

"./Test_PowderN.c", line 9033: 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;
                                                                ^

"./Test_PowderN.c", line 9033: 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;
                                                                             ^

"./Test_PowderN.c", line 9093: 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)
      ^

"./Test_PowderN.c", line 9223: 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,
       ^

"./Test_PowderN.c", line 9267: 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,
      ^

"./Test_PowderN.c", line 9388: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced]
    double plane_Eq [4];
           ^

"./Test_PowderN.c", line 9500: 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)
      ^

"./Test_PowderN.c", line 9512: 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)
      ^

"./Test_PowderN.c", line 9547: 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)
      ^

"./Test_PowderN.c", line 9803: 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) {
      ^

"./Test_PowderN.c", line 9809: 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)
       ^

"./Test_PowderN.c", line 9874: 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)
       ^

"./Test_PowderN.c", line 10637: 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) {
    ^

"./Test_PowderN.c", line 10683: 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) {
    ^

"./Test_PowderN.c", line 10694: 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) {
    ^

"./Test_PowderN.c", line 10824: warning: Routine "SX_list_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
    SX_list_compare (void const* a, void const* b) {
    ^

"./Test_PowderN.c", line 10964: warning: variable "flag" was declared but never referenced [declared_but_not_referenced]
      char flag = 0;
           ^

"./Test_PowderN.c", line 11475: warning: Routine "hkl_search" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
    hkl_search (struct hkl_data* L, void* TT, int count, double V0, double kix, double kiy, double kiz, double tau_max, double* coh_refl, double* coh_xsect) {
    ^

"./Test_PowderN.c", line 11578: warning: Routine "hkl_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
    hkl_select (struct tau_data* T, int tau_count, double coh_refl, double* sum, _class_particle* _particle) {
    ^

"./Test_PowderN.c", line 11594: warning: Routine "randrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
    randrotate (double* nx, double* ny, double* nz, double a, double b, double c) {
    ^

"./Test_PowderN.c", line 11603: warning: Routine "randderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
    randderotate (double* nx, double* ny, double* nz, double a, double b, double c) {
    ^

"./Test_PowderN.c", line 11613: warning: Routine "vec_rotate_2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
    vec_rotate_2d (double* x, double* y, double angle) {
    ^

"./Test_PowderN.c", line 11636: warning: variable "status" was set but never used [set_but_not_used]
      int status;
          ^

"./Test_PowderN.c", line 11638: warning: variable "Z" was set but never used [set_but_not_used]
      double Z;
             ^

"./Test_PowderN.c", line 14126: 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);
      ^

"./Test_PowderN.c", line 14297: warning: integer conversion resulted in a change of sign [integer_sign_change]
      Vars->OFF_polyidx       = -1;
                                ^

"./Test_PowderN.c", line 15446: warning: variable "ratio" was set but never used [set_but_not_used]
      double  ratio;
              ^

"./Test_PowderN.c", line 16560: warning: variable "tc2" was set but never used [set_but_not_used]
      Coords tc1, tc2;
                  ^

"./Test_PowderN.c", line 16548: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 1;
        ^

"./Test_PowderN.c", line 16605: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 2;
        ^

"./Test_PowderN.c", line 16693: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 3;
        ^

"./Test_PowderN.c", line 16742: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 4;
        ^

"./Test_PowderN.c", line 16867: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 5;
        ^

"./Test_PowderN.c", line 17011: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 6;
        ^

"./Test_PowderN.c", line 17147: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 7;
        ^

"./Test_PowderN.c", line 17211: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 8;
        ^

"./Test_PowderN.c", line 17483: warning: variable "status" was set but never used [set_but_not_used]
      int status = 0;
          ^

"./Test_PowderN.c", line 17750: warning: variable "status" was set but never used [set_but_not_used]
      int status;
          ^

"./Test_PowderN.c", line 17932: warning: variable "surf_dir_sum" was declared but never referenced [declared_but_not_referenced]
      double surf_dir_sum = 0;
             ^

"./Test_PowderN.c", line 17851: warning: variable "as" was declared but never referenced [declared_but_not_referenced]
    double as, bs, cs;
           ^

"./Test_PowderN.c", line 17851: warning: variable "bs" was declared but never referenced [declared_but_not_referenced]
    double as, bs, cs;
               ^

"./Test_PowderN.c", line 17851: warning: variable "cs" was declared but never referenced [declared_but_not_referenced]
    double as, bs, cs;
                   ^

"./Test_PowderN.c", line 18873: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef]
  #define exit(...) noprintf()
          ^

"./Test_PowderN.c", line 18885: 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
       ^

"./Test_PowderN.c", line 18965: warning: Routine "class_Source_flat_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  void class_Source_flat_trace(_class_Source_flat *_comp
       ^

"./Test_PowderN.c", line 19104: 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
       ^

"./Test_PowderN.c", line 19151: warning: variable "type" was set but never used [set_but_not_used]
    char type = '\0';
         ^

"./Test_PowderN.c", line 19152: warning: variable "itype" was set but never used [set_but_not_used]
    int itype = 0;
        ^

"./Test_PowderN.c", line 19155: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced]
    int nb_reuses = line_info.nb_reuses;
        ^

"./Test_PowderN.c", line 19156: warning: variable "nb_refl" was declared but never referenced [declared_but_not_referenced]
    int nb_refl = line_info.nb_refl;
        ^

"./Test_PowderN.c", line 19157: warning: variable "nb_refl_count" was declared but never referenced [declared_but_not_referenced]
    int nb_refl_count = line_info.nb_refl_count;
        ^

"./Test_PowderN.c", line 19158: warning: variable "kcache" was declared but never referenced [declared_but_not_referenced]
    double kcache = line_info.k;
           ^

"./Test_PowderN.c", line 19160: warning: variable "k_min" was declared but never referenced [declared_but_not_referenced]
    double k_min = line_info.k_min;
           ^

"./Test_PowderN.c", line 19161: warning: variable "k_max" was declared but never referenced [declared_but_not_referenced]
    double k_max = line_info.k_max;
           ^

"./Test_PowderN.c", line 19162: warning: variable "lfree" was declared but never referenced [declared_but_not_referenced]
    double lfree = line_info.lfree;
           ^

"./Test_PowderN.c", line 19164: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced]
    long xs_compute = line_info.xs_compute;
         ^

"./Test_PowderN.c", line 19165: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced]
    long xs_reuse = line_info.xs_reuse;
         ^

"./Test_PowderN.c", line 19166: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced]
    long xs_calls = line_info.xs_calls;
         ^

"./Test_PowderN.c", line 19170: warning: variable "dq" was set but never used [set_but_not_used]
    double dq = line_info.dq;
           ^

"./Test_PowderN.c", line 19624: warning: Routine "class_Single_crystal_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  void class_Single_crystal_trace(_class_Single_crystal *_comp
       ^

"./Test_PowderN.c", line 19686: warning: variable "k" was declared but never referenced [declared_but_not_referenced]
    double k;                   /* photon wave vector */
           ^

"./Test_PowderN.c", line 19687: warning: variable "rho_x" was declared but never referenced [declared_but_not_referenced]
    double rho_x, rho_y, rho_z; /* the vector ki - tau */
           ^

"./Test_PowderN.c", line 19687: warning: variable "rho_y" was declared but never referenced [declared_but_not_referenced]
    double rho_x, rho_y, rho_z; /* the vector ki - tau */
                  ^

"./Test_PowderN.c", line 19687: warning: variable "rho_z" was declared but never referenced [declared_but_not_referenced]
    double rho_x, rho_y, rho_z; /* the vector ki - tau */
                         ^

"./Test_PowderN.c", line 19688: warning: variable "rho" was declared but never referenced [declared_but_not_referenced]
    double rho;
           ^

"./Test_PowderN.c", line 19689: warning: variable "diff" was declared but never referenced [declared_but_not_referenced]
    double diff;                      /* Deviation from Bragg condition */
           ^

"./Test_PowderN.c", line 19690: warning: variable "ox" was declared but never referenced [declared_but_not_referenced]
    double ox, oy, oz;                /* Origin of Ewald sphere tangent plane */
           ^

"./Test_PowderN.c", line 19690: warning: variable "oy" was declared but never referenced [declared_but_not_referenced]
    double ox, oy, oz;                /* Origin of Ewald sphere tangent plane */
               ^

"./Test_PowderN.c", line 19690: warning: variable "oz" was declared but never referenced [declared_but_not_referenced]
    double ox, oy, oz;                /* Origin of Ewald sphere tangent plane */
                   ^

"./Test_PowderN.c", line 19691: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced]
    double b1x, b1y, b1z;             /* First vector spanning tangent plane */
           ^

"./Test_PowderN.c", line 19691: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced]
    double b1x, b1y, b1z;             /* First vector spanning tangent plane */
                ^

"./Test_PowderN.c", line 19691: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced]
    double b1x, b1y, b1z;             /* First vector spanning tangent plane */
                     ^

"./Test_PowderN.c", line 19692: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced]
    double b2x, b2y, b2z;             /* Second vector spanning tangent plane */
           ^

"./Test_PowderN.c", line 19692: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced]
    double b2x, b2y, b2z;             /* Second vector spanning tangent plane */
                ^

"./Test_PowderN.c", line 19692: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced]
    double b2x, b2y, b2z;             /* Second vector spanning tangent plane */
                     ^

"./Test_PowderN.c", line 19693: warning: variable "n11" was declared but never referenced [declared_but_not_referenced]
    double n11, n12, n22;             /* 2D Gauss description matrix N */
           ^

"./Test_PowderN.c", line 19693: warning: variable "n12" was declared but never referenced [declared_but_not_referenced]
    double n11, n12, n22;             /* 2D Gauss description matrix N */
                ^

"./Test_PowderN.c", line 19693: warning: variable "n22" was declared but never referenced [declared_but_not_referenced]
    double n11, n12, n22;             /* 2D Gauss description matrix N */
                     ^

"./Test_PowderN.c", line 19694: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced]
    double det_N;                     /* Determinant of N */
           ^

"./Test_PowderN.c", line 19695: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced]
    double inv_n11, inv_n12, inv_n22; /* Inverse of N */
           ^

"./Test_PowderN.c", line 19695: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced]
    double inv_n11, inv_n12, inv_n22; /* Inverse of N */
                    ^

"./Test_PowderN.c", line 19695: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced]
    double inv_n11, inv_n12, inv_n22; /* Inverse of N */
                             ^

"./Test_PowderN.c", line 19696: warning: variable "l11" was declared but never referenced [declared_but_not_referenced]
    double l11, l12, l22;             /* Cholesky decomposition L of 1/2*inv(N) */
           ^

"./Test_PowderN.c", line 19696: warning: variable "l12" was declared but never referenced [declared_but_not_referenced]
    double l11, l12, l22;             /* Cholesky decomposition L of 1/2*inv(N) */
                ^

"./Test_PowderN.c", line 19696: warning: variable "l22" was declared but never referenced [declared_but_not_referenced]
    double l11, l12, l22;             /* Cholesky decomposition L of 1/2*inv(N) */
                     ^

"./Test_PowderN.c", line 19697: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced]
    double det_L;                     /* Determinant of L */
           ^

"./Test_PowderN.c", line 19698: warning: variable "Bt_D_O_x" was declared but never referenced [declared_but_not_referenced]
    double Bt_D_O_x, Bt_D_O_y;        /* Temporaries */
           ^

"./Test_PowderN.c", line 19698: warning: variable "Bt_D_O_y" was declared but never referenced [declared_but_not_referenced]
    double Bt_D_O_x, Bt_D_O_y;        /* Temporaries */
                     ^

"./Test_PowderN.c", line 19699: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced]
    double y0x, y0y;                  /* Center of 2D Gauss in plane coordinates */
           ^

"./Test_PowderN.c", line 19699: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced]
    double y0x, y0y;                  /* Center of 2D Gauss in plane coordinates */
                ^

"./Test_PowderN.c", line 19700: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced]
    double alpha;                     /* Offset of 2D Gauss center from 3D center */
           ^

"./Test_PowderN.c", line 19706: warning: variable "coh_xsect" was declared but never referenced [declared_but_not_referenced]
    double coh_xsect, coh_xlen;       /* Coherent cross section and length */
           ^

"./Test_PowderN.c", line 19707: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced]
    double tot_xsect, tot_xlen;       /* Total cross section and length */
           ^

"./Test_PowderN.c", line 19722: warning: variable "type" was set but never used [set_but_not_used]
    char type; /* type of last event: t=transmit,c=coherent or i=incoherent */
         ^

"./Test_PowderN.c", line 20421: warning: variable "flag" was declared but never referenced [declared_but_not_referenced]
      int    flag=0;
             ^

"./Test_PowderN.c", line 20829: warning: Routine "class_PSD_monitor_4PI_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  void class_PSD_monitor_4PI_trace(_class_PSD_monitor_4PI *_comp
       ^

"./Test_PowderN.c", line 20905: 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
       ^

"./Test_PowderN.c", line 20955: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced]
    off_struct thread_offdata = offdata;
               ^

"./Test_PowderN.c", line 23420: warning: variable "t" was declared but never referenced [declared_but_not_referenced]
    time_t  t;
            ^

"./Test_PowderN.c", line 23421: warning: variable "ct" was set but never used [set_but_not_used]
    clock_t ct;
            ^

"./Test_PowderN.c", line 1509: warning: variable "mcstartdate" was set but never used [set_but_not_used]
  static   long mcstartdate            = 0; /* start simulation time */
                ^

"./Test_PowderN.c", line 2983: 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:
   1558, Generating acc routine seq
         Generating NVIDIA GPU code
str_comp:
   1562, Generating acc routine seq
         Generating NVIDIA GPU code
str_len:
   1571, Generating acc routine seq
         Generating NVIDIA GPU code
mcget_ncount:
   4264, Generating acc routine seq
         Generating NVIDIA GPU code
coords_set:
   4698, Generating acc routine seq
         Generating NVIDIA GPU code
coords_get:
   4709, Generating acc routine seq
         Generating NVIDIA GPU code
coords_add:
   4718, Generating acc routine seq
         Generating NVIDIA GPU code
coords_sub:
   4730, Generating acc routine seq
         Generating NVIDIA GPU code
coords_neg:
   4742, Generating acc routine seq
         Generating NVIDIA GPU code
coords_scale:
   4752, Generating acc routine seq
         Generating NVIDIA GPU code
coords_sp:
   4762, Generating acc routine seq
         Generating NVIDIA GPU code
coords_xp:
   4770, Generating acc routine seq
         Generating NVIDIA GPU code
coords_len:
   4780, Generating acc routine seq
         Generating NVIDIA GPU code
coords_print:
   4802, Generating acc routine seq
         Generating NVIDIA GPU code
coords_norm:
   4809, Generating acc routine seq
         Generating NVIDIA GPU code
rot_set_rotation:
   4855, Generating acc routine seq
         Generating NVIDIA GPU code
rot_test_identity:
   4890, Generating acc routine seq
         Generating NVIDIA GPU code
rot_mul:
   4901, Generating acc routine seq
         Generating NVIDIA GPU code
rot_copy:
   4918, Generating acc routine seq
         Generating NVIDIA GPU code
rot_transpose:
   4929, Generating acc routine seq
         Generating NVIDIA GPU code
rot_apply:
   4945, Generating acc routine seq
         Generating NVIDIA GPU code
vec_prod_func:
   4974, Generating acc routine seq
         Generating NVIDIA GPU code
scalar_prod:
   4985, Generating acc routine seq
         Generating NVIDIA GPU code
norm_func:
   4989, Generating acc routine seq
         Generating NVIDIA GPU code
sort_absorb_last:
   5024, Generating present(particles[:buffer_len],pbuffer[:buffer_len])
         Generating implicit firstprivate(tidx)
         Generating NVIDIA GPU code
       5031, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
       5040, #pragma acc loop seq
   5024, Generating implicit copy(lens[:]) [if not already present]
   5031, Generating implicit firstprivate(ll,l)
   5042, Accelerator restriction: induction variable live-out from loop: i
   5043, Accelerator restriction: induction variable live-out from loop: i
   5044, Accelerator restriction: induction variable live-out from loop: i
   5045, Accelerator restriction: induction variable live-out from loop: i
   5047, Accelerator restriction: induction variable live-out from loop: j
   5048, Accelerator restriction: induction variable live-out from loop: j
   5049, Accelerator restriction: induction variable live-out from loop: j
   5050, Accelerator restriction: induction variable live-out from loop: j
   5072, Generating present(pbuffer[:buffer_len])
         Generating implicit firstprivate(tidx)
         Generating NVIDIA GPU code
       5076, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
       5079, #pragma acc loop seq
   5072, Generating implicit copyin(lens[:]) [if not already present]
         Generating implicit copy(particles[:]) [if not already present]
         Generating implicit copyin(los[:]) [if not already present]
   5079, Generating implicit firstprivate(l)
   5096, Generating present(particles[:buffer_len])
         Generating implicit firstprivate(accumlen,tidx,mult)
         Generating NVIDIA GPU code
       5100, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
       5107, #pragma acc loop seq
   5096, Local memory used for targetbuffer,sourcebuffer
mccoordschange:
   5166, Generating acc routine seq
         Generating NVIDIA GPU code
mccoordschange_polarisation:
   5197, Generating acc routine seq
         Generating NVIDIA GPU code
normal_vec:
   5214, Generating acc routine seq
         Generating NVIDIA GPU code
solve_2nd_order:
   5313, Generating acc routine seq
         Generating NVIDIA GPU code
_randvec_target_circle:
   5397, Generating acc routine seq
         Generating NVIDIA GPU code
_randvec_target_rect_angular:
   5463, Generating acc routine seq
         Generating NVIDIA GPU code
_randvec_target_rect_real:
   5540, Generating acc routine seq
         Generating NVIDIA GPU code
kiss_srandom:
   5812, Generating acc routine seq
         Generating NVIDIA GPU code
kiss_random:
   5824, Generating acc routine seq
         Generating NVIDIA GPU code
_hash:
   5856, Generating acc routine seq
         Generating NVIDIA GPU code
_randnorm2:
   5897, Generating acc routine seq
         Generating NVIDIA GPU code
_randtriangle:
   5908, Generating acc routine seq
         Generating NVIDIA GPU code
_rand01:
   5913, Generating acc routine seq
         Generating NVIDIA GPU code
_rand01_opague:
   5920, Generating acc routine seq
         Generating NVIDIA GPU code
_randpm1:
   5931, Generating acc routine seq
         Generating NVIDIA GPU code
_rand0max:
   5939, Generating acc routine seq
         Generating NVIDIA GPU code
_randminmax:
   5946, Generating acc routine seq
         Generating NVIDIA GPU code
mcsetstate:
   6614, Generating acc routine seq
         Generating NVIDIA GPU code
mcgetstate:
   6650, Generating acc routine seq
         Generating NVIDIA GPU code
inside_rectangle:
   6725, Generating acc routine seq
         Generating NVIDIA GPU code
box_intersect:
   6741, Generating acc routine seq
         Generating NVIDIA GPU code
cylinder_intersect:
   6827, Generating acc routine seq
         Generating NVIDIA GPU code
sphere_intersect:
   6895, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Index:
   8075, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Value:
   8143, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Value2d:
   8222, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Interp1d:
   8690, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Interp1d_nearest:
   8706, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Interp2d:
   8724, Generating acc routine seq
         Generating NVIDIA GPU code
off_F:
   8990, Generating acc routine seq
         Generating NVIDIA GPU code
off_sign:
   8995, Generating acc routine seq
         Generating NVIDIA GPU code
off_normal:
   9005, Generating acc routine seq
         Generating NVIDIA GPU code
off_pnpoly:
   9031, Generating acc routine seq
         Generating NVIDIA GPU code
off_intersectPoly:
   9094, Generating acc routine seq
         Generating NVIDIA GPU code
off_init_planes:
   9225, Generating acc routine seq
         Generating NVIDIA GPU code
off_clip_3D_mod:
   9270, Generating acc routine seq
         Generating NVIDIA GPU code
off_clip_3D_mod_grav:
   9385, Generating acc routine seq
         Generating NVIDIA GPU code
off_compare:
   9501, Generating acc routine seq
         Generating NVIDIA GPU code
off_cleanDouble:
   9513, Generating acc routine seq
         Generating NVIDIA GPU code
off_cleanInOut:
   9548, Generating acc routine seq
         Generating NVIDIA GPU code
Min_int:
   9803, Generating acc routine seq
         Generating NVIDIA GPU code
merge:
   9810, Generating acc routine seq
         Generating NVIDIA GPU code
         CUDA global memory used for L,R
gpusort:
   9875, Generating acc routine seq
         Generating NVIDIA GPU code
p_to_quadratic:
   9918, Generating implicit acc routine seq
         Generating implicit acc routine seq
         Generating NVIDIA GPU code
quadraticSolve:
   9933, Generating implicit acc routine seq
         Generating implicit acc routine seq
         Generating NVIDIA GPU code
off_intersect_all:
   9987, Generating acc routine seq
         Generating NVIDIA GPU code
off_intersect:
  10104, Generating acc routine seq
         Generating NVIDIA GPU code
off_x_intersect:
  10126, Generating acc routine seq
         Generating NVIDIA GPU code
calc_xsect:
  10637, Generating acc routine seq
         Generating NVIDIA GPU code
calc_abs_xsect:
  10683, Generating acc routine seq
         Generating NVIDIA GPU code
calc_inc_xsect:
  10694, Generating acc routine seq
         Generating NVIDIA GPU code
SX_list_compare:
  10824, Generating acc routine seq
         Generating NVIDIA GPU code
hkl_search:
  11475, Generating acc routine seq
         Generating NVIDIA GPU code
hkl_select:
  11578, Generating acc routine seq
         Generating NVIDIA GPU code
randrotate:
  11594, Generating acc routine seq
         Generating NVIDIA GPU code
randderotate:
  11603, Generating acc routine seq
         Generating NVIDIA GPU code
vec_rotate_2d:
  11613, Generating acc routine seq
         Generating NVIDIA GPU code
Monitor_nD_Trace:
  15017, Generating acc routine seq
         Generating NVIDIA GPU code
init:
  18844, Generating update device(_FlPow_var,_src_var,_sample_cradle_var,_instrument_var,_Origin_var,_Pow_var,_SX_var,_Sph_mon_var,_det_angle_var)
class_Progress_bar_trace:
  18886, Generating acc routine seq
         Generating NVIDIA GPU code
class_Source_flat_trace:
  18966, Generating acc routine seq
         Generating NVIDIA GPU code
class_PowderN_trace:
  19105, Generating acc routine seq
         Generating NVIDIA GPU code
class_Single_crystal_trace:
  19625, Generating acc routine seq
         Generating NVIDIA GPU code
class_PSD_monitor_4PI_trace:
  20830, Generating acc routine seq
         Generating NVIDIA GPU code
class_Monitor_nD_trace:
  20906, Generating acc routine seq
         Generating NVIDIA GPU code
raytrace_all_funnel:
  21449, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      21453, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  21453, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed)
  21462, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      21467, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  21462, Local memory used for .inl_.inl_c_1992_22317,.inl_.inl_.inl_b_1966_1998_22322,.inl_.inl_.inl_.X2800_1965_1997_22321,.inl_.inl_b_1988_22316,.inl_.inl_c_1981_22306,.inl_.inl_.inl_b_1966_1987_22311,.inl_.inl_.inl_.X2800_1965_1986_22310,.inl_.inl_b_1977_22305,.inl_.inl_.X2784_1976_22300,.inl_.inl_c_1973_22299,.inl_c_22332,.inl_.inl_b_1972_22297,.inl_.inl_.X2800_1971_22296,.inl_b_22289,.inl_.X2783_22288,.inl_.X2784_22283,.inl_c_22291,.inl_.X2782_22279,.inl_a_22275,_particle_save,.inl_c_22343,.inl_.inl_c_1981_22358,.inl_.inl_.inl_b_1966_1987_22363,.inl_.inl_.inl_.X2800_1965_1986_22362,.inl_.inl_b_1977_22357,.inl_.inl_c_1973_22351,.inl_.inl_.inl_.X2800_1965_1997_22373,.inl_.inl_.X2800_1971_22348,.inl_.inl_b_1972_22349,.inl_.X2784_22335,.inl_.inl_b_1988_22368,.inl_c_22280,.inl_.inl_.inl_b_1966_1998_22374,.inl_.inl_.X2784_1976_22352,.inl_a_22327,.inl_.X2782_22331,.inl_.X2783_22340,.inl_b_22341,.inl_.inl_c_1992_22369
  21504, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      21508, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  21504, Local memory used for .inl_.inl_c_1992_22419,.inl_.inl_.inl_b_1966_1998_22424,.inl_.inl_.inl_.X2800_1965_1997_22423,.inl_.inl_b_1988_22418,.inl_.inl_c_1981_22408,.inl_.inl_.inl_b_1966_1987_22413,.inl_.inl_.inl_.X2800_1965_1986_22412,.inl_.inl_b_1977_22407,.inl_.inl_.X2784_1976_22402,.inl_.inl_c_1973_22401,.inl_c_22432,.inl_.inl_b_1972_22399,.inl_.inl_.X2800_1971_22398,.inl_b_22391,.inl_.X2783_22390,.inl_.X2784_22385,.inl_c_22393,.inl_.X2782_22381,.inl_a_22377,_particle_save,.inl_c_22443,.inl_.inl_c_1981_22458,.inl_.inl_.inl_b_1966_1987_22463,.inl_.inl_.inl_.X2800_1965_1986_22462,.inl_.inl_b_1977_22457,.inl_.inl_c_1973_22451,.inl_.inl_.inl_.X2800_1965_1997_22473,.inl_.inl_.X2800_1971_22448,.inl_.inl_b_1972_22449,.inl_.X2784_22435,.inl_.inl_b_1988_22468,.inl_c_22382,.inl_.inl_.inl_b_1966_1998_22474,.inl_.inl_.X2784_1976_22452,.inl_a_22427,.inl_.X2782_22431,.inl_.X2783_22440,.inl_b_22441,.inl_.inl_c_1992_22469
  21573, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      21576, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  21573, Local memory used for .inl_.inl_c_1992_22569,.inl_.inl_.inl_b_1966_1998_22574,.inl_.inl_.inl_.X2800_1965_1997_22573,.inl_.inl_b_1988_22568,.inl_.inl_c_1981_22558,.inl_.inl_.inl_b_1966_1987_22563,.inl_.inl_.inl_.X2800_1965_1986_22562,.inl_.inl_b_1977_22557,.inl_.inl_.X2784_1976_22552,.inl_.inl_c_1973_22551,.inl_c_22613,.inl_.inl_b_1972_22549,.inl_.inl_.X2800_1971_22548,.inl_b_22541,.inl_.X2783_22540,.inl_.X2784_22535,.inl_c_22543,.inl_.X2782_22531,.inl_a_22527,_particle_save,.inl_c_22624,.inl_.inl_c_1981_22639,.inl_.inl_.inl_b_1966_1987_22644,.inl_.inl_.inl_.X2800_1965_1986_22643,.inl_.inl_b_1977_22638,.inl_.inl_c_1973_22632,.inl_.inl_.inl_.X2800_1965_1997_22654,.inl_.inl_.X2800_1971_22629,.inl_.inl_b_1972_22630,.inl_.X2784_22616,.inl_.inl_b_1988_22649,.inl_c_22532,.inl_.inl_.inl_b_1966_1998_22655,.inl_.inl_.X2784_1976_22633,.inl_a_22608,.inl_.X2782_22612,.inl_.X2783_22621,.inl_b_22622,.inl_.inl_c_1992_22650
finally:
  22405, Generating update self(_FlPow_var,_sample_cradle_var,_src_var,_instrument_var,_Origin_var,_Pow_var,_SX_var,_Sph_mon_var,_det_angle_var)
mcenabletrace:
   6067, Generating update device(mcdotrace)
/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/ld: /tmp/nvc25F6cI4le6XFu.o: in function `cif2hkl':
/u/data/pkwi/xTESTS/2026-07-07/mcxtrace-3.99.99_openacc_mpi_x_7_Test_Absorption_Test_FluoPowder_Test_PowderN_Test_SX_1e7_Linux_20260707_2125_56/Test_PowderN/./Test_PowderN.c:10372:(.text+0x25cbf): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/ld: /tmp/nvc25F6cI4le6XFu.o: note: the message above does not take linker garbage collection into account
DEBUG: CMD: nvc finished
INFO: ===
