INFO: No output directory specified (--dir) INFO: Using directory: "SNS_BASIS_20260318_022718" 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 107: 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 111: 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 139: 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 111: 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 168: 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 190: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./SNS_BASIS.c", line 201: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./SNS_BASIS.c", line 212: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./SNS_BASIS.c", line 222: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./SNS_BASIS.c", line 289: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./SNS_BASIS.c", line 291: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./SNS_BASIS.c", line 642: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./SNS_BASIS.c", line 863: 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 880: 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 882: 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 890: 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 892: 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 894: 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 896: 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 898: 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 994: 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 996: 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 998: 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 1000: 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 1002: 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 1004: 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 1006: 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 1008: 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 1010: 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 4625: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./SNS_BASIS.c", line 6326: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./SNS_BASIS.c", line 7215: 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 9301: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./SNS_BASIS.c", line 9301: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./SNS_BASIS.c", line 9328: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./SNS_BASIS.c", line 9328: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./SNS_BASIS.c", line 9485: 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 9487: 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 9494: 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 9514: 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 9516: 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 9518: 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 11075: 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 11098: 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 11119: 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 11206: 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 11211: 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 11220: 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 11246: 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 11249: 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 11249: 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 11249: 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 11249: 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 11249: 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 11249: 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 11309: 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 11439: 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 11483: 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 11604: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./SNS_BASIS.c", line 11716: 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 11728: 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 11763: 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 12019: 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 12025: 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 13686: warning: variable "n" was declared but never referenced [declared_but_not_referenced] double n; ^ "./SNS_BASIS.c", line 13663: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] double w_c = 0; ^ "./SNS_BASIS.c", line 13664: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] double w_l = 0; ^ "./SNS_BASIS.c", line 13584: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./SNS_BASIS.c", line 13584: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./SNS_BASIS.c", line 15890: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./SNS_BASIS.c", line 15878: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./SNS_BASIS.c", line 15935: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./SNS_BASIS.c", line 16026: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./SNS_BASIS.c", line 16106: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./SNS_BASIS.c", line 16184: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./SNS_BASIS.c", line 16262: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./SNS_BASIS.c", line 16338: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./SNS_BASIS.c", line 16416: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./SNS_BASIS.c", line 16542: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./SNS_BASIS.c", line 16668: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./SNS_BASIS.c", line 16741: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./SNS_BASIS.c", line 16790: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./SNS_BASIS.c", line 16868: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./SNS_BASIS.c", line 16946: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./SNS_BASIS.c", line 16995: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./SNS_BASIS.c", line 17117: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./SNS_BASIS.c", line 17239: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./SNS_BASIS.c", line 17361: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./SNS_BASIS.c", line 17483: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./SNS_BASIS.c", line 17605: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./SNS_BASIS.c", line 17727: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./SNS_BASIS.c", line 17849: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./SNS_BASIS.c", line 17971: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./SNS_BASIS.c", line 18020: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./SNS_BASIS.c", line 18098: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./SNS_BASIS.c", line 18174: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./SNS_BASIS.c", line 18252: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./SNS_BASIS.c", line 18328: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./SNS_BASIS.c", line 18377: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./SNS_BASIS.c", line 18499: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./SNS_BASIS.c", line 18621: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./SNS_BASIS.c", line 18743: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./SNS_BASIS.c", line 18865: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./SNS_BASIS.c", line 18987: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 34; ^ "./SNS_BASIS.c", line 19109: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 35; ^ "./SNS_BASIS.c", line 19231: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 36; ^ "./SNS_BASIS.c", line 19353: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 37; ^ "./SNS_BASIS.c", line 19475: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 38; ^ "./SNS_BASIS.c", line 19597: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 39; ^ "./SNS_BASIS.c", line 19719: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 40; ^ "./SNS_BASIS.c", line 19768: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 41; ^ "./SNS_BASIS.c", line 19846: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 42; ^ "./SNS_BASIS.c", line 19922: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 43; ^ "./SNS_BASIS.c", line 20002: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 44; ^ "./SNS_BASIS.c", line 20082: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 45; ^ "./SNS_BASIS.c", line 20159: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 46; ^ "./SNS_BASIS.c", line 20239: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 47; ^ "./SNS_BASIS.c", line 20319: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 48; ^ "./SNS_BASIS.c", line 20397: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 49; ^ "./SNS_BASIS.c", line 20473: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 50; ^ "./SNS_BASIS.c", line 20522: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 51; ^ "./SNS_BASIS.c", line 20644: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 52; ^ "./SNS_BASIS.c", line 20766: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 53; ^ "./SNS_BASIS.c", line 20888: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 54; ^ "./SNS_BASIS.c", line 21010: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 55; ^ "./SNS_BASIS.c", line 21132: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 56; ^ "./SNS_BASIS.c", line 21254: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 57; ^ "./SNS_BASIS.c", line 21376: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 58; ^ "./SNS_BASIS.c", line 21498: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 59; ^ "./SNS_BASIS.c", line 21547: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 60; ^ "./SNS_BASIS.c", line 21625: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 61; ^ "./SNS_BASIS.c", line 21701: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 62; ^ "./SNS_BASIS.c", line 21781: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 63; ^ "./SNS_BASIS.c", line 21861: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 64; ^ "./SNS_BASIS.c", line 21938: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 65; ^ "./SNS_BASIS.c", line 22018: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 66; ^ "./SNS_BASIS.c", line 22098: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 67; ^ "./SNS_BASIS.c", line 22176: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 68; ^ "./SNS_BASIS.c", line 22252: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 69; ^ "./SNS_BASIS.c", line 22301: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 70; ^ "./SNS_BASIS.c", line 22423: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 71; ^ "./SNS_BASIS.c", line 22545: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 72; ^ "./SNS_BASIS.c", line 22667: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 73; ^ "./SNS_BASIS.c", line 22789: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 74; ^ "./SNS_BASIS.c", line 22911: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 75; ^ "./SNS_BASIS.c", line 23033: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 76; ^ "./SNS_BASIS.c", line 23155: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 77; ^ "./SNS_BASIS.c", line 23277: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 78; ^ "./SNS_BASIS.c", line 23399: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 79; ^ "./SNS_BASIS.c", line 23521: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 80; ^ "./SNS_BASIS.c", line 23643: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 81; ^ "./SNS_BASIS.c", line 23723: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 82; ^ "./SNS_BASIS.c", line 23803: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 83; ^ "./SNS_BASIS.c", line 23881: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 84; ^ "./SNS_BASIS.c", line 23954: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 85; ^ "./SNS_BASIS.c", line 24003: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 86; ^ "./SNS_BASIS.c", line 24083: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 87; ^ "./SNS_BASIS.c", line 24163: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 88; ^ "./SNS_BASIS.c", line 24241: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 89; ^ "./SNS_BASIS.c", line 24317: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 90; ^ "./SNS_BASIS.c", line 24394: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 91; ^ "./SNS_BASIS.c", line 24474: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 92; ^ "./SNS_BASIS.c", line 24554: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 93; ^ "./SNS_BASIS.c", line 24632: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 94; ^ "./SNS_BASIS.c", line 24708: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 95; ^ "./SNS_BASIS.c", line 24757: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 96; ^ "./SNS_BASIS.c", line 24830: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 97; ^ "./SNS_BASIS.c", line 24908: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 98; ^ "./SNS_BASIS.c", line 24984: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 99; ^ "./SNS_BASIS.c", line 25057: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 100; ^ "./SNS_BASIS.c", line 25137: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 101; ^ "./SNS_BASIS.c", line 25217: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 102; ^ "./SNS_BASIS.c", line 25295: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 103; ^ "./SNS_BASIS.c", line 25371: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 104; ^ "./SNS_BASIS.c", line 25474: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 105; ^ "./SNS_BASIS.c", line 25550: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 106; ^ "./SNS_BASIS.c", line 25653: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 107; ^ "./SNS_BASIS.c", line 25729: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 108; ^ "./SNS_BASIS.c", line 25832: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 109; ^ "./SNS_BASIS.c", line 25908: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 110; ^ "./SNS_BASIS.c", line 26011: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 111; ^ "./SNS_BASIS.c", line 26087: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 112; ^ "./SNS_BASIS.c", line 26167: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 113; ^ "./SNS_BASIS.c", line 26247: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 114; ^ "./SNS_BASIS.c", line 26325: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 115; ^ "./SNS_BASIS.c", line 26451: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 116; ^ "./SNS_BASIS.c", line 26577: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 117; ^ "./SNS_BASIS.c", line 26653: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 118; ^ "./SNS_BASIS.c", line 26702: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 119; ^ "./SNS_BASIS.c", line 26778: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 120; ^ "./SNS_BASIS.c", line 26898: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 121; ^ "./SNS_BASIS.c", line 26947: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 122; ^ "./SNS_BASIS.c", line 26996: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 123; ^ "./SNS_BASIS.c", line 27045: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 124; ^ "./SNS_BASIS.c", line 27125: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 125; ^ "./SNS_BASIS.c", line 27205: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 126; ^ "./SNS_BASIS.c", line 27283: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 127; ^ "./SNS_BASIS.c", line 27361: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 128; ^ "./SNS_BASIS.c", line 27439: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 129; ^ "./SNS_BASIS.c", line 27517: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 130; ^ "./SNS_BASIS.c", line 27566: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 131; ^ "./SNS_BASIS.c", line 27615: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 132; ^ "./SNS_BASIS.c", line 27664: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 133; ^ "./SNS_BASIS.c", line 27741: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 134; ^ "./SNS_BASIS.c", line 27818: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 135; ^ "./SNS_BASIS.c", line 27895: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 136; ^ "./SNS_BASIS.c", line 27944: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 137; ^ "./SNS_BASIS.c", line 28022: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 138; ^ "./SNS_BASIS.c", line 28100: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 139; ^ "./SNS_BASIS.c", line 28178: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 140; ^ "./SNS_BASIS.c", line 28256: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 141; ^ "./SNS_BASIS.c", line 28336: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 142; ^ "./SNS_BASIS.c", line 28416: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 143; ^ "./SNS_BASIS.c", line 28496: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 144; ^ "./SNS_BASIS.c", line 28622: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 145; ^ "./SNS_BASIS.c", line 30684: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef] #define exit(...) noprintf() ^ "./SNS_BASIS.c", line 30696: 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 30775: 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 30803: 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 30929: 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 31009: 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 31080: 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 31165: 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 31236: 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 31505: 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 31657: 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 31964: 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 32050: 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 32263: 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 32335: 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 32336: 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 32336: 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 32924: 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 32948: 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 32948: 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 32948: 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 32948: 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 32948: 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 32948: 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 32948: 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 32948: 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 32948: 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 32948: 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 32950: warning: variable "v" was declared but never referenced [declared_but_not_referenced] double nx, ny, nz, nmod, v; ^ "./SNS_BASIS.c", line 32951: warning: variable "ydarwin" was declared but never referenced [declared_but_not_referenced] double kproj, ydarwin, dkz, p_reflect; ^ "./SNS_BASIS.c", line 32951: warning: variable "dkz" was declared but never referenced [declared_but_not_referenced] double kproj, ydarwin, dkz, p_reflect; ^ "./SNS_BASIS.c", line 33092: 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 40391: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i, j, N; ^ "./SNS_BASIS.c", line 40395: warning: variable "dd" was declared but never referenced [declared_but_not_referenced] double dx, dy, dd; ^ "./SNS_BASIS.c", line 41289: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./SNS_BASIS.c", line 41290: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./SNS_BASIS.c", line 1502: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./SNS_BASIS.c", line 2971: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 100, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 114, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 146, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 170, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 192, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 203, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 212, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 222, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1550, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1554, Generating acc routine seq Generating NVIDIA GPU code str_len: 1563, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4243, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4677, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4688, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4697, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4709, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4721, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4731, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4741, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4749, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4759, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4781, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4788, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4834, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4869, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4880, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4897, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4908, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4924, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4953, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4964, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4968, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5145, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5176, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5193, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5292, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5376, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5442, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5519, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5791, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5803, Generating acc routine seq Generating NVIDIA GPU code _hash: 5835, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5876, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5887, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5892, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5900, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5908, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5915, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6595, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6635, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6695, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6712, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6827, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6882, Generating acc routine seq Generating NVIDIA GPU code Mezei_M_fct: 7011, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8291, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10295, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10363, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10442, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10910, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10926, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10944, Generating acc routine seq Generating NVIDIA GPU code off_F: 11206, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11211, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11221, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11247, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11310, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11441, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11486, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11601, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11717, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11729, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11764, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12019, Generating acc routine seq Generating NVIDIA GPU code merge: 12026, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R p_to_quadratic: 12134, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 12149, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 12203, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12320, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12342, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 12568, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 12627, Generating acc routine seq Generating NVIDIA GPU code Gravity_guide_Trace: 12932, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_SW: 13469, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_Q_proba_per_w: 13508, Generating acc routine seq Generating NVIDIA GPU code Sqw_integrate_iqSq: 13547, Generating acc routine seq Generating NVIDIA GPU code init: 30037, Generating update device(Omega2,Omega3,Omega1) 30654, 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: 30697, Generating acc routine seq Generating NVIDIA GPU code class_ESS_moderator_short_trace: 30776, Generating acc routine seq Generating NVIDIA GPU code class_TOF_monitor_trace: 30930, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 31010, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 31081, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 31166, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 31237, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 31506, Generating acc routine seq Generating NVIDIA GPU code class_Guide_gravity_trace: 31658, Generating acc routine seq Generating NVIDIA GPU code 31797, Reference argument passing prevents parallelization: dt class_DiskChopper_trace: 31965, Generating acc routine seq Generating NVIDIA GPU code class_Guide_m_trace: 32051, Generating acc routine seq Generating NVIDIA GPU code class_Isotropic_Sqw_trace: 32264, Generating acc routine seq Generating NVIDIA GPU code 32595, 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: 32925, Generating acc routine seq Generating NVIDIA GPU code raytrace: 33092, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 35918, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 35932, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 35918, Local memory used for particleN 35932, Generating implicit firstprivate(mpi_node_rank,_particle,seed,ncount) finally: 39232, 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: 6035, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===