INFO: No output directory specified (--dir) INFO: Using directory: "MAXIV_FemtoMAX_20220106_003228" INFO: Regenerating c-file: MAXIV_FemtoMAX.c DEBUG: CMD: mcxtrace -t -o ./MAXIV_FemtoMAX.c /zhome/7c/9/7041/TESTS/2022-01-06/McXtrace-3.0_CPU_PGCC_MC_1e7/MAXIV_FemtoMAX/MAXIV_FemtoMAX.instr CFLAGS= -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./MAXIV_FemtoMAX.out DEBUG: CMD: nvc -o ./MAXIV_FemtoMAX.out ./MAXIV_FemtoMAX.c -lm -lm -O2 -acc=multicore -DOPENACC -std=c99 "./MAXIV_FemtoMAX.c", line 4879: warning: pointless comparison of unsigned integer with zero state[4] = t < 0; ^ "./MAXIV_FemtoMAX.c", line 5786: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./MAXIV_FemtoMAX.c", line 5959: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./MAXIV_FemtoMAX.c", line 7718: warning: conversion from pointer to smaller integer int N=(unsigned int)((double **) pars)[0]; ^ "./MAXIV_FemtoMAX.c", line 7696: warning: variable "status" was declared but never referenced int status; ^ "./MAXIV_FemtoMAX.c", line 7807: warning: variable "status" was set but never used int status; ^ "./MAXIV_FemtoMAX.c", line 8006: warning: variable "R" was declared but never referenced double b_mu,R; ^ "./MAXIV_FemtoMAX.c", line 8066: warning: variable "k2" is used before its value is set qpd=csqrt(q*q - 8*k2* *(pp->delta) + I*8*k2* *(pp->beta)); ^ "./MAXIV_FemtoMAX.c", line 8061: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./MAXIV_FemtoMAX.c", line 8084: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./MAXIV_FemtoMAX.c", line 8710: warning: variable "theta0" was declared but never referenced double lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./MAXIV_FemtoMAX.c", line 8876: warning: variable "alpha" was declared but never referenced double Arg,s,q,alpha,beta; ^ "./MAXIV_FemtoMAX.c", line 8876: warning: variable "beta" was declared but never referenced double Arg,s,q,alpha,beta; ^ "./MAXIV_FemtoMAX.c", line 9484: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./MAXIV_FemtoMAX.c", line 9485: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./MAXIV_FemtoMAX.c", line 10840: warning: variable "status" was set but never used int status=0; ^ "./MAXIV_FemtoMAX.c", line 10953: warning: variable "i" was declared but never referenced int i,j; ^ "./MAXIV_FemtoMAX.c", line 10953: warning: variable "j" was declared but never referenced int i,j; ^ "./MAXIV_FemtoMAX.c", line 10954: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./MAXIV_FemtoMAX.c", line 10954: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./MAXIV_FemtoMAX.c", line 10954: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./MAXIV_FemtoMAX.c", line 11097: warning: variable "status" was set but never used int status; ^ "./MAXIV_FemtoMAX.c", line 11146: warning: variable "status" was set but never used int status; ^ "./MAXIV_FemtoMAX.c", line 11231: warning: variable "status" was set but never used int status=0; ^ "./MAXIV_FemtoMAX.c", line 11285: warning: variable "status" was set but never used int status=0; ^ "./MAXIV_FemtoMAX.c", line 11620: warning: variable "kk" was declared but never referenced double kk,theta_x,theta_y,l,e,k; ^ "./MAXIV_FemtoMAX.c", line 11792: warning: variable "k" was declared but never referenced int i,j,k; ^ "./MAXIV_FemtoMAX.c", line 11793: warning: variable "e" was declared but never referenced double e,p2; ^ "./MAXIV_FemtoMAX.c", line 12156: warning: variable "Ex0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./MAXIV_FemtoMAX.c", line 12156: warning: variable "Ey0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./MAXIV_FemtoMAX.c", line 12156: warning: variable "Ez0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./MAXIV_FemtoMAX.c", line 12114: warning: variable "Thetaout" was declared but never referenced double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./MAXIV_FemtoMAX.c", line 12356: warning: variable "EE" was set but never used double QQ,EE,Ref; ^ "./MAXIV_FemtoMAX.c", line 12455: warning: subscript out of range parab_Cyl[6]=rough_xy; ^ "./MAXIV_FemtoMAX.c", line 12456: warning: subscript out of range parab_Cyl[7]=rough_z; ^ "./MAXIV_FemtoMAX.c", line 12445: warning: variable "i" was declared but never referenced int i=0,nr; ^ "./MAXIV_FemtoMAX.c", line 12447: warning: variable "E" was declared but never referenced double E,mu,f,rhoel,dl,d_total,e,k,delta,beta,Refractive_Index_Re,Refractive_Index_Im; ^ "./MAXIV_FemtoMAX.c", line 12447: warning: variable "Refractive_Index_Im" was set but never used double E,mu,f,rhoel,dl,d_total,e,k,delta,beta,Refractive_Index_Re,Refractive_Index_Im; ^ "./MAXIV_FemtoMAX.c", line 14412: warning: variable "x1" was declared but never referenced double x1,y1,z1,z_el,y_el; ^ "./MAXIV_FemtoMAX.c", line 14691: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./MAXIV_FemtoMAX.c", line 14631: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./MAXIV_FemtoMAX.c", line 1257: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./MAXIV_FemtoMAX.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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8404) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 8626) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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 (./MAXIV_FemtoMAX.c: 12483) 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