INFO: No output directory specified (--dir) INFO: Using directory: "SNS_BASIS_20220401_012214" INFO: Regenerating c-file: SNS_BASIS.c DEBUG: CMD: mcstas -t -o ./SNS_BASIS.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_5e7/SNS_BASIS/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: ----------------------------------------------------------- INFO: Recompiling: ./SNS_BASIS.out DEBUG: CMD: nvc -o ./SNS_BASIS.out ./SNS_BASIS.c -lm -ta:tesla,managed -DOPENACC "./SNS_BASIS.c", line 11698: warning: variable "n" was declared but never referenced double n; ^ "./SNS_BASIS.c", line 11677: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./SNS_BASIS.c", line 11678: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./SNS_BASIS.c", line 11589: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./SNS_BASIS.c", line 11589: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./SNS_BASIS.c", line 13890: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./SNS_BASIS.c", line 13891: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./SNS_BASIS.c", line 24083: warning: variable "E" was declared but never referenced double v,tau_l,E,lambda,k,r,xf,yf,dx,dy,w_focus; ^ "./SNS_BASIS.c", line 25604: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./SNS_BASIS.c", line 25635: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./SNS_BASIS.c", line 25636: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./SNS_BASIS.c", line 25636: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./SNS_BASIS.c", line 26224: warning: variable "old_x" was set but never used double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26224: warning: variable "old_y" was set but never used double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26224: warning: variable "old_z" was set but never used double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26224: warning: variable "old_t" was set but never used double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26224: warning: variable "x0" was declared but never referenced double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26224: warning: variable "y0" was declared but never referenced double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26224: warning: variable "z0" was declared but never referenced double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26224: warning: variable "xi" was declared but never referenced double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26224: warning: variable "yi" was declared but never referenced double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26224: warning: variable "zi" was declared but never referenced double old_x, old_y, old_z, old_t, x0, y0, z0, xi, yi, zi; ^ "./SNS_BASIS.c", line 26226: warning: variable "v" was declared but never referenced double nx, ny, nz, nmod, v; ^ "./SNS_BASIS.c", line 26227: warning: variable "ydarwin" was declared but never referenced double kproj, ydarwin, dkz, p_reflect; ^ "./SNS_BASIS.c", line 26227: warning: variable "dkz" was declared but never referenced double kproj, ydarwin, dkz, p_reflect; ^ "./SNS_BASIS.c", line 33688: warning: variable "j" was declared but never referenced int i,j,N; ^ "./SNS_BASIS.c", line 33692: warning: variable "dd" was declared but never referenced double dx,dy,dd; ^ "./SNS_BASIS.c", line 34294: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./SNS_BASIS.c", line 34234: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./SNS_BASIS.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./SNS_BASIS.c", line 2501: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ NVC++-W-0155-Upcoming behavior change: array reference in data/update clause with no triplet notation will be treated as an array element in a future release: par (./SNS_BASIS.c: 25097) NVC++/x86-64 Linux 21.9-0: compilation completed with warnings INFO: === loading system configuration loading override configuration from /zhome/89/0/38697/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_GPU_PGCC_TESLA_KISS/mccode_config.json