INFO: No output directory specified (--dir) INFO: Using directory: "Test_Mono_20220601_002037" INFO: Regenerating c-file: Test_Mono.c DEBUG: CMD: mcxtrace -t -o ./Test_Mono.c /zhome/89/0/38697/xTESTS/2022-06-01/McXtrace_GPU_PGCC_TESLA_KISS_FUNNEL_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 -DFUNNEL -std=c99 -std=c99 -std=c99 "./Test_Mono.c", line 4104: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./Test_Mono.c", line 4023: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./Test_Mono.c", line 5725: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./Test_Mono.c", line 5898: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./Test_Mono.c", line 7518: 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 8089: 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 8792: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Mono.c", line 8793: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_Mono.c", line 9661: warning: variable "status" was set but never used int status=0; ^ "./Test_Mono.c", line 9731: warning: variable "i" was declared but never referenced int i,j; ^ "./Test_Mono.c", line 9731: warning: variable "j" was declared but never referenced int i,j; ^ "./Test_Mono.c", line 9732: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_Mono.c", line 9732: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_Mono.c", line 9732: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_Mono.c", line 9787: warning: variable "i" was declared but never referenced int i; ^ "./Test_Mono.c", line 9840: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 9905: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 9986: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 10077: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 10167: warning: variable "status" was set but never used int status; ^ "./Test_Mono.c", line 10295: warning: variable "i" was declared but never referenced int i,j; ^ "./Test_Mono.c", line 10295: warning: variable "j" was declared but never referenced int i,j; ^ "./Test_Mono.c", line 10701: warning: variable "k" was declared but never referenced int i,j,k; ^ "./Test_Mono.c", line 10702: warning: variable "e" was declared but never referenced double e,p2; ^ "./Test_Mono.c", line 10893: warning: expression has no effect y_int=y+kyu*tin;V, ^ "./Test_Mono.c", line 10901: warning: variable "quadrant" was declared but never referenced int quadrant; ^ "./Test_Mono.c", line 10861: 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 10861: 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 10861: 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 10871: warning: variable "Thetaout" was set but never used double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./Test_Mono.c", line 11062: 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 11062: 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 11062: 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 11018: warning: variable "Thetaout" was declared but never referenced double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./Test_Mono.c", line 11286: warning: variable "quadrant" was declared but never referenced int quadrant; ^ "./Test_Mono.c", line 11310: 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 11310: 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 11310: 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 11244: 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 11244: 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 11213: 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 11213: 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 11213: 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 11496: warning: variable "fail" was set but never used int fail; ^ "./Test_Mono.c", line 11471: warning: variable "kk0" was declared but never referenced double kk0[3]={kx,ky,kz}; ^ "./Test_Mono.c", line 11716: warning: variable "grad_x" was declared but never referenced double grad_x, grad_y, grad_z; ^ "./Test_Mono.c", line 11716: warning: variable "grad_y" was declared but never referenced double grad_x, grad_y, grad_z; ^ "./Test_Mono.c", line 11716: warning: variable "grad_z" was declared but never referenced double grad_x, grad_y, grad_z; ^ "./Test_Mono.c", line 11721: warning: variable "l_grad_x" was declared but never referenced double l_grad_x, l_grad_y, l_grad_z; ^ "./Test_Mono.c", line 11721: warning: variable "l_grad_y" was declared but never referenced double l_grad_x, l_grad_y, l_grad_z; ^ "./Test_Mono.c", line 11721: warning: variable "l_grad_z" was declared but never referenced double l_grad_x, l_grad_y, l_grad_z; ^ "./Test_Mono.c", line 11738: warning: variable "fail" was set but never used int fail; ^ "./Test_Mono.c", line 11693: 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 11693: 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 11655: 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 11655: 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 11655: 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 11880: warning: variable "e" was set but never used double k,e,theta_bragg; ^ "./Test_Mono.c", line 13454: warning: variable "i" was declared but never referenced int i,j,N=12; ^ "./Test_Mono.c", line 13455: warning: variable "t" was declared but never referenced double t,xx,yy,zz,xx0,yy0,zz0; ^ "./Test_Mono.c", line 13455: warning: variable "xx0" was declared but never referenced double t,xx,yy,zz,xx0,yy0,zz0; ^ "./Test_Mono.c", line 13607: warning: variable "aa" was declared but never referenced double aa,bb,cc; ^ "./Test_Mono.c", line 13607: warning: variable "bb" was declared but never referenced double aa,bb,cc; ^ "./Test_Mono.c", line 13607: warning: variable "cc" was declared but never referenced double aa,bb,cc; ^ "./Test_Mono.c", line 13916: 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 13856: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_Mono.c", line 1245: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Mono.c", line 2486: 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: 7783) 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: 7783) 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: 7783) 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: 7783) 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: 7783) 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: 8005) 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: 8005) 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: 8005) 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: 8005) 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: 8005) 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_FUNNEL/mccode_config.json