loading system configuration loading override configuration from /zhome/89/0/38697/mxtest/mctest/../mccodelib/mcxtrace-test/McXtrace_GPU_PGCC_TESLA_KISS/mccode_config.json INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_PX2a_20220801_001626" INFO: Regenerating c-file: SOLEIL_PX2a.c DEBUG: CMD: mcxtrace -t -o ./SOLEIL_PX2a.c /zhome/89/0/38697/xTESTS/2022-08-01/McXtrace_GPU_PGCC_TESLA_KISS_5e7/SOLEIL_PX2a/SOLEIL_PX2a.instr CFLAGS= -I@MCCODE_LIB@/miniconda3/include -L@MCCODE_LIB@/miniconda3/lib -lgsl -lgslcblas -DFUNNEL -std=c99 WARNING: The parameter mosaic_AB of sample is initialized 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 sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component undulator is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component undulator -> GPU kernel from component bragg_crystal_location -> SPLIT within buffer at component sample ----------------------------------------------------------- INFO: Recompiling: ./SOLEIL_PX2a.out DEBUG: CMD: nvc -o ./SOLEIL_PX2a.out ./SOLEIL_PX2a.c -lm -ta:tesla,managed -DOPENACC -I/zhome/89/0/38697/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/../mccodelib/../../../miniconda3/include -L/zhome/89/0/38697/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/../mccodelib/../../../miniconda3/lib -lgsl -lgslcblas -DFUNNEL -std=c99 "./SOLEIL_PX2a.c", line 4104: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./SOLEIL_PX2a.c", line 4023: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./SOLEIL_PX2a.c", line 5725: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./SOLEIL_PX2a.c", line 5898: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./SOLEIL_PX2a.c", line 8033: warning: variable "theta0" was declared but never referenced double lambda,theta,theta0,DeltaThetas,a,d,b,C,W,kappa,g,L; ^ "./SOLEIL_PX2a.c", line 8302: warning: conversion from pointer to smaller integer int N=(unsigned int)((double **) pars)[0]; ^ "./SOLEIL_PX2a.c", line 8280: warning: variable "status" was declared but never referenced int status; ^ "./SOLEIL_PX2a.c", line 8391: warning: variable "status" was set but never used int status; ^ "./SOLEIL_PX2a.c", line 8590: warning: variable "R" was declared but never referenced double b_mu,R; ^ "./SOLEIL_PX2a.c", line 8650: warning: variable "k2" is used before its value is set qpd=csqrt(q*q - 8*k2* *(pp->delta) + I*8*k2* *(pp->beta)); ^ "./SOLEIL_PX2a.c", line 8645: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./SOLEIL_PX2a.c", line 8668: warning: variable "qinf" was declared but never referenced double complex qinf; ^ "./SOLEIL_PX2a.c", line 9163: warning: integer conversion resulted in a change of sign Vars->OFF_polyidx = -1; ^ "./SOLEIL_PX2a.c", line 10165: warning: variable "ratio" was set but never used double ratio; ^ "./SOLEIL_PX2a.c", line 10680: warning: variable "y0" is used before its value is set if (y0 < ymin) y0=ymin; ^ "./SOLEIL_PX2a.c", line 10682: warning: variable "y1" is used before its value is set if (y1 < ymin) y1=ymin; ^ "./SOLEIL_PX2a.c", line 12468: warning: variable "jglobal" was declared but never referenced int jglobal=-1; ^ "./SOLEIL_PX2a.c", line 12469: warning: variable "coherent_refl" was set but never used double coherent_refl,coherent_xsect; ^ "./SOLEIL_PX2a.c", line 12469: warning: variable "coherent_xsect" was set but never used double coherent_refl,coherent_xsect; ^ "./SOLEIL_PX2a.c", line 12605: warning: missing return statement at end of non-void function "sx_read_abs_data" } ^ "./SOLEIL_PX2a.c", line 12583: warning: variable "status" was set but never used int status; ^ "./SOLEIL_PX2a.c", line 12584: warning: variable "parsing" was set but never used char **parsing; ^ "./SOLEIL_PX2a.c", line 13077: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./SOLEIL_PX2a.c", line 13078: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./SOLEIL_PX2a.c", line 14233: warning: variable "status" was set but never used int status; ^ "./SOLEIL_PX2a.c", line 14323: warning: variable "status" was set but never used int status; ^ "./SOLEIL_PX2a.c", line 14580: warning: variable "as" was declared but never referenced double as, bs, cs; ^ "./SOLEIL_PX2a.c", line 14580: warning: variable "bs" was declared but never referenced double as, bs, cs; ^ "./SOLEIL_PX2a.c", line 14580: warning: variable "cs" was declared but never referenced double as, bs, cs; ^ "./SOLEIL_PX2a.c", line 14581: warning: variable "i" was declared but never referenced int i=0; ^ "./SOLEIL_PX2a.c", line 14734: warning: variable "i" was declared but never referenced int i,j; ^ "./SOLEIL_PX2a.c", line 14734: warning: variable "j" was declared but never referenced int i,j; ^ "./SOLEIL_PX2a.c", line 14735: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./SOLEIL_PX2a.c", line 14735: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./SOLEIL_PX2a.c", line 14735: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./SOLEIL_PX2a.c", line 15053: warning: variable "l" was declared but never referenced double k,e,l,w_u,r,w; ^ "./SOLEIL_PX2a.c", line 15053: warning: variable "r" was declared but never referenced double k,e,l,w_u,r,w; ^ "./SOLEIL_PX2a.c", line 15296: warning: variable "Ex0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./SOLEIL_PX2a.c", line 15296: warning: variable "Ey0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./SOLEIL_PX2a.c", line 15296: warning: variable "Ez0" was declared but never referenced double kx0=kx, ky0=ky, kz0=kz, Ex0=Ex, Ey0=Ey, Ez0=Ez; ^ "./SOLEIL_PX2a.c", line 15252: warning: variable "Thetaout" was declared but never referenced double Thetaout; // (rad) angle between the crystal surface and the reflected ray ^ "./SOLEIL_PX2a.c", line 15419: warning: variable "ty" was set but never used double k,l0,l1,l2,l3,tx,ty,tz; ^ "./SOLEIL_PX2a.c", line 15871: warning: variable "rho_x" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./SOLEIL_PX2a.c", line 15871: warning: variable "rho_y" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./SOLEIL_PX2a.c", line 15871: warning: variable "rho_z" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./SOLEIL_PX2a.c", line 15872: warning: variable "rho" was declared but never referenced double rho; ^ "./SOLEIL_PX2a.c", line 15873: warning: variable "diff" was declared but never referenced double diff; /* Deviation from Bragg condition */ ^ "./SOLEIL_PX2a.c", line 15874: warning: variable "ox" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./SOLEIL_PX2a.c", line 15874: warning: variable "oy" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./SOLEIL_PX2a.c", line 15874: warning: variable "oz" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./SOLEIL_PX2a.c", line 15875: warning: variable "b1x" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 15875: warning: variable "b1y" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 15875: warning: variable "b1z" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 15876: warning: variable "b2x" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 15876: warning: variable "b2y" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 15876: warning: variable "b2z" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./SOLEIL_PX2a.c", line 15877: warning: variable "n11" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./SOLEIL_PX2a.c", line 15877: warning: variable "n12" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./SOLEIL_PX2a.c", line 15877: warning: variable "n22" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./SOLEIL_PX2a.c", line 15878: warning: variable "det_N" was declared but never referenced double det_N; /* Determinant of N */ ^ "./SOLEIL_PX2a.c", line 15879: warning: variable "inv_n11" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./SOLEIL_PX2a.c", line 15879: warning: variable "inv_n12" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./SOLEIL_PX2a.c", line 15879: warning: variable "inv_n22" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./SOLEIL_PX2a.c", line 15880: warning: variable "l11" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./SOLEIL_PX2a.c", line 15880: warning: variable "l12" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./SOLEIL_PX2a.c", line 15880: warning: variable "l22" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./SOLEIL_PX2a.c", line 15881: warning: variable "det_L" was declared but never referenced double det_L; /* Determinant of L */ ^ "./SOLEIL_PX2a.c", line 15882: warning: variable "Bt_D_O_x" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./SOLEIL_PX2a.c", line 15882: warning: variable "Bt_D_O_y" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./SOLEIL_PX2a.c", line 15883: warning: variable "y0x" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./SOLEIL_PX2a.c", line 15883: warning: variable "y0y" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./SOLEIL_PX2a.c", line 15884: warning: variable "alpha" was declared but never referenced double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./SOLEIL_PX2a.c", line 15887: warning: variable "l" was declared but never referenced double l; /* Path length to scattering event */ ^ "./SOLEIL_PX2a.c", line 15890: warning: variable "coh_xsect" was declared but never referenced double coh_xsect, coh_xlen; /* Coherent cross section and length */ ^ "./SOLEIL_PX2a.c", line 15893: warning: variable "coh_refl" was declared but never referenced double adjust, coh_refl; /* Temporaries */ ^ "./SOLEIL_PX2a.c", line 15894: warning: variable "r" was declared but never referenced double r, sum; /* Temporaries */ ^ "./SOLEIL_PX2a.c", line 15895: warning: variable "xsect_factor" was declared but never referenced double xsect_factor; /* Common factor in coherent cross-section */ ^ "./SOLEIL_PX2a.c", line 16209: warning: variable "k" was declared but never referenced int i,j,k; ^ "./SOLEIL_PX2a.c", line 16210: warning: variable "e" was declared but never referenced double e,p2; ^ "./SOLEIL_PX2a.c", line 18456: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./SOLEIL_PX2a.c", line 18396: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./SOLEIL_PX2a.c", line 1245: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./SOLEIL_PX2a.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 (./SOLEIL_PX2a.c: 7727) 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 (./SOLEIL_PX2a.c: 7727) 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 (./SOLEIL_PX2a.c: 7727) 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 (./SOLEIL_PX2a.c: 7727) 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 (./SOLEIL_PX2a.c: 7727) 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 (./SOLEIL_PX2a.c: 7949) 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 (./SOLEIL_PX2a.c: 7949) 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 (./SOLEIL_PX2a.c: 7949) 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 (./SOLEIL_PX2a.c: 7949) 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 (./SOLEIL_PX2a.c: 7949) NVC++/x86-64 Linux 21.9-0: compilation completed with warnings INFO: ===