INFO: No output directory specified (--dir) INFO: Using directory: "MAXIV_DanMAX_pxrd1d_20220106_003150" INFO: Regenerating c-file: MAXIV_DanMAX_pxrd1d.c DEBUG: CMD: mcxtrace -t -o ./MAXIV_DanMAX_pxrd1d.c /zhome/7c/9/7041/TESTS/2022-01-06/McXtrace-3.0_CPU_PGCC_MC_1e7/MAXIV_DanMAX_pxrd1d/MAXIV_DanMAX_pxrd1d.instr CFLAGS= -I@MCCODE_LIB@/miniconda3/include -L@MCCODE_LIB@/miniconda3/lib -lgsl -lgslcblas -DFUNNEL -std=c99 WARNING: The parameter format of powdern is intitalized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter mat_format of powdern is intitalized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component powdern ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component dmu is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component dmu -> GPU kernel from component src_psd -> SPLIT within buffer at component powdern ----------------------------------------------------------- INFO: Recompiling: ./MAXIV_DanMAX_pxrd1d.out DEBUG: CMD: nvc -o ./MAXIV_DanMAX_pxrd1d.out ./MAXIV_DanMAX_pxrd1d.c -lm -lm -O2 -acc=multicore -DOPENACC -I/zhome/7c/9/7041/McXtrace/mcxtrace/3.0-dev/tools/Python/mxrun/../mccodelib/../../../miniconda3/include -L/zhome/7c/9/7041/McXtrace/mcxtrace/3.0-dev/tools/Python/mxrun/../mccodelib/../../../miniconda3/lib -lgsl -lgslcblas -DFUNNEL -std=c99 "./MAXIV_DanMAX_pxrd1d.c", line 4116: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./MAXIV_DanMAX_pxrd1d.c", line 4035: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./MAXIV_DanMAX_pxrd1d.c", line 4879: warning: pointless comparison of unsigned integer with zero state[4] = t < 0; ^ "./MAXIV_DanMAX_pxrd1d.c", line 5786: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./MAXIV_DanMAX_pxrd1d.c", line 5959: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./MAXIV_DanMAX_pxrd1d.c", line 6512: warning: integer conversion resulted in a change of sign Vars->OFF_polyidx = -1; ^ "./MAXIV_DanMAX_pxrd1d.c", line 7514: warning: variable "ratio" was set but never used double ratio; ^ "./MAXIV_DanMAX_pxrd1d.c", line 8029: warning: variable "y0" is used before its value is set if (y0 < ymin) y0=ymin; ^ "./MAXIV_DanMAX_pxrd1d.c", line 8031: warning: variable "y1" is used before its value is set if (y1 < ymin) y1=ymin; ^ "./MAXIV_DanMAX_pxrd1d.c", line 11296: warning: variable "theta0" was declared but never referenced double lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./MAXIV_DanMAX_pxrd1d.c", line 11565: warning: conversion from pointer to smaller integer int N=(unsigned int)((double **) pars)[0]; ^ "./MAXIV_DanMAX_pxrd1d.c", line 11543: warning: variable "status" was declared but never referenced int status; ^ "./MAXIV_DanMAX_pxrd1d.c", line 11654: warning: variable "status" was set but never used int status; ^ "./MAXIV_DanMAX_pxrd1d.c", line 11853: warning: variable "R" was declared but never referenced double b_mu,R; ^ "./MAXIV_DanMAX_pxrd1d.c", line 11913: warning: variable "k2" is used before its value is set qpd=csqrt(q*q - 8*k2* *(pp->delta) + I*8*k2* *(pp->beta)); ^ "./MAXIV_DanMAX_pxrd1d.c", line 11908: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./MAXIV_DanMAX_pxrd1d.c", line 11931: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./MAXIV_DanMAX_pxrd1d.c", line 12097: warning: variable "Arg1" was declared but never referenced double cos_theta,cos_theta1,Arg,Arg1,s,q; ^ "./MAXIV_DanMAX_pxrd1d.c", line 12098: warning: variable "k_new1" was declared but never referenced double k_new[3],k_new1[3],M,Sign,dd; ^ "./MAXIV_DanMAX_pxrd1d.c", line 13481: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./MAXIV_DanMAX_pxrd1d.c", line 13482: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./MAXIV_DanMAX_pxrd1d.c", line 18710: warning: variable "status" was set but never used int status=0; ^ "./MAXIV_DanMAX_pxrd1d.c", line 18790: warning: variable "status" was set but never used int status; ^ "./MAXIV_DanMAX_pxrd1d.c", line 18915: warning: variable "status" was set but never used int status=0; ^ "./MAXIV_DanMAX_pxrd1d.c", line 19158: warning: variable "status" was set but never used int status; ^ "./MAXIV_DanMAX_pxrd1d.c", line 19252: warning: variable "i" was declared but never referenced int i,j; ^ "./MAXIV_DanMAX_pxrd1d.c", line 19252: warning: variable "j" was declared but never referenced int i,j; ^ "./MAXIV_DanMAX_pxrd1d.c", line 19253: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./MAXIV_DanMAX_pxrd1d.c", line 19253: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./MAXIV_DanMAX_pxrd1d.c", line 19253: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./MAXIV_DanMAX_pxrd1d.c", line 19983: warning: variable "l" was declared but never referenced double k,e,l,w_u,r,w; ^ "./MAXIV_DanMAX_pxrd1d.c", line 19983: warning: variable "r" was declared but never referenced double k,e,l,w_u,r,w; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20493: warning: expression has no effect 1; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20529: warning: expression has no effect 1; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20459: warning: variable "alpha" was declared but never referenced double alpha,e,k,mu,mu0,delta,beta,f; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20459: warning: variable "mu" was declared but never referenced double alpha,e,k,mu,mu0,delta,beta,f; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20459: warning: variable "beta" was set but never used double alpha,e,k,mu,mu0,delta,beta,f; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20461: warning: variable "i" was declared but never referenced int i,status=0; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20650: warning: variable "Ex0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20650: warning: variable "Ey0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20650: warning: variable "Ez0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20608: warning: variable "Thetaout" was declared but never referenced double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./MAXIV_DanMAX_pxrd1d.c", line 20780: warning: variable "ty" was set but never used double k,l0,l1,l2,l3,tx,ty,tz; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20861: warning: variable "status" was declared but never referenced int status,hit; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20862: warning: variable "l0" was declared but never referenced double l0,l1,l2,l3,tx,ty,tz; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20862: warning: variable "l1" was declared but never referenced double l0,l1,l2,l3,tx,ty,tz; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20862: warning: variable "l2" was declared but never referenced double l0,l1,l2,l3,tx,ty,tz; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20862: warning: variable "l3" was declared but never referenced double l0,l1,l2,l3,tx,ty,tz; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20862: warning: variable "tx" was declared but never referenced double l0,l1,l2,l3,tx,ty,tz; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20862: warning: variable "ty" was declared but never referenced double l0,l1,l2,l3,tx,ty,tz; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20862: warning: variable "tz" was declared but never referenced double l0,l1,l2,l3,tx,ty,tz; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20942: 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,w; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20942: 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,w; ^ "./MAXIV_DanMAX_pxrd1d.c", line 20945: warning: variable "i" was declared but never referenced int i=0,nr; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21081: warning: variable "type" was set but never used char type = '\0'; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21082: warning: variable "itype" was set but never used int itype = 0; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21085: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21086: warning: variable "nb_refl" was declared but never referenced int nb_refl = line_info.nb_refl; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21087: warning: variable "nb_refl_count" was declared but never referenced int nb_refl_count = line_info.nb_refl_count; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21088: warning: variable "kcache" was declared but never referenced double kcache = line_info.k; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21090: warning: variable "k_min" was declared but never referenced double k_min = line_info.k_min; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21091: warning: variable "k_max" was declared but never referenced double k_max = line_info.k_max; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21092: warning: variable "lfree" was declared but never referenced double lfree = line_info.lfree; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21094: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21095: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21096: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21098: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21509: warning: variable "x0" is used before its value is set dl=sqrt((x-x0)*(x-x0)+(y-y0)*(y-y0)+(z-z0)*(z-z0)); ^ "./MAXIV_DanMAX_pxrd1d.c", line 21509: warning: variable "y0" is used before its value is set dl=sqrt((x-x0)*(x-x0)+(y-y0)*(y-y0)+(z-z0)*(z-z0)); ^ "./MAXIV_DanMAX_pxrd1d.c", line 21509: warning: variable "z0" is used before its value is set dl=sqrt((x-x0)*(x-x0)+(y-y0)*(y-y0)+(z-z0)*(z-z0)); ^ "./MAXIV_DanMAX_pxrd1d.c", line 21557: warning: variable "k" was declared but never referenced int i,j,k; ^ "./MAXIV_DanMAX_pxrd1d.c", line 21558: warning: variable "e" was declared but never referenced double e,p2; ^ "./MAXIV_DanMAX_pxrd1d.c", line 26336: warning: variable "z_c" was set but never used double z_c,zdepth,w; ^ "./MAXIV_DanMAX_pxrd1d.c", line 26342: warning: variable "i" was declared but never referenced int i,j=0; ^ "./MAXIV_DanMAX_pxrd1d.c", line 26997: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./MAXIV_DanMAX_pxrd1d.c", line 26937: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./MAXIV_DanMAX_pxrd1d.c", line 1257: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./MAXIV_DanMAX_pxrd1d.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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 10990) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 11212) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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_DanMAX_pxrd1d.c: 20977) 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