INFO: No output directory specified (--dir) INFO: Using directory: "ESRF_ID01_20220106_003037" INFO: Regenerating c-file: ESRF_ID01.c DEBUG: CMD: mcxtrace -t -o ./ESRF_ID01.c /zhome/7c/9/7041/TESTS/2022-01-06/McXtrace-3.0_CPU_PGCC_MC_1e7/ESRF_ID01/ESRF_ID01.instr CFLAGS= -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./ESRF_ID01.out DEBUG: CMD: nvc -o ./ESRF_ID01.out ./ESRF_ID01.c -lm -lm -O2 -acc=multicore -DOPENACC -std=c99 "./ESRF_ID01.c", line 4879: warning: pointless comparison of unsigned integer with zero state[4] = t < 0; ^ "./ESRF_ID01.c", line 5786: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./ESRF_ID01.c", line 5959: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./ESRF_ID01.c", line 8055: warning: variable "theta0" was declared but never referenced double lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./ESRF_ID01.c", line 8910: warning: variable "j" was declared but never referenced int j; ^ "./ESRF_ID01.c", line 8911: warning: variable "Status" was set but never used int Status; ^ "./ESRF_ID01.c", line 8912: warning: variable "Parsing" was set but never used char **Parsing; ^ "./ESRF_ID01.c", line 9545: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ESRF_ID01.c", line 9546: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ESRF_ID01.c", line 10627: warning: variable "status" was set but never used int status=0; ^ "./ESRF_ID01.c", line 10813: warning: variable "status" was set but never used int status; ^ "./ESRF_ID01.c", line 10935: warning: variable "i" was declared but never referenced int i,j; ^ "./ESRF_ID01.c", line 10935: warning: variable "j" was declared but never referenced int i,j; ^ "./ESRF_ID01.c", line 10991: warning: variable "i" was declared but never referenced int i; ^ "./ESRF_ID01.c", line 11043: warning: variable "i" was declared but never referenced int i,j; ^ "./ESRF_ID01.c", line 11043: warning: variable "j" was declared but never referenced int i,j; ^ "./ESRF_ID01.c", line 11044: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./ESRF_ID01.c", line 11044: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./ESRF_ID01.c", line 11044: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./ESRF_ID01.c", line 11191: warning: variable "MosaicityAB" is used before its value is set ReadReflectionData(ReflectionsDatafile, &hklInfo, Mosaicity, MosaicityA, MosaicityB, MosaicityC, MosaicityAB); ^ "./ESRF_ID01.c", line 11547: warning: variable "z1" was set but never used double xx,yy,x1,y1,z1; ^ "./ESRF_ID01.c", line 11549: warning: variable "F1" was declared but never referenced double F1=1.0; ^ "./ESRF_ID01.c", line 11830: warning: variable "Ex0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./ESRF_ID01.c", line 11830: warning: variable "Ey0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./ESRF_ID01.c", line 11830: warning: variable "Ez0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./ESRF_ID01.c", line 11788: warning: variable "Thetaout" was declared but never referenced double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./ESRF_ID01.c", line 11954: warning: variable "x0" is used before its value is set dl=sqrt((x-x0)*(x-x0)+(y-y0)*(y-y0)+(z-z0)*(z-z0)); ^ "./ESRF_ID01.c", line 11954: warning: variable "y0" is used before its value is set dl=sqrt((x-x0)*(x-x0)+(y-y0)*(y-y0)+(z-z0)*(z-z0)); ^ "./ESRF_ID01.c", line 11954: warning: variable "z0" is used before its value is set dl=sqrt((x-x0)*(x-x0)+(y-y0)*(y-y0)+(z-z0)*(z-z0)); ^ "./ESRF_ID01.c", line 11996: warning: variable "lambda" was declared but never referenced double K, lambda,rr; ^ "./ESRF_ID01.c", line 12093: warning: variable "k" was declared but never referenced double k, kn; ^ "./ESRF_ID01.c", line 12250: warning: variable "k" was declared but never referenced int i,j,k; ^ "./ESRF_ID01.c", line 12251: warning: variable "e" was declared but never referenced double e,p2; ^ "./ESRF_ID01.c", line 12442: warning: variable "AbsorbtionScatteringLength" was set but never used double AbsorbtionScatteringLength; ^ "./ESRF_ID01.c", line 14548: warning: variable "lambda" was set but never used double rr,K,lambda; ^ "./ESRF_ID01.c", line 15024: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./ESRF_ID01.c", line 14964: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ESRF_ID01.c", line 1257: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ESRF_ID01.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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7749) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 7971) 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 (./ESRF_ID01.c: 12490) 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 (./ESRF_ID01.c: 12490) 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 (./ESRF_ID01.c: 12551) 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 (./ESRF_ID01.c: 12551) 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 (./ESRF_ID01.c: 12490) 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 (./ESRF_ID01.c: 12490) 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