INFO: No output directory specified (--dir) INFO: Using directory: "Samples_Incoherent_20220401_012412" INFO: Regenerating c-file: Samples_Incoherent.c DEBUG: CMD: mcstas -t -o ./Samples_Incoherent.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_5e7/Samples_Incoherent/Samples_Incoherent.instr Info: 'ISIS_moderator' is a contributed component. CFLAGS= -DUSE_OFF WARNING: The parameter format of PowN 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. WARNING: The parameter mosaic_AB of SX 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. WARNING: The parameter powder_format of Sqw 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Samples_Incoherent.out DEBUG: CMD: nvc -o ./Samples_Incoherent.out ./Samples_Incoherent.c -lm -ta:tesla,managed -DOPENACC -DUSE_OFF "./Samples_Incoherent.c", line 6274: warning: nested comment is not allowed /* ^ "./Samples_Incoherent.c", line 6258: warning: variable "Efrac" was declared but never referenced double Efrac; // Fraction of an Energy Bin ^ "./Samples_Incoherent.c", line 6268: warning: variable "i" was declared but never referenced int i; ^ "./Samples_Incoherent.c", line 6418: warning: variable "i" was declared but never referenced int i; ^ "./Samples_Incoherent.c", line 6421: warning: variable "Rend" was set but never used double R0,R1,R,Rend; ^ "./Samples_Incoherent.c", line 6426: warning: variable "Estart" was set but never used double Espread,Estart; ^ "./Samples_Incoherent.c", line 6427: warning: variable "EX" was declared but never referenced double *EX; ^ "./Samples_Incoherent.c", line 10729: warning: variable "jglobal" was declared but never referenced int jglobal=-1; ^ "./Samples_Incoherent.c", line 10730: warning: variable "coherent_refl" was set but never used double coherent_refl,coherent_xsect; ^ "./Samples_Incoherent.c", line 10730: warning: variable "coherent_xsect" was set but never used double coherent_refl,coherent_xsect; ^ "./Samples_Incoherent.c", line 11536: warning: variable "n" was declared but never referenced double n; ^ "./Samples_Incoherent.c", line 11515: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./Samples_Incoherent.c", line 11516: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./Samples_Incoherent.c", line 11427: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./Samples_Incoherent.c", line 11427: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./Samples_Incoherent.c", line 15248: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Samples_Incoherent.c", line 15249: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Samples_Incoherent.c", line 17152: warning: variable "as" was declared but never referenced double as, bs, cs; ^ "./Samples_Incoherent.c", line 17152: warning: variable "bs" was declared but never referenced double as, bs, cs; ^ "./Samples_Incoherent.c", line 17152: warning: variable "cs" was declared but never referenced double as, bs, cs; ^ "./Samples_Incoherent.c", line 17153: warning: variable "i" was declared but never referenced int i=0; ^ "./Samples_Incoherent.c", line 18024: warning: variable "E" was declared but never referenced double v,r,E; ^ "./Samples_Incoherent.c", line 18255: warning: variable "l_i" was set but never used double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./Samples_Incoherent.c", line 18255: warning: variable "l_o" was declared but never referenced double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./Samples_Incoherent.c", line 18563: warning: variable "type" was set but never used char type = '\0'; ^ "./Samples_Incoherent.c", line 18564: warning: variable "itype" was set but never used int itype = 0; ^ "./Samples_Incoherent.c", line 18567: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./Samples_Incoherent.c", line 18570: warning: variable "vcache" was set but never used double vcache = line_info.v; ^ "./Samples_Incoherent.c", line 18574: warning: variable "lfree" was set but never used double lfree = line_info.lfree; ^ "./Samples_Incoherent.c", line 18576: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./Samples_Incoherent.c", line 18577: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./Samples_Incoherent.c", line 18578: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./Samples_Incoherent.c", line 18580: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./Samples_Incoherent.c", line 19040: warning: variable "rho_x" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Samples_Incoherent.c", line 19040: warning: variable "rho_y" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Samples_Incoherent.c", line 19040: warning: variable "rho_z" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Samples_Incoherent.c", line 19041: warning: variable "rho" was declared but never referenced double rho; ^ "./Samples_Incoherent.c", line 19042: warning: variable "diff" was declared but never referenced double diff; /* Deviation from Bragg condition */ ^ "./Samples_Incoherent.c", line 19043: warning: variable "ox" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Samples_Incoherent.c", line 19043: warning: variable "oy" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Samples_Incoherent.c", line 19043: warning: variable "oz" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Samples_Incoherent.c", line 19044: warning: variable "b1x" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Samples_Incoherent.c", line 19044: warning: variable "b1y" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Samples_Incoherent.c", line 19044: warning: variable "b1z" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Samples_Incoherent.c", line 19045: warning: variable "b2x" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Samples_Incoherent.c", line 19045: warning: variable "b2y" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Samples_Incoherent.c", line 19045: warning: variable "b2z" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Samples_Incoherent.c", line 19046: warning: variable "n11" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Samples_Incoherent.c", line 19046: warning: variable "n12" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Samples_Incoherent.c", line 19046: warning: variable "n22" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Samples_Incoherent.c", line 19047: warning: variable "det_N" was declared but never referenced double det_N; /* Determinant of N */ ^ "./Samples_Incoherent.c", line 19048: warning: variable "inv_n11" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Samples_Incoherent.c", line 19048: warning: variable "inv_n12" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Samples_Incoherent.c", line 19048: warning: variable "inv_n22" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Samples_Incoherent.c", line 19049: warning: variable "l11" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Samples_Incoherent.c", line 19049: warning: variable "l12" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Samples_Incoherent.c", line 19049: warning: variable "l22" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Samples_Incoherent.c", line 19050: warning: variable "det_L" was declared but never referenced double det_L; /* Determinant of L */ ^ "./Samples_Incoherent.c", line 19051: warning: variable "Bt_D_O_x" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Samples_Incoherent.c", line 19051: warning: variable "Bt_D_O_y" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Samples_Incoherent.c", line 19052: warning: variable "y0x" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Samples_Incoherent.c", line 19052: warning: variable "y0y" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Samples_Incoherent.c", line 19053: warning: variable "alpha" was declared but never referenced double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./Samples_Incoherent.c", line 19060: warning: variable "tot_xsect" was declared but never referenced double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./Samples_Incoherent.c", line 19067: warning: variable "theta" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./Samples_Incoherent.c", line 19067: warning: variable "phi" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./Samples_Incoherent.c", line 19076: warning: variable "type" was set but never used char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./Samples_Incoherent.c", line 19553: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./Samples_Incoherent.c", line 19584: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./Samples_Incoherent.c", line 19585: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./Samples_Incoherent.c", line 19585: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./Samples_Incoherent.c", line 23225: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Samples_Incoherent.c", line 23165: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Samples_Incoherent.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Samples_Incoherent.c", line 2501: 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