INFO: No output directory specified (--dir)
INFO: Using directory: "Test_Absorption_20260707_212558"
INFO: Regenerating c-file: Test_Absorption.c
DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/mcxtrace -t -o ./Test_Absorption.c Test_Absorption.instr
CFLAGS=  @XRLFLAGS@ -DUSE_OFF  -DFUNNEL 
                  
-----------------------------------------------------------

Generating single GPU kernel or single CPU section layout: 

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

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

-----------------------------------------------------------
DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-dev/bin/mcxtrace finished
INFO: Recompiling: ./Test_Absorption.out
DEBUG: CMD: nvc -o ./Test_Absorption.out ./Test_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.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_Absorption.c", line 4188: warning: variable "exists" was set but never used [set_but_not_used]
      int exists=0;
          ^

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

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

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

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

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

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

"./Test_Absorption.c", line 7246: 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_Absorption.c", line 7248: 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_Absorption.c", line 7255: 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_Absorption.c", line 7275: 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_Absorption.c", line 7277: 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_Absorption.c", line 7279: 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_Absorption.c", line 8839: 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_Absorption.c", line 8862: 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_Absorption.c", line 8883: 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_Absorption.c", line 8970: 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_Absorption.c", line 8975: 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_Absorption.c", line 8984: 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_Absorption.c", line 9010: 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_Absorption.c", line 9013: 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_Absorption.c", line 9013: 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_Absorption.c", line 9013: 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_Absorption.c", line 9013: 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_Absorption.c", line 9013: 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_Absorption.c", line 9013: 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_Absorption.c", line 9073: 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_Absorption.c", line 9203: 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_Absorption.c", line 9247: 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_Absorption.c", line 9368: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced]
    double plane_Eq [4];
           ^

"./Test_Absorption.c", line 9480: 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_Absorption.c", line 9492: 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_Absorption.c", line 9527: 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_Absorption.c", line 9783: 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_Absorption.c", line 9789: 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_Absorption.c", line 9854: 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_Absorption.c", line 10241: warning: Routine "filter_refract" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
    filter_refract (double* kx, double* ky, double* kz, double nx, double ny, double nz, double delta0, double delta1) {
    ^

"./Test_Absorption.c", line 10301: warning: Routine "abs_object_refract" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
    abs_object_refract (double* kx, double* ky, double* kz, double nx, double ny, double nz, double delta0, double delta1) {
    ^

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

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

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

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

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

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

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

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

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

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

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

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

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

"./Test_Absorption.c", line 12533: warning: variable "i" was declared but never referenced [declared_but_not_referenced]
    int i;
        ^

"./Test_Absorption.c", line 12591: warning: variable "i" was declared but never referenced [declared_but_not_referenced]
    int i, j;
        ^

"./Test_Absorption.c", line 12591: warning: variable "j" was declared but never referenced [declared_but_not_referenced]
    int i, j;
           ^

"./Test_Absorption.c", line 12592: warning: variable "p1" was declared but never referenced [declared_but_not_referenced]
    double *p1, *p2, *p3;
            ^

"./Test_Absorption.c", line 12592: warning: variable "p2" was declared but never referenced [declared_but_not_referenced]
    double *p1, *p2, *p3;
                 ^

"./Test_Absorption.c", line 12592: warning: variable "p3" was declared but never referenced [declared_but_not_referenced]
    double *p1, *p2, *p3;
                      ^

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

"./Test_Absorption.c", line 12756: 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_Absorption.c", line 12836: 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_Absorption.c", line 12975: warning: Routine "class_Filter_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type]
  void class_Filter_trace(_class_Filter *_comp
       ^

"./Test_Absorption.c", line 13061: warning: expression has no effect [expr_has_no_effect]
          1;
          ^

"./Test_Absorption.c", line 13121: warning: expression has no effect [expr_has_no_effect]
          1;
          ^

"./Test_Absorption.c", line 12999: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced]
    double alpha, e, k, mu, mu0, delta, beta, f;
           ^

"./Test_Absorption.c", line 12999: warning: variable "mu" was declared but never referenced [declared_but_not_referenced]
    double alpha, e, k, mu, mu0, delta, beta, f;
                        ^

"./Test_Absorption.c", line 12999: warning: variable "beta" was set but never used [set_but_not_used]
    double alpha, e, k, mu, mu0, delta, beta, f;
                                        ^

"./Test_Absorption.c", line 13001: warning: variable "i" was declared but never referenced [declared_but_not_referenced]
    int i, status = 0;
        ^

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

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

"./Test_Absorption.c", line 13328: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced]
    double alpha, e, k, kx_vac, ky_vac, kz_vac, mu, mu0, delta, beta, f;
           ^

"./Test_Absorption.c", line 13328: warning: variable "mu" was declared but never referenced [declared_but_not_referenced]
    double alpha, e, k, kx_vac, ky_vac, kz_vac, mu, mu0, delta, beta, f;
                                                ^

"./Test_Absorption.c", line 13328: warning: variable "delta" was declared but never referenced [declared_but_not_referenced]
    double alpha, e, k, kx_vac, ky_vac, kz_vac, mu, mu0, delta, beta, f;
                                                         ^

"./Test_Absorption.c", line 13328: warning: variable "beta" was declared but never referenced [declared_but_not_referenced]
    double alpha, e, k, kx_vac, ky_vac, kz_vac, mu, mu0, delta, beta, f;
                                                                ^

"./Test_Absorption.c", line 13328: warning: variable "f" was declared but never referenced [declared_but_not_referenced]
    double alpha, e, k, kx_vac, ky_vac, kz_vac, mu, mu0, delta, beta, f;
                                                                      ^

"./Test_Absorption.c", line 13329: warning: variable "nx" was declared but never referenced [declared_but_not_referenced]
    double l0, l1, nx, ny, nz;
                   ^

"./Test_Absorption.c", line 13329: warning: variable "ny" was declared but never referenced [declared_but_not_referenced]
    double l0, l1, nx, ny, nz;
                       ^

"./Test_Absorption.c", line 13329: warning: variable "nz" was declared but never referenced [declared_but_not_referenced]
    double l0, l1, nx, ny, nz;
                           ^

"./Test_Absorption.c", line 13331: warning: variable "m" was declared but never referenced [declared_but_not_referenced]
    int i = 1, j, m, status = 0, exit = 0;
                  ^

"./Test_Absorption.c", line 13331: warning: variable "exit" was declared but never referenced [declared_but_not_referenced]
    int i = 1, j, m, status = 0, exit = 0;
                                 ^

"./Test_Absorption.c", line 13332: warning: variable "intersect" was declared but never referenced [declared_but_not_referenced]
    int intersect = 0, entry_exit = 0;
        ^

"./Test_Absorption.c", line 13332: warning: variable "entry_exit" was declared but never referenced [declared_but_not_referenced]
    int intersect = 0, entry_exit = 0;
                       ^

"./Test_Absorption.c", line 13333: warning: variable "lmin" was declared but never referenced [declared_but_not_referenced]
    double lmin;
           ^

"./Test_Absorption.c", line 13334: warning: variable "idx" was declared but never referenced [declared_but_not_referenced]
    int idx;
        ^

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

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

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

"./Test_Absorption.c", line 14127: warning: variable "k" was declared but never referenced [declared_but_not_referenced]
    int i, j, k;
              ^

"./Test_Absorption.c", line 14128: warning: variable "e" was declared but never referenced [declared_but_not_referenced]
    double e, p2;
           ^

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

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

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

"./Test_Absorption.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:
   8056, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Value:
   8124, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Value2d:
   8203, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Interp1d:
   8671, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Interp1d_nearest:
   8687, Generating acc routine seq
         Generating NVIDIA GPU code
Table_Interp2d:
   8705, Generating acc routine seq
         Generating NVIDIA GPU code
off_F:
   8970, Generating acc routine seq
         Generating NVIDIA GPU code
off_sign:
   8975, Generating acc routine seq
         Generating NVIDIA GPU code
off_normal:
   8985, Generating acc routine seq
         Generating NVIDIA GPU code
off_pnpoly:
   9011, Generating acc routine seq
         Generating NVIDIA GPU code
off_intersectPoly:
   9074, Generating acc routine seq
         Generating NVIDIA GPU code
off_init_planes:
   9205, Generating acc routine seq
         Generating NVIDIA GPU code
off_clip_3D_mod:
   9250, Generating acc routine seq
         Generating NVIDIA GPU code
off_clip_3D_mod_grav:
   9365, Generating acc routine seq
         Generating NVIDIA GPU code
off_compare:
   9481, Generating acc routine seq
         Generating NVIDIA GPU code
off_cleanDouble:
   9493, Generating acc routine seq
         Generating NVIDIA GPU code
off_cleanInOut:
   9528, Generating acc routine seq
         Generating NVIDIA GPU code
Min_int:
   9783, Generating acc routine seq
         Generating NVIDIA GPU code
merge:
   9790, Generating acc routine seq
         Generating NVIDIA GPU code
         CUDA global memory used for L,R
gpusort:
   9855, Generating acc routine seq
         Generating NVIDIA GPU code
p_to_quadratic:
   9898, Generating implicit acc routine seq
         Generating implicit acc routine seq
         Generating NVIDIA GPU code
quadraticSolve:
   9913, Generating implicit acc routine seq
         Generating implicit acc routine seq
         Generating NVIDIA GPU code
off_intersect_all:
   9967, Generating acc routine seq
         Generating NVIDIA GPU code
off_intersect:
  10084, Generating acc routine seq
         Generating NVIDIA GPU code
off_x_intersect:
  10106, Generating acc routine seq
         Generating NVIDIA GPU code
filter_refract:
  10241, Generating acc routine seq
         Generating NVIDIA GPU code
abs_object_refract:
  10301, Generating acc routine seq
         Generating NVIDIA GPU code
init:
  12715, Generating update device(_source1_var,_sample_scan4_var,_psd_var,_sample_mount_point_var,_sample_scan1_var,_sample_scan2_var,_sample_scan3_var,_Origin_var,_instrument_var,_emon_var)
class_Progress_bar_trace:
  12757, Generating acc routine seq
         Generating NVIDIA GPU code
class_Source_flat_trace:
  12837, Generating acc routine seq
         Generating NVIDIA GPU code
class_Filter_trace:
  12976, Generating acc routine seq
         Generating NVIDIA GPU code
class_Absorption_sample_trace:
  13172, Generating acc routine seq
         Generating NVIDIA GPU code
class_Abs_objects_trace:
  13305, Generating acc routine seq
         Generating NVIDIA GPU code
class_E_monitor_trace:
  14034, Generating acc routine seq
         Generating NVIDIA GPU code
class_PSD_monitor_trace:
  14107, Generating acc routine seq
         Generating NVIDIA GPU code
raytrace_all_funnel:
  14534, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      14538, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  14538, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount)
  14547, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      14552, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  14547, Local memory used for .inl_.inl_c_1992_16345,.inl_.inl_.inl_b_1966_1998_16350,.inl_.inl_.inl_.X2457_1965_1997_16349,.inl_.inl_b_1988_16344,.inl_.inl_c_1981_16334,.inl_.inl_.inl_b_1966_1987_16339,.inl_.inl_.inl_.X2457_1965_1986_16338,.inl_.inl_b_1977_16333,.inl_.inl_.X2441_1976_16328,.inl_.inl_c_1973_16327,.inl_c_16358,.inl_.inl_b_1972_16325,.inl_.inl_.X2457_1971_16324,.inl_b_16317,.inl_.X2440_16316,.inl_.X2441_16311,.inl_c_16319,.inl_.X2439_16307,.inl_a_16303,.inl_.inl_c_1992_16295,.inl_.inl_.inl_b_1966_1998_16300,.inl_.inl_.inl_.X2457_1965_1997_16299,.inl_.inl_b_1988_16294,.inl_.inl_c_1981_16284,.inl_.inl_.inl_b_1966_1987_16289,.inl_.inl_.inl_.X2457_1965_1986_16288,.inl_.inl_b_1977_16283,.inl_.inl_.X2441_1976_16278,.inl_.inl_c_1973_16277,.inl_c_16308,.inl_.inl_b_1972_16275,.inl_.inl_.X2457_1971_16274,.inl_b_16267,.inl_.X2440_16266,.inl_.X2441_16261,.inl_c_16269,.inl_.X2439_16257,.inl_a_16253,.inl_.inl_c_1992_16245,.inl_.inl_.inl_b_1966_1998_16250,.inl_.inl_.inl_.X2457_1965_1997_16249,.inl_.inl_b_1988_16244,.inl_.inl_c_1981_16234,.inl_.inl_.inl_b_1966_1987_16239,.inl_.inl_.inl_.X2457_1965_1986_16238,.inl_.inl_b_1977_16233,.inl_.inl_.X2441_1976_16228,.inl_.inl_c_1973_16227,.inl_c_16258,.inl_.inl_b_1972_16225,.inl_.inl_.X2457_1971_16224,.inl_b_16217,.inl_.X2440_16216,.inl_.X2441_16211,.inl_c_16219,.inl_.X2439_16207,.inl_a_16203,.inl_.inl_c_1992_16193,.inl_.inl_.inl_b_1966_1998_16198,.inl_.inl_.inl_.X2457_1965_1997_16197,.inl_.inl_b_1988_16192,.inl_.inl_c_1981_16182,.inl_.inl_.inl_b_1966_1987_16187,.inl_.inl_.inl_.X2457_1965_1986_16186,.inl_.inl_b_1977_16181,.inl_.inl_.X2441_1976_16176,.inl_.inl_c_1973_16175,.inl_c_16208,.inl_.inl_b_1972_16173,.inl_.inl_.X2457_1971_16172,.inl_b_16165,.inl_.X2440_16164,.inl_.X2441_16159,.inl_c_16167,.inl_.X2439_16155,.inl_a_16151,_particle_save,.inl_c_16369,.inl_.inl_c_1981_16384,.inl_.inl_.inl_b_1966_1987_16389,.inl_.inl_.inl_.X2457_1965_1986_16388,.inl_.inl_b_1977_16383,.inl_.inl_c_1973_16377,.inl_.inl_.inl_.X2457_1965_1997_16399,.inl_.inl_.X2457_1971_16374,.inl_.inl_b_1972_16375,.inl_.X2441_16361,.inl_.inl_b_1988_16394,.inl_c_16156,.inl_.inl_.inl_b_1966_1998_16400,.inl_.inl_.X2441_1976_16378,.inl_a_16353,.inl_.X2439_16357,.inl_.X2440_16366,.inl_b_16367,.inl_.inl_c_1992_16395
  14663, Generating present(particles[:livebatchsize])
         Generating implicit firstprivate(livebatchsize)
         Generating NVIDIA GPU code
      14666, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */
  14663, Local memory used for .inl_.inl_c_1992_16495,.inl_.inl_.inl_b_1966_1998_16500,.inl_.inl_.inl_.X2457_1965_1997_16499,.inl_.inl_b_1988_16494,.inl_.inl_c_1981_16484,.inl_.inl_.inl_b_1966_1987_16489,.inl_.inl_.inl_.X2457_1965_1986_16488,.inl_.inl_b_1977_16483,.inl_.inl_.X2441_1976_16478,.inl_.inl_c_1973_16477,.inl_c_16529,.inl_.inl_b_1972_16475,.inl_.inl_.X2457_1971_16474,.inl_b_16467,.inl_.X2440_16466,.inl_.X2441_16461,.inl_c_16469,.inl_.X2439_16457,.inl_a_16453,_particle_save,.inl_c_16540,.inl_.inl_c_1981_16555,.inl_.inl_.inl_b_1966_1987_16560,.inl_.inl_.inl_.X2457_1965_1986_16559,.inl_.inl_b_1977_16554,.inl_.inl_c_1973_16548,.inl_.inl_.inl_.X2457_1965_1997_16570,.inl_.inl_.X2457_1971_16545,.inl_.inl_b_1972_16546,.inl_.X2441_16532,.inl_.inl_b_1988_16565,.inl_c_16458,.inl_.inl_.inl_b_1966_1998_16571,.inl_.inl_.X2441_1976_16549,.inl_a_16524,.inl_.X2439_16528,.inl_.X2440_16537,.inl_b_16538,.inl_.inl_c_1992_16566
finally:
  15270, Generating update self(_sample_scan4_var,_source1_var,_psd_var,_sample_mount_point_var,_sample_scan1_var,_sample_scan2_var,_sample_scan3_var,_Origin_var,_instrument_var,_emon_var)
mcenabletrace:
   6067, Generating update device(mcdotrace)
DEBUG: CMD: nvc finished
INFO: ===
