INFO: No output directory specified (--dir) INFO: Using directory: "SNS_BASIS_20251212_024608" INFO: Regenerating c-file: SNS_BASIS.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./SNS_BASIS.c SNS_BASIS.instr Warning: 'ESS_moderator_short' is an obsolete component (not maintained). Info: 'Guide_m' is a contributed component. Info: 'Spherical_Backscattering_Analyser' is a contributed component. CFLAGS= WARNING: The parameter powder_format 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: ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./SNS_BASIS.out DEBUG: CMD: nvc -o ./SNS_BASIS.out ./SNS_BASIS.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 -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC "./SNS_BASIS.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 " "./SNS_BASIS.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, ^ "./SNS_BASIS.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, ^ "./SNS_BASIS.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); ^ "./SNS_BASIS.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); ^ "./SNS_BASIS.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); ^ "./SNS_BASIS.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); ^ "./SNS_BASIS.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*); ^ "./SNS_BASIS.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); ^ "./SNS_BASIS.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); ^ "./SNS_BASIS.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){ ^ "./SNS_BASIS.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){ ^ "./SNS_BASIS.c", line 291: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./SNS_BASIS.c", line 293: 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); ^ "./SNS_BASIS.c", line 644: 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 */ ^ "./SNS_BASIS.c", line 865: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./SNS_BASIS.c", line 882: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./SNS_BASIS.c", line 884: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./SNS_BASIS.c", line 892: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./SNS_BASIS.c", line 894: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./SNS_BASIS.c", line 896: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./SNS_BASIS.c", line 898: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./SNS_BASIS.c", line 900: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./SNS_BASIS.c", line 996: 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); ^ "./SNS_BASIS.c", line 998: 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); ^ "./SNS_BASIS.c", line 1000: 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); ^ "./SNS_BASIS.c", line 1002: 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); ^ "./SNS_BASIS.c", line 1004: 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); ^ "./SNS_BASIS.c", line 1006: 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); ^ "./SNS_BASIS.c", line 1008: 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); ^ "./SNS_BASIS.c", line 1010: 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); ^ "./SNS_BASIS.c", line 1012: 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); ^ "./SNS_BASIS.c", line 4627: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SNS_BASIS.c", line 6328: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SNS_BASIS.c", line 7217: 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); ^ "./SNS_BASIS.c", line 9303: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./SNS_BASIS.c", line 9303: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./SNS_BASIS.c", line 9330: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./SNS_BASIS.c", line 9330: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./SNS_BASIS.c", line 9487: 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 */ ^ "./SNS_BASIS.c", line 9489: 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 */ ^ "./SNS_BASIS.c", line 9496: 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 */ ^ "./SNS_BASIS.c", line 9516: 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); ^ "./SNS_BASIS.c", line 9518: 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); ^ "./SNS_BASIS.c", line 9520: 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, ^ "./SNS_BASIS.c", line 11077: 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, ^ "./SNS_BASIS.c", line 11100: 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, ^ "./SNS_BASIS.c", line 11121: 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, ^ "./SNS_BASIS.c", line 11208: 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) { ^ "./SNS_BASIS.c", line 11213: 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) { ^ "./SNS_BASIS.c", line 11222: 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) ^ "./SNS_BASIS.c", line 11248: 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) ^ "./SNS_BASIS.c", line 11251: 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; ^ "./SNS_BASIS.c", line 11251: 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; ^ "./SNS_BASIS.c", line 11251: 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; ^ "./SNS_BASIS.c", line 11251: 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; ^ "./SNS_BASIS.c", line 11251: 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; ^ "./SNS_BASIS.c", line 11251: 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; ^ "./SNS_BASIS.c", line 11311: 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) ^ "./SNS_BASIS.c", line 11441: 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, ^ "./SNS_BASIS.c", line 11485: 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, ^ "./SNS_BASIS.c", line 11606: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SNS_BASIS.c", line 11718: 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) ^ "./SNS_BASIS.c", line 11730: 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) ^ "./SNS_BASIS.c", line 11765: 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) ^ "./SNS_BASIS.c", line 12021: 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) { ^ "./SNS_BASIS.c", line 12027: 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) ^ "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./SNS_BASIS.c", line 13602: warning: variable "n" was declared but never referenced [declared_but_not_referenced] double n; ^ "./SNS_BASIS.c", line 13581: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] double w_c = 0; ^ "./SNS_BASIS.c", line 13582: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] double w_l = 0; ^ "./SNS_BASIS.c", line 13493: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./SNS_BASIS.c", line 13493: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./SNS_BASIS.c", line 15832: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SNS_BASIS.c", line 15820: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SNS_BASIS.c", line 15877: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SNS_BASIS.c", line 15968: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SNS_BASIS.c", line 16048: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SNS_BASIS.c", line 16126: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SNS_BASIS.c", line 16204: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SNS_BASIS.c", line 16280: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SNS_BASIS.c", line 16358: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SNS_BASIS.c", line 16484: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SNS_BASIS.c", line 16610: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SNS_BASIS.c", line 16683: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SNS_BASIS.c", line 16732: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SNS_BASIS.c", line 16810: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SNS_BASIS.c", line 16888: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SNS_BASIS.c", line 16937: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SNS_BASIS.c", line 17059: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SNS_BASIS.c", line 17181: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SNS_BASIS.c", line 17303: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SNS_BASIS.c", line 17425: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SNS_BASIS.c", line 17547: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SNS_BASIS.c", line 17669: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SNS_BASIS.c", line 17791: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SNS_BASIS.c", line 17913: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SNS_BASIS.c", line 17962: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SNS_BASIS.c", line 18040: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SNS_BASIS.c", line 18116: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SNS_BASIS.c", line 18194: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SNS_BASIS.c", line 18270: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SNS_BASIS.c", line 18319: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./SNS_BASIS.c", line 18441: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./SNS_BASIS.c", line 18563: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./SNS_BASIS.c", line 18685: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./SNS_BASIS.c", line 18807: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./SNS_BASIS.c", line 18929: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 34; ^ "./SNS_BASIS.c", line 19051: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 35; ^ "./SNS_BASIS.c", line 19173: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 36; ^ "./SNS_BASIS.c", line 19295: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 37; ^ "./SNS_BASIS.c", line 19417: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 38; ^ "./SNS_BASIS.c", line 19539: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 39; ^ "./SNS_BASIS.c", line 19661: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 40; ^ "./SNS_BASIS.c", line 19710: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 41; ^ "./SNS_BASIS.c", line 19788: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 42; ^ "./SNS_BASIS.c", line 19864: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 43; ^ "./SNS_BASIS.c", line 19944: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 44; ^ "./SNS_BASIS.c", line 20024: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 45; ^ "./SNS_BASIS.c", line 20101: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 46; ^ "./SNS_BASIS.c", line 20181: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 47; ^ "./SNS_BASIS.c", line 20261: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 48; ^ "./SNS_BASIS.c", line 20339: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 49; ^ "./SNS_BASIS.c", line 20415: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 50; ^ "./SNS_BASIS.c", line 20464: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 51; ^ "./SNS_BASIS.c", line 20586: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 52; ^ "./SNS_BASIS.c", line 20708: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 53; ^ "./SNS_BASIS.c", line 20830: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 54; ^ "./SNS_BASIS.c", line 20952: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 55; ^ "./SNS_BASIS.c", line 21074: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 56; ^ "./SNS_BASIS.c", line 21196: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 57; ^ "./SNS_BASIS.c", line 21318: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 58; ^ "./SNS_BASIS.c", line 21440: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 59; ^ "./SNS_BASIS.c", line 21489: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 60; ^ "./SNS_BASIS.c", line 21567: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 61; ^ "./SNS_BASIS.c", line 21643: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 62; ^ "./SNS_BASIS.c", line 21723: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 63; ^ "./SNS_BASIS.c", line 21803: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 64; ^ "./SNS_BASIS.c", line 21880: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 65; ^ "./SNS_BASIS.c", line 21960: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 66; ^ "./SNS_BASIS.c", line 22040: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 67; ^ "./SNS_BASIS.c", line 22118: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 68; ^ "./SNS_BASIS.c", line 22194: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 69; ^ "./SNS_BASIS.c", line 22243: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 70; ^ "./SNS_BASIS.c", line 22365: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 71; ^ "./SNS_BASIS.c", line 22487: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 72; ^ "./SNS_BASIS.c", line 22609: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 73; ^ "./SNS_BASIS.c", line 22731: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 74; ^ "./SNS_BASIS.c", line 22853: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 75; ^ "./SNS_BASIS.c", line 22975: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 76; ^ "./SNS_BASIS.c", line 23097: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 77; ^ "./SNS_BASIS.c", line 23219: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 78; ^ "./SNS_BASIS.c", line 23341: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 79; ^ "./SNS_BASIS.c", line 23463: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 80; ^ "./SNS_BASIS.c", line 23585: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 81; ^ "./SNS_BASIS.c", line 23665: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 82; ^ "./SNS_BASIS.c", line 23745: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 83; ^ "./SNS_BASIS.c", line 23823: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 84; ^ "./SNS_BASIS.c", line 23896: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 85; ^ "./SNS_BASIS.c", line 23945: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 86; ^ "./SNS_BASIS.c", line 24025: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 87; ^ "./SNS_BASIS.c", line 24105: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 88; ^ "./SNS_BASIS.c", line 24183: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 89; ^ "./SNS_BASIS.c", line 24259: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 90; ^ "./SNS_BASIS.c", line 24336: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 91; ^ "./SNS_BASIS.c", line 24416: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 92; ^ "./SNS_BASIS.c", line 24496: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 93; ^ "./SNS_BASIS.c", line 24574: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 94; ^ "./SNS_BASIS.c", line 24650: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 95; ^ "./SNS_BASIS.c", line 24699: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 96; ^ "./SNS_BASIS.c", line 24772: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 97; ^ "./SNS_BASIS.c", line 24850: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 98; ^ "./SNS_BASIS.c", line 24926: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 99; ^ "./SNS_BASIS.c", line 24999: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 100; ^ "./SNS_BASIS.c", line 25079: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 101; ^ "./SNS_BASIS.c", line 25159: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 102; ^ "./SNS_BASIS.c", line 25237: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 103; ^ "./SNS_BASIS.c", line 25313: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 104; ^ "./SNS_BASIS.c", line 25416: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 105; ^ "./SNS_BASIS.c", line 25492: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 106; ^ "./SNS_BASIS.c", line 25595: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 107; ^ "./SNS_BASIS.c", line 25671: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 108; ^ "./SNS_BASIS.c", line 25774: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 109; ^ "./SNS_BASIS.c", line 25850: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 110; ^ "./SNS_BASIS.c", line 25953: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 111; ^ "./SNS_BASIS.c", line 26029: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 112; ^ "./SNS_BASIS.c", line 26109: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 113; ^ "./SNS_BASIS.c", line 26189: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 114; ^ "./SNS_BASIS.c", line 26267: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 115; ^ "./SNS_BASIS.c", line 26393: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 116; ^ "./SNS_BASIS.c", line 26519: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 117; ^ "./SNS_BASIS.c", line 26595: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 118; ^ "./SNS_BASIS.c", line 26644: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 119; ^ "./SNS_BASIS.c", line 26720: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 120; ^ "./SNS_BASIS.c", line 26840: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 121; ^ "./SNS_BASIS.c", line 26889: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 122; ^ "./SNS_BASIS.c", line 26938: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 123; ^ "./SNS_BASIS.c", line 26987: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 124; ^ "./SNS_BASIS.c", line 27067: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 125; ^ "./SNS_BASIS.c", line 27147: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 126; ^ "./SNS_BASIS.c", line 27225: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 127; ^ "./SNS_BASIS.c", line 27303: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 128; ^ "./SNS_BASIS.c", line 27381: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 129; ^ "./SNS_BASIS.c", line 27459: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 130; ^ "./SNS_BASIS.c", line 27508: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 131; ^ "./SNS_BASIS.c", line 27557: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 132; ^ "./SNS_BASIS.c", line 27606: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 133; ^ "./SNS_BASIS.c", line 27683: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 134; ^ "./SNS_BASIS.c", line 27760: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 135; ^ "./SNS_BASIS.c", line 27837: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 136; ^ "./SNS_BASIS.c", line 27886: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 137; ^ "./SNS_BASIS.c", line 27964: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 138; ^ "./SNS_BASIS.c", line 28042: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 139; ^ "./SNS_BASIS.c", line 28120: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 140; ^ "./SNS_BASIS.c", line 28198: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 141; ^ "./SNS_BASIS.c", line 28278: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 142; ^ "./SNS_BASIS.c", line 28358: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 143; ^ "./SNS_BASIS.c", line 28438: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 144; ^ "./SNS_BASIS.c", line 28564: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 145; ^ "./SNS_BASIS.c", line 30584: warning: incompatible redefinition of macro "exit" (declared at line 623) [bad_macro_redef] #define exit(...) noprintf() ^ "./SNS_BASIS.c", line 30596: 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 ^ "./SNS_BASIS.c", line 30686: warning: Routine "class_ESS_moderator_short_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_ESS_moderator_short_trace(_class_ESS_moderator_short *_comp ^ "./SNS_BASIS.c", line 30714: warning: variable "E" was declared but never referenced [declared_but_not_referenced] double v,tau_l,E,lambda,k,r,xf,yf,dx,dy,w_focus; ^ "./SNS_BASIS.c", line 30840: warning: Routine "class_TOF_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_TOF_monitor_trace(_class_TOF_monitor *_comp ^ "./SNS_BASIS.c", line 30921: warning: Routine "class_L_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_L_monitor_trace(_class_L_monitor *_comp ^ "./SNS_BASIS.c", line 30994: warning: Routine "class_E_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_E_monitor_trace(_class_E_monitor *_comp ^ "./SNS_BASIS.c", line 31081: warning: Routine "class_PSD_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PSD_monitor_trace(_class_PSD_monitor *_comp ^ "./SNS_BASIS.c", line 31152: 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 ^ "./SNS_BASIS.c", line 31442: warning: Routine "class_Guide_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Guide_trace(_class_Guide *_comp ^ "./SNS_BASIS.c", line 31595: 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 ^ "./SNS_BASIS.c", line 31865: warning: Routine "class_DiskChopper_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_DiskChopper_trace(_class_DiskChopper *_comp ^ "./SNS_BASIS.c", line 31955: warning: Routine "class_Guide_m_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Guide_m_trace(_class_Guide_m *_comp ^ "./SNS_BASIS.c", line 32171: warning: Routine "class_Isotropic_Sqw_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Isotropic_Sqw_trace(_class_Isotropic_Sqw *_comp ^ "./SNS_BASIS.c", line 32243: warning: variable "ti" was set but never used [set_but_not_used] double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./SNS_BASIS.c", line 32244: warning: variable "tf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./SNS_BASIS.c", line 32244: warning: variable "kf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./SNS_BASIS.c", line 32802: warning: Routine "class_Spherical_Backscattering_Analyser_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Spherical_Backscattering_Analyser_trace(_class_Spherical_Backscattering_Analyser *_comp ^ "./SNS_BASIS.c", line 32826: warning: variable "old_x" was set but never used [set_but_not_used] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32826: warning: variable "old_y" was set but never used [set_but_not_used] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32826: warning: variable "old_z" was set but never used [set_but_not_used] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32826: warning: variable "old_t" was set but never used [set_but_not_used] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32826: warning: variable "x0" was declared but never referenced [declared_but_not_referenced] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32826: warning: variable "y0" was declared but never referenced [declared_but_not_referenced] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32826: warning: variable "z0" was declared but never referenced [declared_but_not_referenced] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32826: warning: variable "xi" was declared but never referenced [declared_but_not_referenced] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32826: warning: variable "yi" was declared but never referenced [declared_but_not_referenced] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32826: warning: variable "zi" was declared but never referenced [declared_but_not_referenced] double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 32828: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double nx, ny, nz, nmod, v; ^ "./SNS_BASIS.c", line 32829: warning: variable "ydarwin" was declared but never referenced [declared_but_not_referenced] double kproj, ydarwin, dkz, p_reflect; ^ "./SNS_BASIS.c", line 32829: warning: variable "dkz" was declared but never referenced [declared_but_not_referenced] double kproj, ydarwin, dkz, p_reflect; ^ "./SNS_BASIS.c", line 32965: 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 SNS_BASIS:TRACE */ ^ "./SNS_BASIS.c", line 40368: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j,N; ^ "./SNS_BASIS.c", line 40372: warning: variable "dd" was declared but never referenced [declared_but_not_referenced] double dx,dy,dd; ^ "./SNS_BASIS.c", line 41262: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SNS_BASIS.c", line 41263: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SNS_BASIS.c", line 1504: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SNS_BASIS.c", line 2973: 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: 1552, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1556, Generating acc routine seq Generating NVIDIA GPU code str_len: 1565, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4245, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4679, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4690, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4699, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4711, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4723, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4733, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4743, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4751, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4761, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4783, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4790, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4836, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4871, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4882, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4899, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4910, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4926, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4955, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4966, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4970, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5147, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5178, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5195, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5294, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5378, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5444, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5521, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5793, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5805, Generating acc routine seq Generating NVIDIA GPU code _hash: 5837, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5878, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5889, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5894, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5902, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5910, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5917, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6597, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6637, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6697, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6714, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6829, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6884, Generating acc routine seq Generating NVIDIA GPU code Mezei_M_fct: 7013, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8293, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10297, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10365, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10444, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10912, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10928, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10946, Generating acc routine seq Generating NVIDIA GPU code off_F: 11208, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11213, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11223, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11249, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11312, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11443, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11488, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11603, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11719, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11731, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11766, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12021, Generating acc routine seq Generating NVIDIA GPU code merge: 12028, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R p_to_quadratic: 12136, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 12151, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12205, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12322, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12344, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 12570, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 12629, Generating acc routine seq Generating NVIDIA GPU code Gravity_guide_Trace: 12898, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_SW: 13383, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_Q_proba_per_w: 13420, Generating acc routine seq Generating NVIDIA GPU code Sqw_integrate_iqSq: 13456, Generating acc routine seq Generating NVIDIA GPU code init: 29937, Generating update device(Omega2,Omega3,Omega1) 30554, Generating update device(_Guide_end_divy_var,_Source_Lam_var,_tofSTART_var,_instrument_var,_Source_En_var,_Shutter_Guide_Insert_var,_Gap0_end_divy_var,_Funnel_4_var,_Gap0_end_Lam_var,_Gap0_end_divx_var,_Chopper3_var,_Gap1_start_Lam_var,_Gap1_end_var,_Gap0_start_var,_Gap1_end_Lam_var,_Shutter_Guide_Insert_short_var,_Sample_var,_Shutter_Guide_Insert_16_var,_Shutter_Guide_Insert_17_var,_Shutter_Guide_Insert_18_var,_Shutter_Guide_Insert_19_var,_Shutter_Guide_Insert_20_var,_Shutter_Guide_Insert_21_var,_Gap2_start_PSD_var,_Gap2_end_var,_Gap2_start_Lam_var,_Gap1_start_var,_Gap2_end_Lam_var,_Gap2_end_PSD_var,_Curved_Guide_Section_I_short_var,_Curved_Guide_Section_II_var,_Curved_Guide_Section_I_30_var,_Curved_Guide_Section_I_31_var,_Curved_Guide_Section_I_32_var,_Curved_Guide_Section_I_33_var,_Curved_Guide_Section_I_34_var,_Curved_Guide_Section_I_35_var,_Curved_Guide_Section_I_36_var,_Curved_Guide_Section_I_37_var,_Curved_Guide_Section_I_38_var,_Gap3_start_Lam_var,_Gap3_end_var,_ArmForDet1_var,_before_Chopper1_ToF_Z_var,_TOFcyl_var,_Chopper1_ToF_var,_Chopper1_ToF_Z_var,_CGS3_end_ToF_var,_Gap2_start_var,_Gap3_end_Lam_var,_Gap3_end_PSD_var,_Curved_Guide_Section_II_last_var,_Curved_Guide_Section_III_var,_Curved_Guide_Section_II_52_var,_Curved_Guide_Section_II_53_var,_Curved_Guide_Section_II_54_var,_Curved_Guide_Section_II_55_var,_Curved_Guide_Section_II_56_var,_Curved_Guide_Section_II_57_var,_Gap4_start_PSD_var,_Gap4_end_var,_Gap4_start_Lam_var,_before_Chopper2_ToF_Z_var,_before_Chopper1_ToF_var,_Chopper2_ToF_var,_Chopper2_ToF_Z_var,_Chopper1_var,_Gap3_start_var,_Gap4_end_Lam_var,_Gap4_end_PSD_var,_Curved_Guide_Section_III_short_var,_Core_Vessel_Section_var,_Curved_Guide_Section_III_71_var,_Curved_Guide_Section_III_72_var,_Curved_Guide_Section_III_73_var,_Curved_Guide_Section_III_74_var,_Curved_Guide_Section_III_75_var,_Curved_Guide_Section_III_76_var,_Curved_Guide_Section_III_77_var,_Curved_Guide_Section_III_78_var,_Curved_Guide_Section_III_79_var,_CGS3_end_ToF_Z_var,_CGS3_end_Lam_var,_CGS1_end_var,_Straight_Guide_Section_II_var,_Gap5_start_ToF_var,_Gap5_start_ToF_Z_var,_Gap5_start_PSD_var,_Gap5_end_var,_Gap5_start_Lam_var,_Chopper3_ToF_var,_Chopper3_ToF_Z_var,_Chopper2_var,_Gap4_start_var,_Gap5_end_Lam_var,_Gap5_end_PSD_var,_Straight_Guide_Section_III_var,_SG3_end_ToF_var,_SGS2_end_Lam_var,_Source_var,_SG3_end_ToF_Z_var,_SG3_end_PSD_var,_PSDcyl_var,_SG3_end_Lam_var,_Det1_ToF_variable_range_var,_Origin_var,_Funnel_1_var,_PSD_post_funnel1_var,_Funnel_2_var,_PSD_post_funnel2_var,_Funnel_3_var,_PSD_post_funnel3_var,_Guide_End_ToF_Z_var,_Gap5_start_var,_Guide_End_ToF_var,_Guide_end_PSD_var,_Guide_end_divx_var,_Guide_end_Lam_var,_SamplePos_var,_SGS2_end_PSD_var,_Sample_split_var,_An1_rot_axis2_var,_An2_rot_axis2_var,_An3_rot_axis2_var,_An1_Lam_variable_range_var,_An1_ToF_var,_An1_E_variable_range_var,_An1_Lam_var,_An1_E_var,_An1_ToF_variable_range_var,_An1_var,_An2_var,_An1_rot_axis_var,_An2_rot_axis_var,_An3_rot_axis_var,_An3_var,_Curved_Guide_Section_I_var,_Det1_E_var,_Det1_E_variable_range_var,_Det1_Lam_var,_Det1_Lam_variable_range_var,_Det1_ToF_variable_range_lessnL_var,_Det1_ToF_var,_PSD_post_funnel4_var,_Straight_Guide_Section_I_var,_before_Chopper2_ToF_var) class_Progress_bar_trace: 30597, Generating acc routine seq Generating NVIDIA GPU code class_ESS_moderator_short_trace: 30687, Generating acc routine seq Generating NVIDIA GPU code class_TOF_monitor_trace: 30841, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 30922, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 30995, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 31082, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 31153, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 31443, Generating acc routine seq Generating NVIDIA GPU code class_Guide_gravity_trace: 31596, Generating acc routine seq Generating NVIDIA GPU code 31729, Reference argument passing prevents parallelization: dt class_DiskChopper_trace: 31866, Generating acc routine seq Generating NVIDIA GPU code class_Guide_m_trace: 31956, Generating acc routine seq Generating NVIDIA GPU code class_Isotropic_Sqw_trace: 32172, Generating acc routine seq Generating NVIDIA GPU code 32491, Reference argument passing prevents parallelization: u1z Reference argument passing prevents parallelization: u1y Reference argument passing prevents parallelization: u1x Reference argument passing prevents parallelization: solid_angle class_Spherical_Backscattering_Analyser_trace: 32803, Generating acc routine seq Generating NVIDIA GPU code raytrace: 32965, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 35791, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 35805, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 35791, Local memory used for particleN 35805, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) finally: 39125, Generating update self(_Guide_end_divy_var,_Source_Lam_var,_tofSTART_var,_instrument_var,_Source_En_var,_Shutter_Guide_Insert_var,_Gap0_end_divy_var,_Funnel_4_var,_Gap0_end_Lam_var,_Gap0_end_divx_var,_Chopper3_var,_Gap1_start_Lam_var,_Gap1_end_var,_Gap0_start_var,_Gap1_end_Lam_var,_Shutter_Guide_Insert_short_var,_Sample_var,_Shutter_Guide_Insert_16_var,_Shutter_Guide_Insert_17_var,_Shutter_Guide_Insert_18_var,_Shutter_Guide_Insert_19_var,_Shutter_Guide_Insert_20_var,_Shutter_Guide_Insert_21_var,_Gap2_start_PSD_var,_Gap2_end_var,_Gap2_start_Lam_var,_Gap1_start_var,_Gap2_end_Lam_var,_Gap2_end_PSD_var,_Curved_Guide_Section_I_short_var,_Curved_Guide_Section_II_var,_Curved_Guide_Section_I_30_var,_Curved_Guide_Section_I_31_var,_Curved_Guide_Section_I_32_var,_Curved_Guide_Section_I_33_var,_Curved_Guide_Section_I_34_var,_Curved_Guide_Section_I_35_var,_Curved_Guide_Section_I_36_var,_Curved_Guide_Section_I_37_var,_Curved_Guide_Section_I_38_var,_Gap3_start_Lam_var,_Gap3_end_var,_ArmForDet1_var,_before_Chopper1_ToF_Z_var,_TOFcyl_var,_Chopper1_ToF_var,_Chopper1_ToF_Z_var,_CGS3_end_ToF_var,_Gap2_start_var,_Gap3_end_Lam_var,_Gap3_end_PSD_var,_Curved_Guide_Section_II_last_var,_Curved_Guide_Section_III_var,_Curved_Guide_Section_II_52_var,_Curved_Guide_Section_II_53_var,_Curved_Guide_Section_II_54_var,_Curved_Guide_Section_II_55_var,_Curved_Guide_Section_II_56_var,_Curved_Guide_Section_II_57_var,_Gap4_start_PSD_var,_Gap4_end_var,_Gap4_start_Lam_var,_before_Chopper2_ToF_Z_var,_before_Chopper1_ToF_var,_Chopper2_ToF_var,_Chopper2_ToF_Z_var,_Chopper1_var,_Gap3_start_var,_Gap4_end_Lam_var,_Gap4_end_PSD_var,_Curved_Guide_Section_III_short_var,_Core_Vessel_Section_var,_Curved_Guide_Section_III_71_var,_Curved_Guide_Section_III_72_var,_Curved_Guide_Section_III_73_var,_Curved_Guide_Section_III_74_var,_Curved_Guide_Section_III_75_var,_Curved_Guide_Section_III_76_var,_Curved_Guide_Section_III_77_var,_Curved_Guide_Section_III_78_var,_Curved_Guide_Section_III_79_var,_CGS3_end_ToF_Z_var,_CGS3_end_Lam_var,_CGS1_end_var,_Straight_Guide_Section_II_var,_Gap5_start_ToF_var,_Gap5_start_ToF_Z_var,_Gap5_start_PSD_var,_Gap5_end_var,_Gap5_start_Lam_var,_Chopper3_ToF_var,_Chopper3_ToF_Z_var,_Chopper2_var,_Gap4_start_var,_Gap5_end_Lam_var,_Gap5_end_PSD_var,_Straight_Guide_Section_III_var,_SG3_end_ToF_var,_SGS2_end_Lam_var,_Source_var,_SG3_end_ToF_Z_var,_SG3_end_PSD_var,_PSDcyl_var,_SG3_end_Lam_var,_Det1_ToF_variable_range_var,_Origin_var,_Funnel_1_var,_PSD_post_funnel1_var,_Funnel_2_var,_PSD_post_funnel2_var,_Funnel_3_var,_PSD_post_funnel3_var,_Guide_End_ToF_Z_var,_Gap5_start_var,_Guide_End_ToF_var,_Guide_end_PSD_var,_Guide_end_divx_var,_Guide_end_Lam_var,_SamplePos_var,_SGS2_end_PSD_var,_Sample_split_var,_An1_rot_axis2_var,_An2_rot_axis2_var,_An3_rot_axis2_var,_An1_Lam_variable_range_var,_An1_ToF_var,_An1_E_variable_range_var,_An1_Lam_var,_An1_E_var,_An1_ToF_variable_range_var,_An1_var,_An2_var,_An1_rot_axis_var,_An2_rot_axis_var,_An3_rot_axis_var,_An3_var,_Curved_Guide_Section_I_var,_Det1_E_var,_Det1_E_variable_range_var,_Det1_Lam_var,_Det1_Lam_variable_range_var,_Det1_ToF_variable_range_lessnL_var,_Det1_ToF_var,_PSD_post_funnel4_var,_Straight_Guide_Section_I_var,_before_Chopper2_ToF_var) mcenabletrace: 6037, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===