INFO: No output directory specified (--dir) INFO: Using directory: "templateLaue_20220201_023416" INFO: Regenerating c-file: templateLaue.c DEBUG: CMD: mcstas -t -o ./templateLaue.c /zhome/89/0/38697/TESTS/2022-02-01/McStas_GPU_PGCC_TESLA_KISS_5e7/templateLaue/templateLaue.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: ./templateLaue.out DEBUG: CMD: nvc -o ./templateLaue.out ./templateLaue.c -lm -ta:tesla,managed -DOPENACC "./templateLaue.c", line 9599: warning: variable "jglobal" was declared but never referenced int jglobal=-1; ^ "./templateLaue.c", line 9600: warning: variable "coherent_refl" was set but never used double coherent_refl,coherent_xsect; ^ "./templateLaue.c", line 9600: warning: variable "coherent_xsect" was set but never used double coherent_refl,coherent_xsect; ^ "./templateLaue.c", line 10020: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./templateLaue.c", line 10021: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./templateLaue.c", line 10064: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./templateLaue.c", line 10471: warning: variable "as" was declared but never referenced double as, bs, cs; ^ "./templateLaue.c", line 10471: warning: variable "bs" was declared but never referenced double as, bs, cs; ^ "./templateLaue.c", line 10471: warning: variable "cs" was declared but never referenced double as, bs, cs; ^ "./templateLaue.c", line 10472: warning: variable "i" was declared but never referenced int i=0; ^ "./templateLaue.c", line 11028: warning: variable "rho_x" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./templateLaue.c", line 11028: warning: variable "rho_y" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./templateLaue.c", line 11028: warning: variable "rho_z" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./templateLaue.c", line 11029: warning: variable "rho" was declared but never referenced double rho; ^ "./templateLaue.c", line 11030: warning: variable "diff" was declared but never referenced double diff; /* Deviation from Bragg condition */ ^ "./templateLaue.c", line 11031: warning: variable "ox" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./templateLaue.c", line 11031: warning: variable "oy" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./templateLaue.c", line 11031: warning: variable "oz" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./templateLaue.c", line 11032: warning: variable "b1x" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./templateLaue.c", line 11032: warning: variable "b1y" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./templateLaue.c", line 11032: warning: variable "b1z" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./templateLaue.c", line 11033: warning: variable "b2x" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./templateLaue.c", line 11033: warning: variable "b2y" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./templateLaue.c", line 11033: warning: variable "b2z" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./templateLaue.c", line 11034: warning: variable "n11" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./templateLaue.c", line 11034: warning: variable "n12" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./templateLaue.c", line 11034: warning: variable "n22" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./templateLaue.c", line 11035: warning: variable "det_N" was declared but never referenced double det_N; /* Determinant of N */ ^ "./templateLaue.c", line 11036: warning: variable "inv_n11" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./templateLaue.c", line 11036: warning: variable "inv_n12" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./templateLaue.c", line 11036: warning: variable "inv_n22" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./templateLaue.c", line 11037: warning: variable "l11" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./templateLaue.c", line 11037: warning: variable "l12" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./templateLaue.c", line 11037: warning: variable "l22" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./templateLaue.c", line 11038: warning: variable "det_L" was declared but never referenced double det_L; /* Determinant of L */ ^ "./templateLaue.c", line 11039: warning: variable "Bt_D_O_x" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./templateLaue.c", line 11039: warning: variable "Bt_D_O_y" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./templateLaue.c", line 11040: warning: variable "y0x" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./templateLaue.c", line 11040: warning: variable "y0y" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./templateLaue.c", line 11041: warning: variable "alpha" was declared but never referenced double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./templateLaue.c", line 11048: warning: variable "tot_xsect" was declared but never referenced double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./templateLaue.c", line 11055: warning: variable "theta" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./templateLaue.c", line 11055: warning: variable "phi" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./templateLaue.c", line 11064: warning: variable "type" was set but never used char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./templateLaue.c", line 12682: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./templateLaue.c", line 12622: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./templateLaue.c", line 1250: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./templateLaue.c", line 2491: 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/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_GPU_PGCC_TESLA_KISS/mccode_config.json