INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H22_VIVALDI_20250514_010229" INFO: Regenerating c-file: ILL_H22_VIVALDI.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_H22_VIVALDI.c ILL_H22_VIVALDI.instr Info: 'Al_window' is a contributed component. ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Container_out: EXTEND %{ if (SCATTERED) flag_container++; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_container++; %} ----------------------------------------------------------- ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Environment_out: EXTEND %{ if (SCATTERED) flag_env++; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_env++; %} ----------------------------------------------------------- CFLAGS= WARNING: The parameter format of Environment_in 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 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: -> SPLIT N at component SamplePos ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component SamplePos ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./ILL_H22_VIVALDI.out DEBUG: CMD: nvc -o ./ILL_H22_VIVALDI.out ./ILL_H22_VIVALDI.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 "./ILL_H22_VIVALDI.c", line 92: 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 " "./ILL_H22_VIVALDI.c", line 94: 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, ^ "./ILL_H22_VIVALDI.c", line 97: 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, ^ "./ILL_H22_VIVALDI.c", line 113: 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); ^ "./ILL_H22_VIVALDI.c", line 117: 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); ^ "./ILL_H22_VIVALDI.c", line 148: 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); ^ "./ILL_H22_VIVALDI.c", line 117: 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); ^ "./ILL_H22_VIVALDI.c", line 180: 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*); ^ "./ILL_H22_VIVALDI.c", line 205: 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); ^ "./ILL_H22_VIVALDI.c", line 216: 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); ^ "./ILL_H22_VIVALDI.c", line 227: 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){ ^ "./ILL_H22_VIVALDI.c", line 240: 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){ ^ "./ILL_H22_VIVALDI.c", line 315: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./ILL_H22_VIVALDI.c", line 317: 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); ^ "./ILL_H22_VIVALDI.c", line 667: 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 */ ^ "./ILL_H22_VIVALDI.c", line 888: 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); ^ "./ILL_H22_VIVALDI.c", line 905: 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); ^ "./ILL_H22_VIVALDI.c", line 907: 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]); ^ "./ILL_H22_VIVALDI.c", line 915: 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); ^ "./ILL_H22_VIVALDI.c", line 917: 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); ^ "./ILL_H22_VIVALDI.c", line 919: 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); ^ "./ILL_H22_VIVALDI.c", line 921: 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); ^ "./ILL_H22_VIVALDI.c", line 923: 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); ^ "./ILL_H22_VIVALDI.c", line 1019: 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); ^ "./ILL_H22_VIVALDI.c", line 1021: 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); ^ "./ILL_H22_VIVALDI.c", line 1023: 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); ^ "./ILL_H22_VIVALDI.c", line 1025: 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); ^ "./ILL_H22_VIVALDI.c", line 1027: 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); ^ "./ILL_H22_VIVALDI.c", line 1029: 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); ^ "./ILL_H22_VIVALDI.c", line 1031: 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); ^ "./ILL_H22_VIVALDI.c", line 1033: 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); ^ "./ILL_H22_VIVALDI.c", line 1035: 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); ^ "./ILL_H22_VIVALDI.c", line 4590: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./ILL_H22_VIVALDI.c", line 6291: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./ILL_H22_VIVALDI.c", line 7073: 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 */ ^ "./ILL_H22_VIVALDI.c", line 7075: 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 */ ^ "./ILL_H22_VIVALDI.c", line 7082: 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 */ ^ "./ILL_H22_VIVALDI.c", line 7102: 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); ^ "./ILL_H22_VIVALDI.c", line 7104: 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); ^ "./ILL_H22_VIVALDI.c", line 7106: 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, ^ "./ILL_H22_VIVALDI.c", line 9281: 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); ^ "./ILL_H22_VIVALDI.c", line 11367: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H22_VIVALDI.c", line 11367: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H22_VIVALDI.c", line 11394: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H22_VIVALDI.c", line 11394: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H22_VIVALDI.c", line 11555: 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, ^ "./ILL_H22_VIVALDI.c", line 11578: 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, ^ "./ILL_H22_VIVALDI.c", line 11599: 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, ^ "./ILL_H22_VIVALDI.c", line 11682: 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) { ^ "./ILL_H22_VIVALDI.c", line 11687: 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) { ^ "./ILL_H22_VIVALDI.c", line 11696: 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) ^ "./ILL_H22_VIVALDI.c", line 11722: 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) ^ "./ILL_H22_VIVALDI.c", line 11725: 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; ^ "./ILL_H22_VIVALDI.c", line 11725: 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; ^ "./ILL_H22_VIVALDI.c", line 11725: 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; ^ "./ILL_H22_VIVALDI.c", line 11725: 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; ^ "./ILL_H22_VIVALDI.c", line 11725: 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; ^ "./ILL_H22_VIVALDI.c", line 11725: 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; ^ "./ILL_H22_VIVALDI.c", line 11785: 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) ^ "./ILL_H22_VIVALDI.c", line 11915: 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, ^ "./ILL_H22_VIVALDI.c", line 11959: 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, ^ "./ILL_H22_VIVALDI.c", line 12082: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_H22_VIVALDI.c", line 12196: 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) ^ "./ILL_H22_VIVALDI.c", line 12208: 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) ^ "./ILL_H22_VIVALDI.c", line 12243: 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) ^ "./ILL_H22_VIVALDI.c", line 12495: 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) { ^ "./ILL_H22_VIVALDI.c", line 12501: 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) ^ "./ILL_H22_VIVALDI.c", line 13947: warning: Routine "SX_list_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int SX_list_compare (void const *a, void const *b) ^ "./ILL_H22_VIVALDI.c", line 14470: warning: Routine "hkl_search" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_search(struct hkl_data *L, void *TT, int count, double V0, ^ "./ILL_H22_VIVALDI.c", line 14483: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal=-1; ^ "./ILL_H22_VIVALDI.c", line 14484: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./ILL_H22_VIVALDI.c", line 14484: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./ILL_H22_VIVALDI.c", line 14585: warning: Routine "hkl_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_select(struct tau_data *T, int tau_count, double coh_refl, double *sum,_class_particle *_particle) { ^ "./ILL_H22_VIVALDI.c", line 14600: warning: Routine "randrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randrotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./ILL_H22_VIVALDI.c", line 14608: warning: Routine "randderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randderotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./ILL_H22_VIVALDI.c", line 14616: warning: Routine "PGrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void PGrotate(double *nx, double *ny, double *nz, double a, double csx, double csy, double csz) { ^ "./ILL_H22_VIVALDI.c", line 14624: warning: Routine "PGderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void PGderotate(double *nx, double *ny, double *nz, double a, double csx, double csy, double csz) { ^ "./ILL_H22_VIVALDI.c", line 14635: warning: Routine "vec_rotate_2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void vec_rotate_2d(double* x, double* y, double angle) { ^ "./ILL_H22_VIVALDI.c", line 15474: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H22_VIVALDI.c", line 15462: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_H22_VIVALDI.c", line 15519: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_H22_VIVALDI.c", line 15639: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_H22_VIVALDI.c", line 15761: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_H22_VIVALDI.c", line 15883: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_H22_VIVALDI.c", line 16005: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_H22_VIVALDI.c", line 16054: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_H22_VIVALDI.c", line 16106: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_H22_VIVALDI.c", line 16228: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_H22_VIVALDI.c", line 16350: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_H22_VIVALDI.c", line 16472: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_H22_VIVALDI.c", line 16594: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_H22_VIVALDI.c", line 16716: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_H22_VIVALDI.c", line 16838: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_H22_VIVALDI.c", line 16960: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_H22_VIVALDI.c", line 17012: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_H22_VIVALDI.c", line 17061: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_H22_VIVALDI.c", line 17113: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_H22_VIVALDI.c", line 17235: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_H22_VIVALDI.c", line 17357: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./ILL_H22_VIVALDI.c", line 17479: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./ILL_H22_VIVALDI.c", line 17601: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./ILL_H22_VIVALDI.c", line 17723: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./ILL_H22_VIVALDI.c", line 17845: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./ILL_H22_VIVALDI.c", line 17967: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./ILL_H22_VIVALDI.c", line 18089: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./ILL_H22_VIVALDI.c", line 18211: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./ILL_H22_VIVALDI.c", line 18333: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./ILL_H22_VIVALDI.c", line 18455: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./ILL_H22_VIVALDI.c", line 18577: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./ILL_H22_VIVALDI.c", line 18699: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./ILL_H22_VIVALDI.c", line 18821: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./ILL_H22_VIVALDI.c", line 18943: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./ILL_H22_VIVALDI.c", line 18995: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 34; ^ "./ILL_H22_VIVALDI.c", line 19044: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 35; ^ "./ILL_H22_VIVALDI.c", line 19096: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 36; ^ "./ILL_H22_VIVALDI.c", line 19218: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 37; ^ "./ILL_H22_VIVALDI.c", line 19340: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 38; ^ "./ILL_H22_VIVALDI.c", line 19462: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 39; ^ "./ILL_H22_VIVALDI.c", line 19584: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 40; ^ "./ILL_H22_VIVALDI.c", line 19706: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 41; ^ "./ILL_H22_VIVALDI.c", line 19758: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 42; ^ "./ILL_H22_VIVALDI.c", line 19807: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 43; ^ "./ILL_H22_VIVALDI.c", line 19859: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 44; ^ "./ILL_H22_VIVALDI.c", line 19981: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 45; ^ "./ILL_H22_VIVALDI.c", line 20103: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 46; ^ "./ILL_H22_VIVALDI.c", line 20225: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 47; ^ "./ILL_H22_VIVALDI.c", line 20347: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 48; ^ "./ILL_H22_VIVALDI.c", line 20469: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 49; ^ "./ILL_H22_VIVALDI.c", line 20591: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 50; ^ "./ILL_H22_VIVALDI.c", line 20713: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 51; ^ "./ILL_H22_VIVALDI.c", line 20835: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 52; ^ "./ILL_H22_VIVALDI.c", line 20957: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 53; ^ "./ILL_H22_VIVALDI.c", line 21079: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 54; ^ "./ILL_H22_VIVALDI.c", line 21201: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 55; ^ "./ILL_H22_VIVALDI.c", line 21323: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 56; ^ "./ILL_H22_VIVALDI.c", line 21445: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 57; ^ "./ILL_H22_VIVALDI.c", line 21567: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 58; ^ "./ILL_H22_VIVALDI.c", line 21689: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 59; ^ "./ILL_H22_VIVALDI.c", line 21811: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 60; ^ "./ILL_H22_VIVALDI.c", line 21933: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 61; ^ "./ILL_H22_VIVALDI.c", line 22055: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 62; ^ "./ILL_H22_VIVALDI.c", line 22177: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 63; ^ "./ILL_H22_VIVALDI.c", line 22299: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 64; ^ "./ILL_H22_VIVALDI.c", line 22421: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 65; ^ "./ILL_H22_VIVALDI.c", line 22543: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 66; ^ "./ILL_H22_VIVALDI.c", line 22665: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 67; ^ "./ILL_H22_VIVALDI.c", line 22787: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 68; ^ "./ILL_H22_VIVALDI.c", line 22909: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 69; ^ "./ILL_H22_VIVALDI.c", line 23031: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 70; ^ "./ILL_H22_VIVALDI.c", line 23153: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 71; ^ "./ILL_H22_VIVALDI.c", line 23275: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 72; ^ "./ILL_H22_VIVALDI.c", line 23397: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 73; ^ "./ILL_H22_VIVALDI.c", line 23519: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 74; ^ "./ILL_H22_VIVALDI.c", line 23641: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 75; ^ "./ILL_H22_VIVALDI.c", line 23763: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 76; ^ "./ILL_H22_VIVALDI.c", line 23885: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 77; ^ "./ILL_H22_VIVALDI.c", line 24007: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 78; ^ "./ILL_H22_VIVALDI.c", line 24129: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 79; ^ "./ILL_H22_VIVALDI.c", line 24251: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 80; ^ "./ILL_H22_VIVALDI.c", line 24373: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 81; ^ "./ILL_H22_VIVALDI.c", line 24495: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 82; ^ "./ILL_H22_VIVALDI.c", line 24617: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 83; ^ "./ILL_H22_VIVALDI.c", line 24739: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 84; ^ "./ILL_H22_VIVALDI.c", line 24861: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 85; ^ "./ILL_H22_VIVALDI.c", line 24983: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 86; ^ "./ILL_H22_VIVALDI.c", line 25105: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 87; ^ "./ILL_H22_VIVALDI.c", line 25227: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 88; ^ "./ILL_H22_VIVALDI.c", line 25349: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 89; ^ "./ILL_H22_VIVALDI.c", line 25471: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 90; ^ "./ILL_H22_VIVALDI.c", line 25593: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 91; ^ "./ILL_H22_VIVALDI.c", line 25715: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 92; ^ "./ILL_H22_VIVALDI.c", line 25837: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 93; ^ "./ILL_H22_VIVALDI.c", line 25959: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 94; ^ "./ILL_H22_VIVALDI.c", line 26081: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 95; ^ "./ILL_H22_VIVALDI.c", line 26203: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 96; ^ "./ILL_H22_VIVALDI.c", line 26325: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 97; ^ "./ILL_H22_VIVALDI.c", line 26447: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 98; ^ "./ILL_H22_VIVALDI.c", line 26569: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 99; ^ "./ILL_H22_VIVALDI.c", line 26691: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 100; ^ "./ILL_H22_VIVALDI.c", line 26813: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 101; ^ "./ILL_H22_VIVALDI.c", line 26935: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 102; ^ "./ILL_H22_VIVALDI.c", line 27057: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 103; ^ "./ILL_H22_VIVALDI.c", line 27109: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 104; ^ "./ILL_H22_VIVALDI.c", line 27158: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 105; ^ "./ILL_H22_VIVALDI.c", line 27284: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 106; ^ "./ILL_H22_VIVALDI.c", line 27410: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 107; ^ "./ILL_H22_VIVALDI.c", line 27536: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 108; ^ "./ILL_H22_VIVALDI.c", line 27662: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 109; ^ "./ILL_H22_VIVALDI.c", line 27788: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 110; ^ "./ILL_H22_VIVALDI.c", line 27910: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 111; ^ "./ILL_H22_VIVALDI.c", line 28036: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 112; ^ "./ILL_H22_VIVALDI.c", line 28158: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 113; ^ "./ILL_H22_VIVALDI.c", line 28207: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 114; ^ "./ILL_H22_VIVALDI.c", line 28328: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 115; ^ "./ILL_H22_VIVALDI.c", line 28449: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 116; ^ "./ILL_H22_VIVALDI.c", line 28582: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 117; ^ "./ILL_H22_VIVALDI.c", line 28703: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 118; ^ "./ILL_H22_VIVALDI.c", line 28824: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 119; ^ "./ILL_H22_VIVALDI.c", line 30027: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./ILL_H22_VIVALDI.c", line 30027: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./ILL_H22_VIVALDI.c", line 30027: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./ILL_H22_VIVALDI.c", line 30028: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./ILL_H22_VIVALDI.c", line 30732: 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 ^ "./ILL_H22_VIVALDI.c", line 30822: 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 ^ "./ILL_H22_VIVALDI.c", line 31031: warning: Routine "class_Guide_gravity_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Guide_gravity_trace(_class_Guide_gravity *_comp ^ "./ILL_H22_VIVALDI.c", line 31301: warning: Routine "class_Arm_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Arm_trace(_class_Arm *_comp ^ "./ILL_H22_VIVALDI.c", line 31335: warning: Routine "class_Al_window_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Al_window_trace(_class_Al_window *_comp ^ "./ILL_H22_VIVALDI.c", line 31344: warning: variable "Al_my_tot" was set but never used [set_but_not_used] double Al_s_tot_lambda,Al_my_tot,Al_my_a ; /* total XS (barn), total scattering length (m-1), absorption scat. length */ ^ "./ILL_H22_VIVALDI.c", line 31383: 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 ^ "./ILL_H22_VIVALDI.c", line 31673: 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 ^ "./ILL_H22_VIVALDI.c", line 31722: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./ILL_H22_VIVALDI.c", line 31723: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./ILL_H22_VIVALDI.c", line 31726: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./ILL_H22_VIVALDI.c", line 31729: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./ILL_H22_VIVALDI.c", line 31733: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./ILL_H22_VIVALDI.c", line 31734: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./ILL_H22_VIVALDI.c", line 31735: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./ILL_H22_VIVALDI.c", line 31736: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./ILL_H22_VIVALDI.c", line 31737: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./ILL_H22_VIVALDI.c", line 32152: 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 ^ "./ILL_H22_VIVALDI.c", line 32211: warning: variable "rho_x" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./ILL_H22_VIVALDI.c", line 32211: warning: variable "rho_y" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./ILL_H22_VIVALDI.c", line 32211: warning: variable "rho_z" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./ILL_H22_VIVALDI.c", line 32212: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./ILL_H22_VIVALDI.c", line 32213: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./ILL_H22_VIVALDI.c", line 32214: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 32214: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 32214: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 32215: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 32215: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 32215: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 32216: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 32216: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 32216: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 32217: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./ILL_H22_VIVALDI.c", line 32217: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./ILL_H22_VIVALDI.c", line 32217: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./ILL_H22_VIVALDI.c", line 32218: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./ILL_H22_VIVALDI.c", line 32219: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./ILL_H22_VIVALDI.c", line 32219: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./ILL_H22_VIVALDI.c", line 32219: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./ILL_H22_VIVALDI.c", line 32220: warning: variable "l11" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./ILL_H22_VIVALDI.c", line 32220: warning: variable "l12" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./ILL_H22_VIVALDI.c", line 32220: warning: variable "l22" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./ILL_H22_VIVALDI.c", line 32221: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./ILL_H22_VIVALDI.c", line 32222: 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 */ ^ "./ILL_H22_VIVALDI.c", line 32222: 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 */ ^ "./ILL_H22_VIVALDI.c", line 32223: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./ILL_H22_VIVALDI.c", line 32223: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./ILL_H22_VIVALDI.c", line 32224: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./ILL_H22_VIVALDI.c", line 32231: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./ILL_H22_VIVALDI.c", line 32238: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./ILL_H22_VIVALDI.c", line 32238: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./ILL_H22_VIVALDI.c", line 32247: 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 */ ^ "./ILL_H22_VIVALDI.c", line 32721: warning: Routine "raytrace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int raytrace(_class_particle* _particle) { /* single event propagation, called by mccode_main for ILL_H22_VIVALDI:TRACE */ ^ "./ILL_H22_VIVALDI.c", line 39655: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_H22_VIVALDI.c", line 39656: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_H22_VIVALDI.c", line 1527: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H22_VIVALDI.c", line 2947: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 106, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 120, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 155, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 182, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 207, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 218, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 227, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 240, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1575, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1579, Generating acc routine seq Generating NVIDIA GPU code str_len: 1588, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4211, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4642, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4653, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4662, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4674, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4686, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4696, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4706, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4714, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4724, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4746, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4753, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4799, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4834, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4845, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4862, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4873, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4889, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4918, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4929, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4933, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5110, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5141, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5158, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5257, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5341, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5407, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5484, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5756, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5768, Generating acc routine seq Generating NVIDIA GPU code _hash: 5800, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5841, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5852, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5857, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5865, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5873, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5880, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6560, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6597, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6657, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6674, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6789, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6844, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7872, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7940, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8019, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8487, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8503, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8521, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8569, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 8673, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 8732, Generating acc routine seq Generating NVIDIA GPU code Gravity_guide_Trace: 8998, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 10357, Generating acc routine seq Generating NVIDIA GPU code off_F: 11682, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11687, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11697, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11723, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11786, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11917, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11962, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 12079, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12197, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12209, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12244, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12495, Generating acc routine seq Generating NVIDIA GPU code merge: 12502, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12606, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 12621, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12675, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12792, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12814, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 13322, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 13948, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 14473, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 14585, Generating acc routine seq Generating NVIDIA GPU code randrotate: 14600, Generating acc routine seq Generating NVIDIA GPU code randderotate: 14608, Generating acc routine seq Generating NVIDIA GPU code PGrotate: 14616, Generating acc routine seq Generating NVIDIA GPU code PGderotate: 14624, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 14635, Generating acc routine seq Generating NVIDIA GPU code init: 30690, Generating update device(_LeadShutter_var,_Sample_var,_PinkCarterSM_var,_PSD_Vivaldi_var,_H22_8_var,_H22_3_Out_var,_H22_3_7_var,_GuideOut_xy_var,_H22_3_1_var,_H22_3_2_var,_H22_3_3_var,_H22_3_4_var,_H22_3_5_var,_H22_3_6_var,_H22_3_In_var,_H22_4_Out_var,_H22_4_9_var,_H22_4_15_var,_H22_4_1_var,_H22_4_2_var,_H22_4_3_var,_H22_4_4_var,_H22_4_5_var,_H22_4_6_var,_H22_4_7_var,_H22_4_8_var,_H22_3_var,_H22_4_10_var,_H22_4_11_var,_H22_4_12_var,_H22_4_13_var,_H22_4_14_var,_H22_4_In_var,_H22_5_Out_var,_H22_5_5_var,_H22_4_var,_H22_5_1_var,_H22_5_2_var,_H22_5_3_var,_H22_5_4_var,_H22_5_In_var,_H22_6_Out_var,_H22_6_1_var,_H22_6_1_99_var,_H22_6_1_102_var,_H22_6_1_45_var,_H22_6_1_46_var,_H22_6_1_47_var,_H22_6_1_48_var,_H22_6_1_49_var,_H22_6_1_50_var,_H22_6_1_51_var,_H22_6_1_52_var,_H22_6_1_53_var,_H22_6_1_54_var,_H22_6_1_55_var,_H22_6_1_56_var,_H22_6_1_57_var,_H22_6_1_58_var,_H22_6_1_59_var,_H22_6_1_60_var,_H22_6_1_61_var,_H22_6_1_62_var,_H22_6_1_63_var,_H22_6_1_64_var,_H22_6_1_65_var,_H22_6_1_66_var,_H22_6_1_67_var,_H22_6_1_68_var,_H22_6_1_69_var,_H22_6_1_70_var,_H22_6_1_71_var,_H22_6_1_72_var,_H22_6_1_73_var,_H22_6_1_74_var,_H22_6_1_75_var,_H22_6_1_76_var,_H22_6_1_77_var,_H22_6_1_78_var,_H22_6_1_79_var,_H22_6_1_80_var,_H22_6_1_81_var,_H22_6_1_82_var,_H22_6_1_83_var,_H22_6_1_84_var,_H22_6_1_85_var,_H22_6_1_86_var,_H22_6_1_87_var,_H22_6_1_88_var,_H22_6_1_89_var,_H22_6_1_90_var,_H22_6_1_91_var,_H22_6_1_92_var,_H22_6_1_93_var,_H22_6_1_94_var,_H22_6_1_95_var,_H22_6_1_96_var,_H22_6_1_97_var,_H22_6_1_98_var,_H22_5_var,_H22_6_1_100_var,_H22_6_1_101_var,_H22_6_In_var,_GuideOut_dxdy_var,_GuideOut_var,_GuideOut_Phic_var,_GuideOut_L_var,_Environment_out_var,_Container_out_var,_H22_6_var,_PinkCarter_var,_H22_7_var,_SALSA_Mono_Dx_var,_D2B_Mono_Dx_var,_SamplePos_var,_Container_in_var,_Environment_in_var,_Origin_var,_instrument_var,_Thermal_var) class_Progress_bar_trace: 30733, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 30823, Generating acc routine seq Generating NVIDIA GPU code class_Guide_gravity_trace: 31032, Generating acc routine seq Generating NVIDIA GPU code 31165, Reference argument passing prevents parallelization: dt class_Arm_trace: 31302, Generating acc routine seq Generating NVIDIA GPU code class_Al_window_trace: 31336, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 31384, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 31674, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 32153, Generating acc routine seq Generating NVIDIA GPU code raytrace: 32721, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 35213, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 35227, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 35213, Local memory used for .inl_particle_48519,particleN,.inl_.inl_mcneutron_0_48534,.inl_.X2396_48536,.inl_.inl_.X2605_15_48535 35227, Generating implicit firstprivate(seed,_particle) finally: 38011, Generating update self(_LeadShutter_var,_Sample_var,_PinkCarterSM_var,_PSD_Vivaldi_var,_H22_8_var,_H22_3_Out_var,_H22_3_7_var,_GuideOut_xy_var,_H22_3_1_var,_H22_3_2_var,_H22_3_3_var,_H22_3_4_var,_H22_3_5_var,_H22_3_6_var,_H22_3_In_var,_H22_4_Out_var,_H22_4_9_var,_H22_4_15_var,_H22_4_1_var,_H22_4_2_var,_H22_4_3_var,_H22_4_4_var,_H22_4_5_var,_H22_4_6_var,_H22_4_7_var,_H22_4_8_var,_H22_3_var,_H22_4_10_var,_H22_4_11_var,_H22_4_12_var,_H22_4_13_var,_H22_4_14_var,_H22_4_In_var,_H22_5_Out_var,_H22_5_5_var,_H22_4_var,_H22_5_1_var,_H22_5_2_var,_H22_5_3_var,_H22_5_4_var,_H22_5_In_var,_H22_6_Out_var,_H22_6_1_var,_H22_6_1_99_var,_H22_6_1_102_var,_H22_6_1_45_var,_H22_6_1_46_var,_H22_6_1_47_var,_H22_6_1_48_var,_H22_6_1_49_var,_H22_6_1_50_var,_H22_6_1_51_var,_H22_6_1_52_var,_H22_6_1_53_var,_H22_6_1_54_var,_H22_6_1_55_var,_H22_6_1_56_var,_H22_6_1_57_var,_H22_6_1_58_var,_H22_6_1_59_var,_H22_6_1_60_var,_H22_6_1_61_var,_H22_6_1_62_var,_H22_6_1_63_var,_H22_6_1_64_var,_H22_6_1_65_var,_H22_6_1_66_var,_H22_6_1_67_var,_H22_6_1_68_var,_H22_6_1_69_var,_H22_6_1_70_var,_H22_6_1_71_var,_H22_6_1_72_var,_H22_6_1_73_var,_H22_6_1_74_var,_H22_6_1_75_var,_H22_6_1_76_var,_H22_6_1_77_var,_H22_6_1_78_var,_H22_6_1_79_var,_H22_6_1_80_var,_H22_6_1_81_var,_H22_6_1_82_var,_H22_6_1_83_var,_H22_6_1_84_var,_H22_6_1_85_var,_H22_6_1_86_var,_H22_6_1_87_var,_H22_6_1_88_var,_H22_6_1_89_var,_H22_6_1_90_var,_H22_6_1_91_var,_H22_6_1_92_var,_H22_6_1_93_var,_H22_6_1_94_var,_H22_6_1_95_var,_H22_6_1_96_var,_H22_6_1_97_var,_H22_6_1_98_var,_H22_5_var,_H22_6_1_100_var,_H22_6_1_101_var,_H22_6_In_var,_GuideOut_dxdy_var,_GuideOut_var,_GuideOut_Phic_var,_GuideOut_L_var,_Environment_out_var,_Container_out_var,_H22_6_var,_PinkCarter_var,_H22_7_var,_SALSA_Mono_Dx_var,_D2B_Mono_Dx_var,_SamplePos_var,_Container_in_var,_Environment_in_var,_Origin_var,_instrument_var,_Thermal_var) mcenabletrace: 6000, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcR82RebBfDMMKf.o: in function `cif2hkl': /u/data/pkwi/TESTS/2025-05-14/McStas_8GPU_openacc_1e7_Linux_1e7/ILL_H22_VIVALDI/./ILL_H22_VIVALDI.c:13044: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===