INFO: No output directory specified (--dir) INFO: Using directory: "Test_Mono_20220201_002252" INFO: Regenerating c-file: Test_Mono.c DEBUG: CMD: mcxtrace -t -o ./Test_Mono.c /zhome/89/0/38697/xTESTS/2022-02-01/McXtrace_GPU_PGCC_TESLA_KISS_5e7/Test_Mono/Test_Mono.instr Warning: 'Perfect_crystal' is an obsolete component (not maintained). Info: 'Bragg_crystal_BC' is a contributed component. Info: 'Bragg_crystal_bent_BC' is a contributed component. Info: 'Bragg_crystal_simple' is a contributed component. CFLAGS= -std=c99 -std=c99 -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Test_Mono.out DEBUG: CMD: nvc -o ./Test_Mono.out ./Test_Mono.c -lm -ta:tesla,managed -DOPENACC -std=c99 -std=c99 -std=c99 "./Test_Mono.c", line 5715: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./Test_Mono.c", line 5888: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./Test_Mono.c", line 7506: warning: variable "theta0" was declared but never referenced double r0,lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./Test_Mono.c", line 8077: warning: variable "theta0" was declared but never referenced double lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./Test_Mono.c", line 8780: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Mono.c", line 8781: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_Mono.c", line 9649: warning: variable "status" was set but never used int status=0; ^ "./Test_Mono.c", line 9719: warning: variable "i" was declared but never referenced int i,j; ^ "./Test_Mono.c", line 9719: warning: variable "j" was declared but never referenced int i,j; ^ "./Test_Mono.c", line 9720: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_Mono.c", line 9720: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_Mono.c", line 9720: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_Mono.c", line 9775: warning: variable "i" was declared but never referenced int i; ^ "./Test_Mono.c", line 9828: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 9893: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 9974: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 10065: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 10155: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 10283: warning: variable "i" was declared but never referenced int i,j; ^ "./Test_Mono.c", line 10283: warning: variable "j" was declared but never referenced int i,j; ^ "./Test_Mono.c", line 10687: warning: variable "k" was declared but never referenced int i,j,k; ^ "./Test_Mono.c", line 10688: warning: variable "e" was declared but never referenced double e,p2; ^ "./Test_Mono.c", line 10879: warning: expression has no effect y_int=y+kyu*tin;V, ^ "./Test_Mono.c", line 10887: warning: variable "quadrant" was declared but never referenced int quadrant; ^ "./Test_Mono.c", line 10847: warning: variable "kxout" was declared but never referenced double kxout,kyout,kzout; // unit vector in the direction of the reflected ray ^ "./Test_Mono.c", line 10847: warning: variable "kyout" was declared but never referenced double kxout,kyout,kzout; // unit vector in the direction of the reflected ray ^ "./Test_Mono.c", line 10847: warning: variable "kzout" was declared but never referenced double kxout,kyout,kzout; // unit vector in the direction of the reflected ray ^ "./Test_Mono.c", line 10857: warning: variable "Thetaout" was set but never used double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./Test_Mono.c", line 11046: warning: variable "Ex0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./Test_Mono.c", line 11046: warning: variable "Ey0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./Test_Mono.c", line 11046: warning: variable "Ez0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./Test_Mono.c", line 11004: warning: variable "Thetaout" was declared but never referenced double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./Test_Mono.c", line 11269: warning: variable "quadrant" was declared but never referenced int quadrant; ^ "./Test_Mono.c", line 11293: warning: variable "Ex0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./Test_Mono.c", line 11293: warning: variable "Ey0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./Test_Mono.c", line 11293: warning: variable "Ez0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./Test_Mono.c", line 11227: warning: variable "yy0" was set but never used double xx0, xx1, yy0, yy1, zz0, zz1; /* we will have to tentatively propagate twice to see which surface we hit */ ^ "./Test_Mono.c", line 11227: warning: variable "yy1" was set but never used double xx0, xx1, yy0, yy1, zz0, zz1; /* we will have to tentatively propagate twice to see which surface we hit */ ^ "./Test_Mono.c", line 11196: warning: variable "x_int" was declared but never referenced double x_int,y_int,z_int; // intersection with the y=0 plane ^ "./Test_Mono.c", line 11196: warning: variable "y_int" was declared but never referenced double x_int,y_int,z_int; // intersection with the y=0 plane ^ "./Test_Mono.c", line 11196: warning: variable "z_int" was declared but never referenced double x_int,y_int,z_int; // intersection with the y=0 plane ^ "./Test_Mono.c", line 11479: warning: variable "fail" was set but never used int fail; ^ "./Test_Mono.c", line 11454: warning: variable "kk0" was declared but never referenced double kk0[3]={kx,ky,kz}; ^ "./Test_Mono.c", line 11699: warning: variable "grad_x" was declared but never referenced double grad_x, grad_y, grad_z; ^ "./Test_Mono.c", line 11699: warning: variable "grad_y" was declared but never referenced double grad_x, grad_y, grad_z; ^ "./Test_Mono.c", line 11699: warning: variable "grad_z" was declared but never referenced double grad_x, grad_y, grad_z; ^ "./Test_Mono.c", line 11704: warning: variable "l_grad_x" was declared but never referenced double l_grad_x, l_grad_y, l_grad_z; ^ "./Test_Mono.c", line 11704: warning: variable "l_grad_y" was declared but never referenced double l_grad_x, l_grad_y, l_grad_z; ^ "./Test_Mono.c", line 11704: warning: variable "l_grad_z" was declared but never referenced double l_grad_x, l_grad_y, l_grad_z; ^ "./Test_Mono.c", line 11721: warning: variable "fail" was set but never used int fail; ^ "./Test_Mono.c", line 11676: warning: variable "yy0" was set but never used double xx0, xx1, yy0, yy1, zz0, zz1; /* we will have to tentatively propagate twice to see which surface we hit */ ^ "./Test_Mono.c", line 11676: warning: variable "yy1" was set but never used double xx0, xx1, yy0, yy1, zz0, zz1; /* we will have to tentatively propagate twice to see which surface we hit */ ^ "./Test_Mono.c", line 11638: warning: variable "x_int" was declared but never referenced double x_int,y_int,z_int; // intersection with the y=0 plane ^ "./Test_Mono.c", line 11638: warning: variable "y_int" was declared but never referenced double x_int,y_int,z_int; // intersection with the y=0 plane ^ "./Test_Mono.c", line 11638: warning: variable "z_int" was declared but never referenced double x_int,y_int,z_int; // intersection with the y=0 plane ^ "./Test_Mono.c", line 11863: warning: variable "e" was set but never used double k,e,theta_bragg; ^ "./Test_Mono.c", line 13437: warning: variable "i" was declared but never referenced int i,j,N=12; ^ "./Test_Mono.c", line 13438: warning: variable "t" was declared but never referenced double t,xx,yy,zz,xx0,yy0,zz0; ^ "./Test_Mono.c", line 13438: warning: variable "xx0" was declared but never referenced double t,xx,yy,zz,xx0,yy0,zz0; ^ "./Test_Mono.c", line 13590: warning: variable "aa" was declared but never referenced double aa,bb,cc; ^ "./Test_Mono.c", line 13590: warning: variable "bb" was declared but never referenced double aa,bb,cc; ^ "./Test_Mono.c", line 13590: warning: variable "cc" was declared but never referenced double aa,bb,cc; ^ "./Test_Mono.c", line 13899: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_Mono.c", line 13839: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_Mono.c", line 1235: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Mono.c", line 2476: 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: xihvals (./Test_Mono.c: 7771) 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: xi0vals (./Test_Mono.c: 7771) 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: kqvals (./Test_Mono.c: 7771) 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: K0 (./Test_Mono.c: 7771) 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: Kh (./Test_Mono.c: 7771) 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: xihvals (./Test_Mono.c: 7993) 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: xi0vals (./Test_Mono.c: 7993) 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: kqvals (./Test_Mono.c: 7993) 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: K0 (./Test_Mono.c: 7993) 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: Kh (./Test_Mono.c: 7993) NVC++/x86-64 Linux 21.9-0: compilation completed with warnings INFO: === loading system configuration loading override configuration from /zhome/89/0/38697/mxtest/mctest/../mccodelib/mcxtrace-test/McXtrace_GPU_PGCC_TESLA_KISS/mccode_config.json