INFO: No output directory specified (--dir) INFO: Using directory: "Test_Single_crystal_inelastic_20250514_033113" INFO: Regenerating c-file: Test_Single_crystal_inelastic.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_Single_crystal_inelastic.c Test_Single_crystal_inelastic.instr Info: 'Single_crystal_inelastic' is a contributed component. Info: 'E_4PI' is a contributed component. CFLAGS= -DFUNNEL WARNING: The parameter mosaic_AB of sample 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component sample -> GPU kernel from component monitoE ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Test_Single_crystal_inelastic.out DEBUG: CMD: nvc -o ./Test_Single_crystal_inelastic.out ./Test_Single_crystal_inelastic.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/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -DFUNNEL "./Test_Single_crystal_inelastic.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 " "./Test_Single_crystal_inelastic.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 vx, double vy, double vz, ^ "./Test_Single_crystal_inelastic.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 mcneutron, double *x, double *y, double *z, ^ "./Test_Single_crystal_inelastic.c", line 109: 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_Single_crystal_inelastic.c", line 113: 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_Single_crystal_inelastic.c", line 141: 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_Single_crystal_inelastic.c", line 113: 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_Single_crystal_inelastic.c", line 170: 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_Single_crystal_inelastic.c", line 192: 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_Single_crystal_inelastic.c", line 203: 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_Single_crystal_inelastic.c", line 214: 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_Single_crystal_inelastic.c", line 224: 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_Single_crystal_inelastic.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_Single_crystal_inelastic.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_Single_crystal_inelastic.c", line 648: 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_Single_crystal_inelastic.c", line 869: 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_Single_crystal_inelastic.c", line 886: 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_Single_crystal_inelastic.c", line 888: 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_Single_crystal_inelastic.c", line 896: 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_Single_crystal_inelastic.c", line 898: 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_Single_crystal_inelastic.c", line 900: 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_Single_crystal_inelastic.c", line 902: 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_Single_crystal_inelastic.c", line 904: 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_Single_crystal_inelastic.c", line 1000: 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_Single_crystal_inelastic.c", line 1002: 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_Single_crystal_inelastic.c", line 1004: 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_Single_crystal_inelastic.c", line 1006: 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_Single_crystal_inelastic.c", line 1008: 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_Single_crystal_inelastic.c", line 1010: 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_Single_crystal_inelastic.c", line 1012: 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_Single_crystal_inelastic.c", line 1014: 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_Single_crystal_inelastic.c", line 1016: 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_Single_crystal_inelastic.c", line 4571: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Test_Single_crystal_inelastic.c", line 5026: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Test_Single_crystal_inelastic.c", line 4945: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Test_Single_crystal_inelastic.c", line 6272: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_Single_crystal_inelastic.c", line 7049: 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_Single_crystal_inelastic.c", line 7051: 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_Single_crystal_inelastic.c", line 7058: 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_Single_crystal_inelastic.c", line 7078: 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_Single_crystal_inelastic.c", line 7080: 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_Single_crystal_inelastic.c", line 7082: 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_Single_crystal_inelastic.c", line 8672: 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_Single_crystal_inelastic.c", line 8695: 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_Single_crystal_inelastic.c", line 8716: 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_Single_crystal_inelastic.c", line 8799: 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_Single_crystal_inelastic.c", line 8804: 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_Single_crystal_inelastic.c", line 8813: 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_Single_crystal_inelastic.c", line 8839: 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_Single_crystal_inelastic.c", line 8842: 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_Single_crystal_inelastic.c", line 8842: 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_Single_crystal_inelastic.c", line 8842: 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_Single_crystal_inelastic.c", line 8842: 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_Single_crystal_inelastic.c", line 8842: 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_Single_crystal_inelastic.c", line 8842: 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_Single_crystal_inelastic.c", line 8902: 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_Single_crystal_inelastic.c", line 9032: 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_Single_crystal_inelastic.c", line 9076: 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_Single_crystal_inelastic.c", line 9199: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_Single_crystal_inelastic.c", line 9313: 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_Single_crystal_inelastic.c", line 9325: 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_Single_crystal_inelastic.c", line 9360: 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_Single_crystal_inelastic.c", line 9612: 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_Single_crystal_inelastic.c", line 9618: 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_Single_crystal_inelastic.c", line 10129: warning: variable "lval" was declared but never referenced [declared_but_not_referenced] double piv, lval, rval; ^ "./Test_Single_crystal_inelastic.c", line 10129: warning: variable "rval" was declared but never referenced [declared_but_not_referenced] double piv, lval, rval; ^ "./Test_Single_crystal_inelastic.c", line 10166: warning: variable "index" was declared but never referenced [declared_but_not_referenced] FILE *index; ^ "./Test_Single_crystal_inelastic.c", line 10393: warning: variable "Emul" was declared but never referenced [declared_but_not_referenced] double h, k, l, Emax=0, Qmax=0, Emul, Qmul; ^ "./Test_Single_crystal_inelastic.c", line 10393: warning: variable "Qmul" was declared but never referenced [declared_but_not_referenced] double h, k, l, Emax=0, Qmax=0, Emul, Qmul; ^ "./Test_Single_crystal_inelastic.c", line 10432: warning: variable "hh" was declared but never referenced [declared_but_not_referenced] int isw=0, **SwQi, *SwQt, *nQ; double *Sw, hh, kk, ll, qx, qy, qz; //*CQ, **SqwCDF, **SwQ2; int iswQ=0, ^ "./Test_Single_crystal_inelastic.c", line 10432: warning: variable "kk" was declared but never referenced [declared_but_not_referenced] int isw=0, **SwQi, *SwQt, *nQ; double *Sw, hh, kk, ll, qx, qy, qz; //*CQ, **SqwCDF, **SwQ2; int iswQ=0, ^ "./Test_Single_crystal_inelastic.c", line 10432: warning: variable "ll" was declared but never referenced [declared_but_not_referenced] int isw=0, **SwQi, *SwQt, *nQ; double *Sw, hh, kk, ll, qx, qy, qz; //*CQ, **SqwCDF, **SwQ2; int iswQ=0, ^ "./Test_Single_crystal_inelastic.c", line 10432: warning: variable "qx" was declared but never referenced [declared_but_not_referenced] int isw=0, **SwQi, *SwQt, *nQ; double *Sw, hh, kk, ll, qx, qy, qz; //*CQ, **SqwCDF, **SwQ2; int iswQ=0, ^ "./Test_Single_crystal_inelastic.c", line 10432: warning: variable "qy" was declared but never referenced [declared_but_not_referenced] int isw=0, **SwQi, *SwQt, *nQ; double *Sw, hh, kk, ll, qx, qy, qz; //*CQ, **SqwCDF, **SwQ2; int iswQ=0, ^ "./Test_Single_crystal_inelastic.c", line 10432: warning: variable "qz" was declared but never referenced [declared_but_not_referenced] int isw=0, **SwQi, *SwQt, *nQ; double *Sw, hh, kk, ll, qx, qy, qz; //*CQ, **SqwCDF, **SwQ2; int iswQ=0, ^ "./Test_Single_crystal_inelastic.c", line 10769: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Single_crystal_inelastic.c", line 10757: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_Single_crystal_inelastic.c", line 10814: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_Single_crystal_inelastic.c", line 10934: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_Single_crystal_inelastic.c", line 11067: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_Single_crystal_inelastic.c", line 11584: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Single_crystal_inelastic.c", line 11584: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Single_crystal_inelastic.c", line 11584: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Test_Single_crystal_inelastic.c", line 11815: 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_Single_crystal_inelastic.c", line 11905: warning: Routine "class_Source_gen_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Source_gen_trace(_class_Source_gen *_comp ^ "./Test_Single_crystal_inelastic.c", line 12287: warning: statement is unreachable [code_is_unreachable] break; ^ "./Test_Single_crystal_inelastic.c", line 12301: warning: statement is unreachable [code_is_unreachable] break; ^ "./Test_Single_crystal_inelastic.c", line 12352: warning: statement is unreachable [code_is_unreachable] break; ^ "./Test_Single_crystal_inelastic.c", line 12394: warning: statement is unreachable [code_is_unreachable] break; ^ "./Test_Single_crystal_inelastic.c", line 12405: warning: statement is unreachable [code_is_unreachable] if (order && event_counter >= order) { intersect=0; break; } ^ "./Test_Single_crystal_inelastic.c", line 12158: warning: variable "L" was set but never used [set_but_not_used] struct hkl_data *L; /* Structure factor list */ ^ "./Test_Single_crystal_inelastic.c", line 12159: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i, i1, i2, i3; /* Index into structure factor list */ ^ "./Test_Single_crystal_inelastic.c", line 12159: warning: variable "i3" was declared but never referenced [declared_but_not_referenced] int i, i1, i2, i3; /* Index into structure factor list */ ^ "./Test_Single_crystal_inelastic.c", line 12165: warning: variable "tau_max" was declared but never referenced [declared_but_not_referenced] double tau_max; /* Max tau allowing reflection at this ki */ ^ "./Test_Single_crystal_inelastic.c", line 12166: warning: variable "tau_x" was declared but never referenced [declared_but_not_referenced] double tau_x, tau_y, tau_z; ^ "./Test_Single_crystal_inelastic.c", line 12166: warning: variable "tau_y" was declared but never referenced [declared_but_not_referenced] double tau_x, tau_y, tau_z; ^ "./Test_Single_crystal_inelastic.c", line 12166: warning: variable "tau_z" was declared but never referenced [declared_but_not_referenced] double tau_x, tau_y, tau_z; ^ "./Test_Single_crystal_inelastic.c", line 12167: warning: variable "tau" was declared but never referenced [declared_but_not_referenced] double tau; ^ "./Test_Single_crystal_inelastic.c", line 12168: 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_Single_crystal_inelastic.c", line 12168: 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_Single_crystal_inelastic.c", line 12168: 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_Single_crystal_inelastic.c", line 12169: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./Test_Single_crystal_inelastic.c", line 12170: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./Test_Single_crystal_inelastic.c", line 12171: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Single_crystal_inelastic.c", line 12171: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Single_crystal_inelastic.c", line 12171: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_Single_crystal_inelastic.c", line 12174: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Single_crystal_inelastic.c", line 12174: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Single_crystal_inelastic.c", line 12174: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_Single_crystal_inelastic.c", line 12175: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./Test_Single_crystal_inelastic.c", line 12176: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Single_crystal_inelastic.c", line 12176: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Single_crystal_inelastic.c", line 12176: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_Single_crystal_inelastic.c", line 12177: 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_Single_crystal_inelastic.c", line 12177: 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_Single_crystal_inelastic.c", line 12177: 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_Single_crystal_inelastic.c", line 12178: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./Test_Single_crystal_inelastic.c", line 12179: 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_Single_crystal_inelastic.c", line 12179: 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_Single_crystal_inelastic.c", line 12180: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_Single_crystal_inelastic.c", line 12180: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_Single_crystal_inelastic.c", line 12181: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./Test_Single_crystal_inelastic.c", line 12182: warning: variable "tau_count" was declared but never referenced [declared_but_not_referenced] int tau_count; /* Number of reflections within cutoff */ ^ "./Test_Single_crystal_inelastic.c", line 12184: warning: variable "l_full" was set but never used [set_but_not_used] double l_full; /* Neutron path length for transmission */ ^ "./Test_Single_crystal_inelastic.c", line 12185: warning: variable "l" was declared but never referenced [declared_but_not_referenced] double l; /* Path length to scattering event */ ^ "./Test_Single_crystal_inelastic.c", line 12188: warning: variable "coh_xsect" was declared but never referenced [declared_but_not_referenced] double coh_xsect, coh_xlen; /* Coherent cross section and length */ ^ "./Test_Single_crystal_inelastic.c", line 12188: warning: variable "coh_xlen" was declared but never referenced [declared_but_not_referenced] double coh_xsect, coh_xlen; /* Coherent cross section and length */ ^ "./Test_Single_crystal_inelastic.c", line 12189: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./Test_Single_crystal_inelastic.c", line 12189: warning: variable "tot_xlen" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./Test_Single_crystal_inelastic.c", line 12190: warning: variable "z1" was declared but never referenced [declared_but_not_referenced] double z1, z2, y1, y2; /* Temporaries to choose kf from 2D Gauss */ ^ "./Test_Single_crystal_inelastic.c", line 12190: warning: variable "z2" was declared but never referenced [declared_but_not_referenced] double z1, z2, y1, y2; /* Temporaries to choose kf from 2D Gauss */ ^ "./Test_Single_crystal_inelastic.c", line 12190: warning: variable "y1" was declared but never referenced [declared_but_not_referenced] double z1, z2, y1, y2; /* Temporaries to choose kf from 2D Gauss */ ^ "./Test_Single_crystal_inelastic.c", line 12190: warning: variable "y2" was declared but never referenced [declared_but_not_referenced] double z1, z2, y1, y2; /* Temporaries to choose kf from 2D Gauss */ ^ "./Test_Single_crystal_inelastic.c", line 12191: warning: variable "adjust" was declared but never referenced [declared_but_not_referenced] double adjust, coh_refl; /* Temporaries */ ^ "./Test_Single_crystal_inelastic.c", line 12191: warning: variable "coh_refl" was declared but never referenced [declared_but_not_referenced] double adjust, coh_refl; /* Temporaries */ ^ "./Test_Single_crystal_inelastic.c", line 12192: warning: variable "r" was declared but never referenced [declared_but_not_referenced] double r, sum; /* Temporaries */ ^ "./Test_Single_crystal_inelastic.c", line 12192: warning: variable "sum" was declared but never referenced [declared_but_not_referenced] double r, sum; /* Temporaries */ ^ "./Test_Single_crystal_inelastic.c", line 12193: warning: variable "xsect_factor" was declared but never referenced [declared_but_not_referenced] double xsect_factor; /* Common factor in coherent cross-section */ ^ "./Test_Single_crystal_inelastic.c", line 12194: warning: variable "p_trans" was declared but never referenced [declared_but_not_referenced] double p_trans; /* Transmission probability */ ^ "./Test_Single_crystal_inelastic.c", line 12195: warning: variable "mc_trans" was declared but never referenced [declared_but_not_referenced] double mc_trans, mc_interact; /* Transmission, interaction MC choices */ ^ "./Test_Single_crystal_inelastic.c", line 12195: warning: variable "mc_interact" was declared but never referenced [declared_but_not_referenced] double mc_trans, mc_interact; /* Transmission, interaction MC choices */ ^ "./Test_Single_crystal_inelastic.c", line 12197: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Test_Single_crystal_inelastic.c", line 12197: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Test_Single_crystal_inelastic.c", line 12200: warning: variable "qm0" was declared but never referenced [declared_but_not_referenced] double qm0, qm1; /* Boundaries of bins for linear interpolation */ ^ "./Test_Single_crystal_inelastic.c", line 12200: warning: variable "qm1" was declared but never referenced [declared_but_not_referenced] double qm0, qm1; /* Boundaries of bins for linear interpolation */ ^ "./Test_Single_crystal_inelastic.c", line 12201: warning: variable "q2" was declared but never referenced [declared_but_not_referenced] double q2, qmod; /* Momentum transfer squared and modulus */ ^ "./Test_Single_crystal_inelastic.c", line 12201: warning: variable "qmod" was declared but never referenced [declared_but_not_referenced] double q2, qmod; /* Momentum transfer squared and modulus */ ^ "./Test_Single_crystal_inelastic.c", line 12202: warning: variable "qminus" was declared but never referenced [declared_but_not_referenced] double qminus, qplus, qdiff; ^ "./Test_Single_crystal_inelastic.c", line 12202: warning: variable "qplus" was declared but never referenced [declared_but_not_referenced] double qminus, qplus, qdiff; ^ "./Test_Single_crystal_inelastic.c", line 12202: warning: variable "qdiff" was declared but never referenced [declared_but_not_referenced] double qminus, qplus, qdiff; ^ "./Test_Single_crystal_inelastic.c", line 12203: warning: variable "istart" was declared but never referenced [declared_but_not_referenced] int istart,istop; ^ "./Test_Single_crystal_inelastic.c", line 12203: warning: variable "istop" was declared but never referenced [declared_but_not_referenced] int istart,istop; ^ "./Test_Single_crystal_inelastic.c", line 12204: warning: variable "eslope" was declared but never referenced [declared_but_not_referenced] double eslope; ^ "./Test_Single_crystal_inelastic.c", line 12205: warning: variable "tau_dmin" was declared but never referenced [declared_but_not_referenced] double tau_dmin; ^ "./Test_Single_crystal_inelastic.c", line 12206: warning: variable "itau" was declared but never referenced [declared_but_not_referenced] int itau; ^ "./Test_Single_crystal_inelastic.c", line 12466: warning: Routine "class_E_4PI_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_E_4PI_trace(_class_E_4PI *_comp ^ "./Test_Single_crystal_inelastic.c", line 12480: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double t0, t1, phi, theta, E; ^ "./Test_Single_crystal_inelastic.c", line 12480: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double t0, t1, phi, theta, E; ^ "./Test_Single_crystal_inelastic.c", line 12481: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./Test_Single_crystal_inelastic.c", line 12481: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./Test_Single_crystal_inelastic.c", line 13866: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_Single_crystal_inelastic.c", line 13867: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_Single_crystal_inelastic.c", line 1508: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Single_crystal_inelastic.c", line 2928: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 102, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 116, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 148, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 172, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 194, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 205, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 214, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 224, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1556, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1560, Generating acc routine seq Generating NVIDIA GPU code str_len: 1569, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4192, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4634, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4643, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4655, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4667, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4677, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4687, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4695, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4705, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4727, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4734, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4780, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4815, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4826, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4843, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4854, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4870, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4899, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4910, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4914, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4949, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4956, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4965, #pragma acc loop seq 4949, Generating implicit copy(lens[:]) [if not already present] 4956, Generating implicit firstprivate(ll,l) 4967, Accelerator restriction: induction variable live-out from loop: i 4968, Accelerator restriction: induction variable live-out from loop: i 4969, Accelerator restriction: induction variable live-out from loop: i 4970, Accelerator restriction: induction variable live-out from loop: i 4972, Accelerator restriction: induction variable live-out from loop: j 4973, Accelerator restriction: induction variable live-out from loop: j 4974, Accelerator restriction: induction variable live-out from loop: j 4975, Accelerator restriction: induction variable live-out from loop: j 4997, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5001, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5004, #pragma acc loop seq 4997, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5004, Generating implicit firstprivate(l) 5021, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5025, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5032, #pragma acc loop seq 5021, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5091, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5122, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5139, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5238, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5322, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5388, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5465, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5737, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5749, Generating acc routine seq Generating NVIDIA GPU code _hash: 5781, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5822, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5833, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5838, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5846, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5854, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5861, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6541, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6578, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6638, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6655, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6770, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6825, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7848, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7916, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7995, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8463, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8479, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8497, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8545, Generating acc routine seq Generating NVIDIA GPU code off_F: 8799, Generating acc routine seq Generating NVIDIA GPU code off_sign: 8804, Generating acc routine seq Generating NVIDIA GPU code off_normal: 8814, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 8840, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 8903, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 9034, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 9079, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9196, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9314, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9326, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9361, Generating acc routine seq Generating NVIDIA GPU code Min_int: 9612, Generating acc routine seq Generating NVIDIA GPU code merge: 9619, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 9723, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 9738, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 9792, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 9909, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 9931, Generating acc routine seq Generating NVIDIA GPU code init: 11773, Generating update device(_source_var,_sample_var,_monitoE_var,_instrument_var,_a1_var) class_Progress_bar_trace: 11816, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 11906, Generating acc routine seq Generating NVIDIA GPU code class_E_4PI_trace: 12467, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 12764, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 12768, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 12764, Local memory used for .inl_particle_11171,.inl_.inl_mcneutron_0_11186,.inl_.X2004_11188,.inl_.inl_.X2207_15_11187 12768, Generating implicit firstprivate(seed,_particle) 12778, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 12783, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 12778, Local memory used for .inl_.inl_c_1921_11235,.inl_.inl_.inl_b_1895_1927_11240,.inl_.inl_.inl_.X2172_1894_1926_11239,.inl_.inl_b_1917_11234,.inl_.inl_c_1910_11224,.inl_.inl_.inl_b_1895_1916_11229,.inl_.inl_.inl_.X2172_1894_1915_11228,.inl_.inl_b_1906_11223,.inl_.inl_.X2156_1905_11218,.inl_.inl_c_1902_11217,.inl_c_11250,.inl_.inl_b_1901_11215,.inl_.inl_.X2172_1900_11214,.inl_b_11207,.inl_.X2155_11206,.inl_.X2156_11201,.inl_c_11209,.inl_.X2154_11197,.inl_a_11193,_particle_save,.inl_c_11261,.inl_.inl_c_1910_11276,.inl_.inl_.inl_b_1895_1916_11281,.inl_.inl_.inl_.X2172_1894_1915_11280,.inl_.inl_b_1906_11275,.inl_.inl_c_1902_11269,.inl_.inl_.inl_.X2172_1894_1926_11291,.inl_.inl_.X2172_1900_11266,.inl_.inl_b_1901_11267,.inl_.X2156_11253,.inl_.inl_b_1917_11286,.inl_c_11198,.inl_.inl_.inl_b_1895_1927_11292,.inl_.inl_.X2156_1905_11270,.inl_a_11245,.inl_.X2154_11249,.inl_.X2155_11258,.inl_b_11259,.inl_.inl_c_1921_11287 12840, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 12843, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 12840, Local memory used for .inl_.inl_.X2154_5292_11418,.inl_c_11361,.inl_.inl_b_1917_11386,.inl_.inl_.X2172_1900_11366,.inl_.X2156_11353,.inl_.inl_.inl_b_1895_1927_11392,_particle_save,.inl_mcLocG_11412,.inl_.inl_c_1910_11376,.inl_.inl_.inl_b_1895_1916_11381,.inl_.inl_.inl_.X2172_1894_1915_11380,.inl_.inl_b_1906_11375,.inl_.inl_c_1902_11369,.inl_.inl_.inl_.X2172_1894_1926_11391,.inl_.inl_.X2172_5297_11422,.inl_.inl_b_1901_11367,.inl_.inl_.X2155_5303_11431,.inl_.inl_b_5298_11423,.inl_c_11350,.inl_.inl_a_5288_11417,.inl_.inl_.X2156_1905_11370,.inl_a_11345,.inl_.X2154_11349,.inl_.X2155_11358,.inl_b_11359,.inl_.inl_c_1921_11387 finally: 13268, Generating update self(_sample_var,_source_var,_monitoE_var,_instrument_var,_a1_var) mcenabletrace: 5981, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===