INFO: No output directory specified (--dir)
INFO: Using directory: "Test_FluoPowder_20260707_212639"
INFO: Regenerating c-file: Test_FluoPowder.c
DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/mcxtrace -t -o ./Test_FluoPowder.c Test_FluoPowder.instr

-----------------------------------------------------------
WARNING: Existing (COPY) EXTEND block in COMPONENT FluoG:
  EXTEND %{
    if (!SCATTERED) ABSORB;
    scatt_type = type;
  %}

is overwritten by:
  EXTEND %{
    if (SCATTERED) scatt_type = type;
  %}
-----------------------------------------------------------

-----------------------------------------------------------
WARNING: Existing (COPY) EXTEND block in COMPONENT PowG:
  EXTEND %{
    if (!SCATTERED) ABSORB;
    scatt_type=3;
  %}

is overwritten by:
  EXTEND %{
    if (SCATTERED) scatt_type=DIFFRACTION;
    else ABSORB;
  %}
-----------------------------------------------------------
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 FL_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.


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

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 FL_pow is NOACC, CPUONLY=1
-> FUNNEL mode enabled, SPLIT within buffer.
-> CPU section from component FL_pow
Component Fluo is NOACC, CPUONLY=1
-> FUNNEL mode enabled, SPLIT within buffer.
Component FluoG is NOACC, CPUONLY=1
-> FUNNEL mode enabled, SPLIT within buffer.
-> GPU kernel from component PowG

-----------------------------------------------------------
DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/mcxtrace finished
INFO: Recompiling: ./Test_FluoPowder.out
DEBUG: CMD: nvc -o ./Test_FluoPowder.out ./Test_FluoPowder.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_FluoPowder.c", line 88: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  _class_particle mcgenstate(void);
                  ^

Remark: individual warnings can be suppressed with "--diag_suppress <warning-name>"

"./Test_FluoPowder.c", line 90: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  _class_particle mcsetstate(double x, double y, double z, double kx, double ky, double kz,
                  ^

"./Test_FluoPowder.c", line 93: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  _class_particle mcgetstate(_class_particle mcphoton, double *x, double *y, double *z, double *kx, double *ky, double *kz,
                  ^

"./Test_FluoPowder.c", line 106: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  double particle_getvar(_class_particle *p, char *name, int *suc);
         ^

"./Test_FluoPowder.c", line 110: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  int str_comp(char *str1, char *str2);
      ^

"./Test_FluoPowder.c", line 140: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  void* particle_getvar_void(_class_particle *p, char *name, int *suc);
        ^

"./Test_FluoPowder.c", line 110: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  int str_comp(char *str1, char *str2);
      ^

"./Test_FluoPowder.c", line 171: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  int particle_setvar_void(_class_particle *, char *, void*);
      ^

"./Test_FluoPowder.c", line 195: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  int particle_setvar_void_array(_class_particle *, char *, void*, int);
      ^

"./Test_FluoPowder.c", line 206: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  void particle_restore(_class_particle *p, _class_particle *p0);
       ^

"./Test_FluoPowder.c", line 217: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  double particle_getuservar_byid(_class_particle *p, int id, int *suc){
         ^

"./Test_FluoPowder.c", line 228: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  void particle_uservar_init(_class_particle *p){
       ^

"./Test_FluoPowder.c", line 296: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  int noprintf();
      ^

"./Test_FluoPowder.c", line 298: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  size_t str_len(const char *s);
         ^

"./Test_FluoPowder.c", line 649: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  unsigned long long int mcget_ncount(void);            /* wrapper to set mcncount */
                         ^

"./Test_FluoPowder.c", line 872: 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_FluoPowder.c", line 889: 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_FluoPowder.c", line 891: 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_FluoPowder.c", line 899: 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_FluoPowder.c", line 901: 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_FluoPowder.c", line 903: 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_FluoPowder.c", line 905: 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_FluoPowder.c", line 907: 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_FluoPowder.c", line 910: 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_FluoPowder.c", line 1006: 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_FluoPowder.c", line 1008: 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_FluoPowder.c", line 1010: 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_FluoPowder.c", line 1012: 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_FluoPowder.c", line 1014: 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_FluoPowder.c", line 1016: 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_FluoPowder.c", line 1018: 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_FluoPowder.c", line 1020: 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_FluoPowder.c", line 1022: 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_FluoPowder.c", line 4195: warning: variable "exists" was set but never used [set_but_not_used]
      int exists=0;
          ^

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

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

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

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

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

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

"./Test_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.c", line 9388: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced]
    double plane_Eq [4];
           ^

"./Test_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.c", line 10964: warning: variable "flag" was declared but never referenced [declared_but_not_referenced]
      char flag = 0;
           ^

"./Test_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.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_FluoPowder.c", line 11636: warning: variable "status" was set but never used [set_but_not_used]
      int status;
          ^

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

"./Test_FluoPowder.c", line 14364: 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_FluoPowder.c", line 14535: warning: integer conversion resulted in a change of sign [integer_sign_change]
      Vars->OFF_polyidx       = -1;
                                ^

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

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

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

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

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

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

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

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

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

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

"./Test_FluoPowder.c", line 18006: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 9;
        ^

"./Test_FluoPowder.c", line 18131: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 10;
        ^

"./Test_FluoPowder.c", line 18195: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 11;
        ^

"./Test_FluoPowder.c", line 18259: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 12;
        ^

"./Test_FluoPowder.c", line 18323: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 13;
        ^

"./Test_FluoPowder.c", line 18507: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 14;
        ^

"./Test_FluoPowder.c", line 18691: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 15;
        ^

"./Test_FluoPowder.c", line 18875: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 16;
        ^

"./Test_FluoPowder.c", line 19059: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced]
    int current_setpos_index = 17;
        ^

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

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

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

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

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

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

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

"./Test_FluoPowder.c", line 21036: 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_FluoPowder.c", line 21116: 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_FluoPowder.c", line 21255: 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_FluoPowder.c", line 21302: warning: variable "type" was set but never used [set_but_not_used]
    char type = '\0';
         ^

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

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

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

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

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

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

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

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

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

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

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

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

"./Test_FluoPowder.c", line 21778: 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_FluoPowder.c", line 21840: warning: variable "k" was declared but never referenced [declared_but_not_referenced]
    double k;                   /* photon wave vector */
           ^

"./Test_FluoPowder.c", line 21841: 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_FluoPowder.c", line 21841: 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_FluoPowder.c", line 21841: 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_FluoPowder.c", line 21842: warning: variable "rho" was declared but never referenced [declared_but_not_referenced]
    double rho;
           ^

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

"./Test_FluoPowder.c", line 21850: 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_FluoPowder.c", line 21850: 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_FluoPowder.c", line 21850: 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_FluoPowder.c", line 21851: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced]
    double det_L;                     /* Determinant of L */
           ^

"./Test_FluoPowder.c", line 21852: 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_FluoPowder.c", line 21852: 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_FluoPowder.c", line 21853: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced]
    double y0x, y0y;                  /* Center of 2D Gauss in plane coordinates */
           ^

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

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

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

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

"./Test_FluoPowder.c", line 21876: 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_FluoPowder.c", line 22574: warning: variable "flag" was declared but never referenced [declared_but_not_referenced]
      int    flag=0;
             ^

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

"./Test_FluoPowder.c", line 23533: 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_FluoPowder.c", line 23609: 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_FluoPowder.c", line 23659: warning: variable "thread_offdata" was declared but never referenced [declared_but_not_referenced]
    off_struct thread_offdata = offdata;
               ^

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

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

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

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

"./Test_FluoPowder.c", line 2990: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced]
  static char *strcpy_valid(char *valid, char *original)
               ^

mcgenstate:
     99, Generating acc routine seq
         Generating NVIDIA GPU code
particle_getvar:
    113, Generating acc routine seq
         Generating NVIDIA GPU code
particle_getvar_void:
    147, Generating acc routine seq
         Generating NVIDIA GPU code
particle_setvar_void:
    173, Generating acc routine seq
         Generating NVIDIA GPU code
particle_setvar_void_array:
    197, Generating acc routine seq
         Generating NVIDIA GPU code
particle_restore:
    208, Generating acc routine seq
         Generating NVIDIA GPU code
particle_getuservar_byid:
    217, Generating acc routine seq
         Generating NVIDIA GPU code
particle_uservar_init:
    228, Generating acc routine seq
         Generating NVIDIA GPU code
noprintf:
   1565, Generating acc routine seq
         Generating NVIDIA GPU code
str_comp:
   1569, Generating acc routine seq
         Generating NVIDIA GPU code
str_len:
   1578, Generating acc routine seq
         Generating NVIDIA GPU code
mcget_ncount:
   4271, Generating acc routine seq
         Generating NVIDIA GPU code
coords_set:
   4705, Generating acc routine seq
         Generating NVIDIA GPU code
coords_get:
   4716, Generating acc routine seq
         Generating NVIDIA GPU code
coords_add:
   4725, Generating acc routine seq
         Generating NVIDIA GPU code
coords_sub:
   4737, Generating acc routine seq
         Generating NVIDIA GPU code
coords_neg:
   4749, Generating acc routine seq
         Generating NVIDIA GPU code
coords_scale:
   4759, Generating acc routine seq
         Generating NVIDIA GPU code
coords_sp:
   4769, Generating acc routine seq
         Generating NVIDIA GPU code
coords_xp:
   4777, Generating acc routine seq
         Generating NVIDIA GPU code
coords_len:
   4787, Generating acc routine seq
         Generating NVIDIA GPU code
coords_print:
   4809, Generating acc routine seq
         Generating NVIDIA GPU code
coords_norm:
   4816, Generating acc routine seq
         Generating NVIDIA GPU code
rot_set_rotation:
   4862, Generating acc routine seq
         Generating NVIDIA GPU code
rot_test_identity:
   4897, Generating acc routine seq
         Generating NVIDIA GPU code
rot_mul:
   4908, Generating acc routine seq
         Generating NVIDIA GPU code
rot_copy:
   4925, Generating acc routine seq
         Generating NVIDIA GPU code
rot_transpose:
   4936, Generating acc routine seq
         Generating NVIDIA GPU code
rot_apply:
   4952, Generating acc routine seq
         Generating NVIDIA GPU code
vec_prod_func:
   4981, Generating acc routine seq
         Generating NVIDIA GPU code
scalar_prod:
   4992, Generating acc routine seq
         Generating NVIDIA GPU code
norm_func:
   4996, Generating acc routine seq
         Generating NVIDIA GPU code
sort_absorb_last:
   5031, Generating present(particles[:buffer_len],pbuffer[:buffer_len])
         Generating implicit firstprivate(tidx)
         Generating NVIDIA GPU code
       5038, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
       5047, #pragma acc loop seq
   5031, Generating implicit copy(lens[:]) [if not already present]
   5038, Generating implicit firstprivate(ll,l)
   5049, Accelerator restriction: induction variable live-out from loop: i
   5050, Accelerator restriction: induction variable live-out from loop: i
   5051, Accelerator restriction: induction variable live-out from loop: i
   5052, Accelerator restriction: induction variable live-out from loop: i
   5054, Accelerator restriction: induction variable live-out from loop: j
   5055, Accelerator restriction: induction variable live-out from loop: j
   5056, Accelerator restriction: induction variable live-out from loop: j
   5057, Accelerator restriction: induction variable live-out from loop: j
   5079, Generating present(pbuffer[:buffer_len])
         Generating implicit firstprivate(tidx)
         Generating NVIDIA GPU code
       5083, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
       5086, #pragma acc loop seq
   5079, Generating implicit copyin(lens[:]) [if not already present]
         Generating implicit copy(particles[:]) [if not already present]
         Generating implicit copyin(los[:]) [if not already present]
   5086, Generating implicit firstprivate(l)
   5103, Generating present(particles[:buffer_len])
         Generating implicit firstprivate(accumlen,tidx,mult)
         Generating NVIDIA GPU code
       5107, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
       5114, #pragma acc loop seq
   5103, Local memory used for targetbuffer,sourcebuffer
mccoordschange:
   5173, Generating acc routine seq
         Generating NVIDIA GPU code
mccoordschange_polarisation:
   5204, Generating acc routine seq
         Generating NVIDIA GPU code
normal_vec:
   5221, Generating acc routine seq
         Generating NVIDIA GPU code
solve_2nd_order:
   5320, Generating acc routine seq
         Generating NVIDIA GPU code
_randvec_target_circle:
   5404, Generating acc routine seq
         Generating NVIDIA GPU code
_randvec_target_rect_angular:
   5470, Generating acc routine seq
         Generating NVIDIA GPU code
_randvec_target_rect_real:
   5547, Generating acc routine seq
         Generating NVIDIA GPU code
kiss_srandom:
   5819, Generating acc routine seq
         Generating NVIDIA GPU code
kiss_random:
   5831, Generating acc routine seq
         Generating NVIDIA GPU code
_hash:
   5863, Generating acc routine seq
         Generating NVIDIA GPU code
_randnorm2:
   5904, Generating acc routine seq
         Generating NVIDIA GPU code
_randtriangle:
   5915, Generating acc routine seq
         Generating NVIDIA GPU code
_rand01:
   5920, Generating acc routine seq
         Generating NVIDIA GPU code
_rand01_opague:
   5927, Generating acc routine seq
         Generating NVIDIA GPU code
_randpm1:
   5938, Generating acc routine seq
         Generating NVIDIA GPU code
_rand0max:
   5946, Generating acc routine seq
         Generating NVIDIA GPU code
_randminmax:
   5953, Generating acc routine seq
         Generating NVIDIA GPU code
mcsetstate:
   6621, Generating acc routine seq
         Generating NVIDIA GPU code
mcgetstate:
   6657, Generating acc routine seq
         Generating NVIDIA GPU code
inside_rectangle:
   6732, Generating acc routine seq
         Generating NVIDIA GPU code
box_intersect:
   6748, Generating acc routine seq
         Generating NVIDIA GPU code
cylinder_intersect:
   6834, Generating acc routine seq
         Generating NVIDIA GPU code
sphere_intersect:
   6902, 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
XRMC_SelectFromDistribution:
  13737, Generating implicit acc routine seq
         Generating implicit acc routine seq
         Generating NVIDIA GPU code
XRMC_SelectInteraction:
  13764, Generating implicit acc routine seq
         Generating implicit acc routine seq
         Generating NVIDIA GPU code
         CUDA global memory used for cum_xs
Monitor_nD_Trace:
  15255, Generating acc routine seq
         Generating NVIDIA GPU code
init:
  20995, Generating update device(_Fluo_var,_src_var,_sample_cradle_var,_instrument_var,_PowG_var,_SDD_var,_E_mon_var,_FluoG_var,_FL_pow_var,_Origin_var,_Sph_mon_pow_var,_Sph_mon_flu_var,_SX_var,_E_mon_pow_var,_E_mon_flu_var,_Sph_mon_var,_Pow_var,_det_angle_var)
class_Progress_bar_trace:
  21037, Generating acc routine seq
         Generating NVIDIA GPU code
class_Source_flat_trace:
  21117, Generating acc routine seq
         Generating NVIDIA GPU code
class_PowderN_trace:
  21256, Generating acc routine seq
         Generating NVIDIA GPU code
class_Single_crystal_trace:
  21779, Generating acc routine seq
         Generating NVIDIA GPU code
class_PSD_monitor_4PI_trace:
  23534, Generating acc routine seq
         Generating NVIDIA GPU code
class_Monitor_nD_trace:
  23610, Generating acc routine seq
         Generating NVIDIA GPU code
class_Fluo_detector_trace:
  23821, Generating acc routine seq
         Generating NVIDIA GPU code
raytrace_all_funnel:
  24538, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      24542, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  24542, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount)
  24551, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      24556, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  24551, Local memory used for .inl_.inl_c_1998_28041,.inl_.inl_.inl_b_1972_2004_28046,.inl_.inl_.inl_.X2908_1971_2003_28045,.inl_.inl_b_1994_28040,.inl_.inl_c_1987_28030,.inl_.inl_.inl_b_1972_1993_28035,.inl_.inl_.inl_.X2908_1971_1992_28034,.inl_.inl_b_1983_28029,.inl_.inl_.X2892_1982_28024,.inl_.inl_c_1979_28023,.inl_c_28056,.inl_.inl_b_1978_28021,.inl_.inl_.X2908_1977_28020,.inl_b_28013,.inl_.X2891_28012,.inl_.X2892_28007,.inl_c_28015,.inl_.X2890_28003,.inl_a_27999,.inl_c_28067,_particle_save,.inl_.inl_c_1987_28082,.inl_.inl_.inl_b_1972_1993_28087,.inl_.inl_.inl_.X2908_1971_1992_28086,.inl_.inl_b_1983_28081,.inl_.inl_c_1979_28075,.inl_.inl_.inl_.X2908_1971_2003_28097,.inl_.inl_.X2908_1977_28072,.inl_.inl_b_1978_28073,.inl_.X2892_28059,.inl_.inl_b_1994_28092,.inl_c_28004,.inl_.inl_.inl_b_1972_2004_28098,.inl_.inl_.X2892_1982_28076,.inl_a_28051,.inl_.X2890_28055,.inl_.X2891_28064,.inl_b_28065,.inl_.inl_c_1998_28093
  24593, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      24597, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  24593, Local memory used for .inl_.inl_c_1998_28143,.inl_.inl_.inl_b_1972_2004_28148,.inl_.inl_.inl_.X2908_1971_2003_28147,.inl_.inl_b_1994_28142,.inl_.inl_c_1987_28132,.inl_.inl_.inl_b_1972_1993_28137,.inl_.inl_.inl_.X2908_1971_1992_28136,.inl_.inl_b_1983_28131,.inl_.inl_.X2892_1982_28126,.inl_.inl_c_1979_28125,.inl_c_28156,.inl_.inl_b_1978_28123,.inl_.inl_.X2908_1977_28122,.inl_b_28115,.inl_.X2891_28114,.inl_.X2892_28109,.inl_c_28117,.inl_.X2890_28105,.inl_a_28101,_particle_save,.inl_c_28167,.inl_.inl_c_1987_28182,.inl_.inl_.inl_b_1972_1993_28187,.inl_.inl_.inl_.X2908_1971_1992_28186,.inl_.inl_b_1983_28181,.inl_.inl_c_1979_28175,.inl_.inl_.inl_.X2908_1971_2003_28197,.inl_.inl_.X2908_1977_28172,.inl_.inl_b_1978_28173,.inl_.X2892_28159,.inl_.inl_b_1994_28192,.inl_c_28106,.inl_.inl_.inl_b_1972_2004_28198,.inl_.inl_.X2892_1982_28176,.inl_a_28151,.inl_.X2890_28155,.inl_.X2891_28164,.inl_b_28165,.inl_.inl_c_1998_28193
  24699, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      24702, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  24699, Local memory used for .inl_.inl_c_1998_28836,.inl_.inl_.inl_b_1972_2004_28841,.inl_.inl_.inl_.X2908_1971_2003_28840,.inl_.inl_b_1994_28835,.inl_.inl_c_1987_28825,.inl_.inl_.inl_b_1972_1993_28830,.inl_.inl_.inl_.X2908_1971_1992_28829,.inl_.inl_b_1983_28824,.inl_.inl_.X2892_1982_28819,.inl_.inl_c_1979_28818,.inl_c_28849,.inl_.inl_b_1978_28816,.inl_.inl_.X2908_1977_28815,.inl_b_28808,.inl_.X2891_28807,.inl_.X2892_28802,.inl_c_28810,.inl_.X2890_28798,.inl_a_28794,.inl_.inl_c_1998_28786,.inl_.inl_.inl_b_1972_2004_28791,.inl_.inl_.inl_.X2908_1971_2003_28790,.inl_.inl_b_1994_28785,.inl_.inl_c_1987_28775,.inl_.inl_.inl_b_1972_1993_28780,.inl_.inl_.inl_.X2908_1971_1992_28779,.inl_.inl_b_1983_28774,.inl_.inl_.X2892_1982_28769,.inl_.inl_c_1979_28768,.inl_c_28799,.inl_.inl_b_1978_28766,.inl_.inl_.X2908_1977_28765,.inl_b_28758,.inl_.X2891_28757,.inl_.X2892_28752,.inl_c_28760,.inl_.X2890_28748,.inl_a_28744,.inl_.inl_c_1998_28736,.inl_.inl_.inl_b_1972_2004_28741,.inl_.inl_.inl_.X2908_1971_2003_28740,.inl_.inl_b_1994_28735,.inl_.inl_c_1987_28725,.inl_.inl_.inl_b_1972_1993_28730,.inl_.inl_.inl_.X2908_1971_1992_28729,.inl_.inl_b_1983_28724,.inl_.inl_.X2892_1982_28719,.inl_.inl_c_1979_28718,.inl_c_28749,.inl_.inl_b_1978_28716,.inl_.inl_.X2908_1977_28715,.inl_b_28708,.inl_.X2891_28707,.inl_.X2892_28702,.inl_c_28710,.inl_.X2890_28698,.inl_a_28694,.inl_.inl_c_1998_28686,.inl_.inl_.inl_b_1972_2004_28691,.inl_.inl_.inl_.X2908_1971_2003_28690,.inl_.inl_b_1994_28685,.inl_.inl_c_1987_28675,.inl_.inl_.inl_b_1972_1993_28680,.inl_.inl_.inl_.X2908_1971_1992_28679,.inl_.inl_b_1983_28674,.inl_.inl_.X2892_1982_28669,.inl_.inl_c_1979_28668,.inl_c_28699,.inl_.inl_b_1978_28666,.inl_.inl_.X2908_1977_28665,.inl_b_28658,.inl_.X2891_28657,.inl_.X2892_28652,.inl_c_28660,.inl_.X2890_28648,.inl_a_28644,.inl_.inl_c_1998_28605,.inl_.inl_.inl_b_1972_2004_28610,.inl_.inl_.inl_.X2908_1971_2003_28609,.inl_.inl_b_1994_28604,.inl_.inl_c_1987_28594,.inl_.inl_.inl_b_1972_1993_28599,.inl_.inl_.inl_.X2908_1971_1992_28598,.inl_.inl_b_1983_28593,.inl_.inl_.X2892_1982_28588,.inl_.inl_c_1979_28587,.inl_c_28649,.inl_.inl_b_1978_28585,.inl_.inl_.X2908_1977_28584,.inl_b_28577,.inl_.X2891_28576,.inl_.X2892_28571,.inl_c_28579,.inl_.X2890_28567,.inl_a_28563,.inl_.inl_c_1998_28524,.inl_.inl_.inl_b_1972_2004_28529,.inl_.inl_.inl_.X2908_1971_2003_28528,.inl_.inl_b_1994_28523,.inl_.inl_c_1987_28513,.inl_.inl_.inl_b_1972_1993_28518,.inl_.inl_.inl_.X2908_1971_1992_28517,.inl_.inl_b_1983_28512,.inl_.inl_.X2892_1982_28507,.inl_.inl_c_1979_28506,.inl_c_28568,.inl_.inl_b_1978_28504,.inl_.inl_.X2908_1977_28503,.inl_b_28496,.inl_.X2891_28495,.inl_.X2892_28490,.inl_c_28498,.inl_.X2890_28486,.inl_a_28482,.inl_.inl_c_1998_28443,.inl_.inl_.inl_b_1972_2004_28448,.inl_.inl_.inl_.X2908_1971_2003_28447,.inl_.inl_b_1994_28442,.inl_.inl_c_1987_28432,.inl_.inl_.inl_b_1972_1993_28437,.inl_.inl_.inl_.X2908_1971_1992_28436,.inl_.inl_b_1983_28431,.inl_.inl_.X2892_1982_28426,.inl_.inl_c_1979_28425,.inl_c_28487,.inl_.inl_b_1978_28423,.inl_.inl_.X2908_1977_28422,.inl_b_28415,.inl_.X2891_28414,.inl_.X2892_28409,.inl_c_28417,.inl_.X2890_28405,.inl_a_28401,.inl_.inl_c_1998_28393,.inl_.inl_.inl_b_1972_2004_28398,.inl_.inl_.inl_.X2908_1971_2003_28397,.inl_.inl_b_1994_28392,.inl_.inl_c_1987_28382,.inl_.inl_.inl_b_1972_1993_28387,.inl_.inl_.inl_.X2908_1971_1992_28386,.inl_.inl_b_1983_28381,.inl_.inl_.X2892_1982_28376,.inl_.inl_c_1979_28375,.inl_c_28406,.inl_.inl_b_1978_28373,.inl_.inl_.X2908_1977_28372,.inl_b_28365,.inl_.X2891_28364,.inl_.X2892_28359,.inl_c_28367,.inl_.X2890_28355,.inl_a_28351,_particle_save,.inl_c_28860,.inl_.inl_c_1987_28875,.inl_.inl_.inl_b_1972_1993_28880,.inl_.inl_.inl_.X2908_1971_1992_28879,.inl_.inl_b_1983_28874,.inl_.inl_c_1979_28868,.inl_.inl_.inl_.X2908_1971_2003_28890,.inl_.inl_.X2908_1977_28865,.inl_.inl_b_1978_28866,.inl_.X2892_28852,.inl_.inl_b_1994_28885,.inl_c_28356,.inl_.inl_.inl_b_1972_2004_28891,.inl_.inl_.X2892_1982_28869,.inl_a_28844,.inl_.X2890_28848,.inl_.X2891_28857,.inl_b_28858,.inl_.inl_c_1998_28886
finally:
  25875, Generating update self(_Fluo_var,_sample_cradle_var,_src_var,_instrument_var,_PowG_var,_SDD_var,_E_mon_var,_FluoG_var,_FL_pow_var,_Origin_var,_Sph_mon_pow_var,_Sph_mon_flu_var,_SX_var,_E_mon_pow_var,_E_mon_flu_var,_Sph_mon_var,_Pow_var,_det_angle_var)
mcenabletrace:
   6074, Generating update device(mcdotrace)
/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/ld: /tmp/nvcWoC6cqpBzmL8b.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_FluoPowder/./Test_FluoPowder.c:10372:(.text+0x25fbf): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/ld: /tmp/nvcWoC6cqpBzmL8b.o: note: the message above does not take linker garbage collection into account
DEBUG: CMD: nvc finished
INFO: ===
