INFO: No output directory specified (--dir) INFO: Using directory: "Test_SX_20220201_002408" INFO: Regenerating c-file: Test_SX.c DEBUG: CMD: mcxtrace -t -o ./Test_SX.c /zhome/89/0/38697/xTESTS/2022-02-01/McXtrace_GPU_PGCC_TESLA_KISS_5e7/Test_SX/Test_SX.instr CFLAGS= WARNING: The parameter mosaic_AB of sample 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Test_SX.out DEBUG: CMD: nvc -o ./Test_SX.out ./Test_SX.c -lm -ta:tesla,managed -DOPENACC "./Test_SX.c", line 5715: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./Test_SX.c", line 5888: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./Test_SX.c", line 9184: warning: variable "jglobal" was declared but never referenced int jglobal=-1; ^ "./Test_SX.c", line 9185: warning: variable "coherent_refl" was set but never used double coherent_refl,coherent_xsect; ^ "./Test_SX.c", line 9185: warning: variable "coherent_xsect" was set but never used double coherent_refl,coherent_xsect; ^ "./Test_SX.c", line 9321: warning: missing return statement at end of non-void function "sx_read_abs_data" } ^ "./Test_SX.c", line 9299: warning: variable "status" was set but never used int status; ^ "./Test_SX.c", line 9300: warning: variable "parsing" was set but never used char **parsing; ^ "./Test_SX.c", line 9558: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_SX.c", line 9559: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_SX.c", line 9809: warning: variable "status" was set but never used int status=0; ^ "./Test_SX.c", line 9879: warning: variable "i" was declared but never referenced int i,j; ^ "./Test_SX.c", line 9879: warning: variable "j" was declared but never referenced int i,j; ^ "./Test_SX.c", line 9880: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_SX.c", line 9880: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_SX.c", line 9880: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_SX.c", line 9958: warning: variable "as" was declared but never referenced double as, bs, cs; ^ "./Test_SX.c", line 9958: warning: variable "bs" was declared but never referenced double as, bs, cs; ^ "./Test_SX.c", line 9958: warning: variable "cs" was declared but never referenced double as, bs, cs; ^ "./Test_SX.c", line 9959: warning: variable "i" was declared but never referenced int i=0; ^ "./Test_SX.c", line 10104: warning: variable "i" was declared but never referenced int i,j; ^ "./Test_SX.c", line 10104: warning: variable "j" was declared but never referenced int i,j; ^ "./Test_SX.c", line 10347: warning: variable "k" was declared but never referenced int i,j,k; ^ "./Test_SX.c", line 10348: warning: variable "e" was declared but never referenced double e,p2; ^ "./Test_SX.c", line 10466: warning: variable "rho_x" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Test_SX.c", line 10466: warning: variable "rho_y" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Test_SX.c", line 10466: warning: variable "rho_z" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Test_SX.c", line 10467: warning: variable "rho" was declared but never referenced double rho; ^ "./Test_SX.c", line 10468: warning: variable "diff" was declared but never referenced double diff; /* Deviation from Bragg condition */ ^ "./Test_SX.c", line 10469: warning: variable "ox" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_SX.c", line 10469: warning: variable "oy" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_SX.c", line 10469: warning: variable "oz" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Test_SX.c", line 10470: warning: variable "b1x" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_SX.c", line 10470: warning: variable "b1y" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_SX.c", line 10470: warning: variable "b1z" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Test_SX.c", line 10471: warning: variable "b2x" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_SX.c", line 10471: warning: variable "b2y" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_SX.c", line 10471: warning: variable "b2z" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Test_SX.c", line 10472: warning: variable "n11" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_SX.c", line 10472: warning: variable "n12" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_SX.c", line 10472: warning: variable "n22" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Test_SX.c", line 10473: warning: variable "det_N" was declared but never referenced double det_N; /* Determinant of N */ ^ "./Test_SX.c", line 10474: warning: variable "inv_n11" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_SX.c", line 10474: warning: variable "inv_n12" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_SX.c", line 10474: warning: variable "inv_n22" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Test_SX.c", line 10475: warning: variable "l11" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Test_SX.c", line 10475: warning: variable "l12" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Test_SX.c", line 10475: warning: variable "l22" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Test_SX.c", line 10476: warning: variable "det_L" was declared but never referenced double det_L; /* Determinant of L */ ^ "./Test_SX.c", line 10477: warning: variable "Bt_D_O_x" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Test_SX.c", line 10477: warning: variable "Bt_D_O_y" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Test_SX.c", line 10478: warning: variable "y0x" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_SX.c", line 10478: warning: variable "y0y" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Test_SX.c", line 10479: warning: variable "alpha" was declared but never referenced double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./Test_SX.c", line 10482: warning: variable "l" was declared but never referenced double l; /* Path length to scattering event */ ^ "./Test_SX.c", line 10485: warning: variable "coh_xsect" was declared but never referenced double coh_xsect, coh_xlen; /* Coherent cross section and length */ ^ "./Test_SX.c", line 10488: warning: variable "coh_refl" was declared but never referenced double adjust, coh_refl; /* Temporaries */ ^ "./Test_SX.c", line 10489: warning: variable "r" was declared but never referenced double r, sum; /* Temporaries */ ^ "./Test_SX.c", line 10490: warning: variable "xsect_factor" was declared but never referenced double xsect_factor; /* Common factor in coherent cross-section */ ^ "./Test_SX.c", line 11932: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_SX.c", line 11872: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_SX.c", line 1235: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_SX.c", line 2476: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ 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