INFO: No output directory specified (--dir) INFO: Using directory: "XFEL_SPB_20220501_033433" INFO: Regenerating c-file: XFEL_SPB.c DEBUG: CMD: mcxtrace -t -o ./XFEL_SPB.c /zhome/89/0/38697/xTESTS/2022-05-01/McXtrace_GPU_PGCC_TESLA_KISS_5e7/XFEL_SPB/XFEL_SPB.instr CFLAGS= -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./XFEL_SPB.out DEBUG: CMD: nvc -o ./XFEL_SPB.out ./XFEL_SPB.c -lm -ta:tesla,managed -DOPENACC -std=c99 "./XFEL_SPB.c", line 5725: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./XFEL_SPB.c", line 5898: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./XFEL_SPB.c", line 7663: warning: conversion from pointer to smaller integer int N=(unsigned int)((double **) pars)[0]; ^ "./XFEL_SPB.c", line 7641: warning: variable "status" was declared but never referenced int status; ^ "./XFEL_SPB.c", line 7752: warning: variable "status" was set but never used int status; ^ "./XFEL_SPB.c", line 7951: warning: variable "R" was declared but never referenced double b_mu,R; ^ "./XFEL_SPB.c", line 8011: warning: variable "k2" is used before its value is set qpd=csqrt(q*q - 8*k2* *(pp->delta) + I*8*k2* *(pp->beta)); ^ "./XFEL_SPB.c", line 8006: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./XFEL_SPB.c", line 8029: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./XFEL_SPB.c", line 8655: warning: variable "theta0" was declared but never referenced double lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./XFEL_SPB.c", line 9122: warning: integer conversion resulted in a change of sign Vars->OFF_polyidx = -1; ^ "./XFEL_SPB.c", line 10124: warning: variable "ratio" was set but never used double ratio; ^ "./XFEL_SPB.c", line 10639: warning: variable "y0" is used before its value is set if (y0 < ymin) y0=ymin; ^ "./XFEL_SPB.c", line 10641: warning: variable "y1" is used before its value is set if (y1 < ymin) y1=ymin; ^ "./XFEL_SPB.c", line 12509: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./XFEL_SPB.c", line 12510: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./XFEL_SPB.c", line 14837: warning: variable "status" was set but never used int status=0; ^ "./XFEL_SPB.c", line 14966: warning: variable "i" was declared but never referenced int i,j; ^ "./XFEL_SPB.c", line 14966: warning: variable "j" was declared but never referenced int i,j; ^ "./XFEL_SPB.c", line 14967: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./XFEL_SPB.c", line 14967: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./XFEL_SPB.c", line 14967: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./XFEL_SPB.c", line 15022: warning: variable "i" was declared but never referenced int i; ^ "./XFEL_SPB.c", line 15071: warning: variable "status" was set but never used int status=0; ^ "./XFEL_SPB.c", line 15129: warning: variable "status" was set but never used int status; ^ "./XFEL_SPB.c", line 15178: warning: variable "status" was set but never used int status; ^ "./XFEL_SPB.c", line 15234: warning: variable "i" was declared but never referenced int i,j; ^ "./XFEL_SPB.c", line 15234: warning: variable "j" was declared but never referenced int i,j; ^ "./XFEL_SPB.c", line 15845: warning: variable "z1" was set but never used double xx,yy,x1,y1,z1; ^ "./XFEL_SPB.c", line 15847: warning: variable "F1" was declared but never referenced double F1=1.0; ^ "./XFEL_SPB.c", line 16006: warning: variable "k" was declared but never referenced int i,j,k; ^ "./XFEL_SPB.c", line 16007: warning: variable "e" was declared but never referenced double e,p2; ^ "./XFEL_SPB.c", line 16160: warning: variable "s2" was declared but never referenced double s2x,s2y,s2z,s2; ^ "./XFEL_SPB.c", line 16161: warning: variable "alpha" was declared but never referenced double F,k,e,theta,alpha,delta; ^ "./XFEL_SPB.c", line 16431: warning: variable "Ex0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./XFEL_SPB.c", line 16431: warning: variable "Ey0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./XFEL_SPB.c", line 16431: warning: variable "Ez0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./XFEL_SPB.c", line 16387: warning: variable "Thetaout" was declared but never referenced double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./XFEL_SPB.c", line 20018: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./XFEL_SPB.c", line 19958: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./XFEL_SPB.c", line 1245: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./XFEL_SPB.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 (./XFEL_SPB.c: 8349) 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 (./XFEL_SPB.c: 8349) 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 (./XFEL_SPB.c: 8349) 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 (./XFEL_SPB.c: 8349) 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 (./XFEL_SPB.c: 8349) 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 (./XFEL_SPB.c: 8571) 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 (./XFEL_SPB.c: 8571) 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 (./XFEL_SPB.c: 8571) 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 (./XFEL_SPB.c: 8571) 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 (./XFEL_SPB.c: 8571) 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