INFO: No output directory specified (--dir) INFO: Using directory: "MAXIV_FemtoMAX_20220601_001307" INFO: Regenerating c-file: MAXIV_FemtoMAX.c DEBUG: CMD: mcxtrace -t -o ./MAXIV_FemtoMAX.c /zhome/89/0/38697/xTESTS/2022-06-01/McXtrace_GPU_PGCC_TESLA_KISS_5e7/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 -ta:tesla,managed -DOPENACC -std=c99 "./MAXIV_FemtoMAX.c", line 5725: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./MAXIV_FemtoMAX.c", line 5898: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./MAXIV_FemtoMAX.c", line 7658: warning: conversion from pointer to smaller integer int N=(unsigned int)((double **) pars)[0]; ^ "./MAXIV_FemtoMAX.c", line 7636: warning: variable "status" was declared but never referenced int status; ^ "./MAXIV_FemtoMAX.c", line 7747: warning: variable "status" was set but never used int status; ^ "./MAXIV_FemtoMAX.c", line 7946: warning: variable "R" was declared but never referenced double b_mu,R; ^ "./MAXIV_FemtoMAX.c", line 8006: 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 8001: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./MAXIV_FemtoMAX.c", line 8024: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./MAXIV_FemtoMAX.c", line 8650: 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 8816: warning: variable "alpha" was declared but never referenced double Arg,s,q,alpha,beta; ^ "./MAXIV_FemtoMAX.c", line 8816: warning: variable "beta" was declared but never referenced double Arg,s,q,alpha,beta; ^ "./MAXIV_FemtoMAX.c", line 9424: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./MAXIV_FemtoMAX.c", line 9425: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./MAXIV_FemtoMAX.c", line 10780: warning: variable "status" was set but never used int status=0; ^ "./MAXIV_FemtoMAX.c", line 10893: warning: variable "i" was declared but never referenced int i,j; ^ "./MAXIV_FemtoMAX.c", line 10893: warning: variable "j" was declared but never referenced int i,j; ^ "./MAXIV_FemtoMAX.c", line 10894: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./MAXIV_FemtoMAX.c", line 10894: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./MAXIV_FemtoMAX.c", line 10894: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./MAXIV_FemtoMAX.c", line 11037: warning: variable "status" was set but never used int status; ^ "./MAXIV_FemtoMAX.c", line 11086: warning: variable "status" was set but never used int status; ^ "./MAXIV_FemtoMAX.c", line 11171: warning: variable "status" was set but never used int status=0; ^ "./MAXIV_FemtoMAX.c", line 11225: warning: variable "status" was set but never used int status=0; ^ "./MAXIV_FemtoMAX.c", line 11560: warning: variable "kk" was declared but never referenced double kk,theta_x,theta_y,l,e,k; ^ "./MAXIV_FemtoMAX.c", line 11732: warning: variable "k" was declared but never referenced int i,j,k; ^ "./MAXIV_FemtoMAX.c", line 11733: warning: variable "e" was declared but never referenced double e,p2; ^ "./MAXIV_FemtoMAX.c", line 12098: 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 12098: 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 12098: 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 12054: warning: variable "Thetaout" was declared but never referenced double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./MAXIV_FemtoMAX.c", line 12299: warning: variable "EE" was set but never used double QQ,EE,Ref; ^ "./MAXIV_FemtoMAX.c", line 12398: warning: subscript out of range parab_Cyl[6]=rough_xy; ^ "./MAXIV_FemtoMAX.c", line 12399: warning: subscript out of range parab_Cyl[7]=rough_z; ^ "./MAXIV_FemtoMAX.c", line 12388: warning: variable "i" was declared but never referenced int i=0,nr; ^ "./MAXIV_FemtoMAX.c", line 12390: 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 12390: 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 14355: warning: variable "x1" was declared but never referenced double x1,y1,z1,z_el,y_el; ^ "./MAXIV_FemtoMAX.c", line 14634: 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 14574: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./MAXIV_FemtoMAX.c", line 1245: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./MAXIV_FemtoMAX.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 (./MAXIV_FemtoMAX.c: 8344) 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: 8344) 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: 8344) 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: 8344) 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: 8344) 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: 8566) 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: 8566) 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: 8566) 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: 8566) 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: 8566) 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