INFO: No output directory specified (--dir) INFO: Using directory: "Template_Johann_spec_20220106_003332" INFO: Regenerating c-file: Template_Johann_spec.c DEBUG: CMD: mcxtrace -t -o ./Template_Johann_spec.c /zhome/7c/9/7041/TESTS/2022-01-06/McXtrace-3.0_CPU_PGCC_MC_1e7/Template_Johann_spec/Template_Johann_spec.instr Info: 'Bragg_crystal_bent_BC' is a contributed component. CFLAGS= -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Template_Johann_spec.out DEBUG: CMD: nvc -o ./Template_Johann_spec.out ./Template_Johann_spec.c -lm -lm -O2 -acc=multicore -DOPENACC -std=c99 "./Template_Johann_spec.c", line 4879: warning: pointless comparison of unsigned integer with zero state[4] = t < 0; ^ "./Template_Johann_spec.c", line 5786: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./Template_Johann_spec.c", line 5959: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./Template_Johann_spec.c", line 8045: warning: variable "theta0" was declared but never referenced double lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./Template_Johann_spec.c", line 8512: warning: integer conversion resulted in a change of sign Vars->OFF_polyidx = -1; ^ "./Template_Johann_spec.c", line 9514: warning: variable "ratio" was set but never used double ratio; ^ "./Template_Johann_spec.c", line 10029: warning: variable "y0" is used before its value is set if (y0 < ymin) y0=ymin; ^ "./Template_Johann_spec.c", line 10031: warning: variable "y1" is used before its value is set if (y1 < ymin) y1=ymin; ^ "./Template_Johann_spec.c", line 11657: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Template_Johann_spec.c", line 11658: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Template_Johann_spec.c", line 12402: warning: variable "status" was set but never used int status=0; ^ "./Template_Johann_spec.c", line 12515: warning: variable "i" was declared but never referenced int i,j; ^ "./Template_Johann_spec.c", line 12515: warning: variable "j" was declared but never referenced int i,j; ^ "./Template_Johann_spec.c", line 12516: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./Template_Johann_spec.c", line 12516: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./Template_Johann_spec.c", line 12516: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./Template_Johann_spec.c", line 12593: warning: variable "status" was set but never used int status; ^ "./Template_Johann_spec.c", line 12681: warning: variable "i" was declared but never referenced int i,j; ^ "./Template_Johann_spec.c", line 12681: warning: variable "j" was declared but never referenced int i,j; ^ "./Template_Johann_spec.c", line 13127: warning: variable "kk" was declared but never referenced double kk,theta_x,theta_y,l,e,k; ^ "./Template_Johann_spec.c", line 13299: warning: variable "k" was declared but never referenced int i,j,k; ^ "./Template_Johann_spec.c", line 13300: warning: variable "e" was declared but never referenced double e,p2; ^ "./Template_Johann_spec.c", line 13469: warning: variable "grad_x" was declared but never referenced double grad_x, grad_y, grad_z; ^ "./Template_Johann_spec.c", line 13469: warning: variable "grad_y" was declared but never referenced double grad_x, grad_y, grad_z; ^ "./Template_Johann_spec.c", line 13469: warning: variable "grad_z" was declared but never referenced double grad_x, grad_y, grad_z; ^ "./Template_Johann_spec.c", line 13474: warning: variable "l_grad_x" was declared but never referenced double l_grad_x, l_grad_y, l_grad_z; ^ "./Template_Johann_spec.c", line 13474: warning: variable "l_grad_y" was declared but never referenced double l_grad_x, l_grad_y, l_grad_z; ^ "./Template_Johann_spec.c", line 13474: warning: variable "l_grad_z" was declared but never referenced double l_grad_x, l_grad_y, l_grad_z; ^ "./Template_Johann_spec.c", line 13491: warning: variable "fail" was set but never used int fail; ^ "./Template_Johann_spec.c", line 13446: 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 */ ^ "./Template_Johann_spec.c", line 13446: 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 */ ^ "./Template_Johann_spec.c", line 13408: warning: variable "x_int" was declared but never referenced double x_int,y_int,z_int; // intersection with the y=0 plane ^ "./Template_Johann_spec.c", line 13408: warning: variable "y_int" was declared but never referenced double x_int,y_int,z_int; // intersection with the y=0 plane ^ "./Template_Johann_spec.c", line 13408: warning: variable "z_int" was declared but never referenced double x_int,y_int,z_int; // intersection with the y=0 plane ^ "./Template_Johann_spec.c", line 15135: warning: variable "aa" was declared but never referenced double aa,bb,cc; ^ "./Template_Johann_spec.c", line 15135: warning: variable "bb" was declared but never referenced double aa,bb,cc; ^ "./Template_Johann_spec.c", line 15135: warning: variable "cc" was declared but never referenced double aa,bb,cc; ^ "./Template_Johann_spec.c", line 15462: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Template_Johann_spec.c", line 15402: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Template_Johann_spec.c", line 1257: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Template_Johann_spec.c", line 2498: 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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 (./Template_Johann_spec.c: 7739) 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 (./Template_Johann_spec.c: 7739) 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 (./Template_Johann_spec.c: 7739) 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 (./Template_Johann_spec.c: 7739) 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 (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7961) 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: ..inline (./Template_Johann_spec.c: 7961) 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: ..inline (./Template_Johann_spec.c: 7961) 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: ..inline (./Template_Johann_spec.c: 7961) 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: ..inline (./Template_Johann_spec.c: 7961) 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: ..inline (./Template_Johann_spec.c: 7961) 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: ..inline (./Template_Johann_spec.c: 7961) 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 (./Template_Johann_spec.c: 7961) 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 (./Template_Johann_spec.c: 7961) 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 (./Template_Johann_spec.c: 7961) 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 (./Template_Johann_spec.c: 7961) 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 (./Template_Johann_spec.c: 7961) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) 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: ..inline (./Template_Johann_spec.c: 7739) NVC++/x86-64 Linux 21.9-0: compilation completed with warnings INFO: === loading system configuration loading override configuration from /zhome/7c/9/7041/McXtrace/mcxtrace/1.5/tools/Python/mctest/../mccodelib/mcxtrace-test/McXtrace-3.0_CPU_PGCC_MC/mccode_config.json