INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H22_VIVALDI_20220701_004459" INFO: Regenerating c-file: ILL_H22_VIVALDI.c DEBUG: CMD: mcstas -t -o ./ILL_H22_VIVALDI.c /zhome/89/0/38697/TESTS/2022-07-01/McStas_GPU_PGCC_TESLA_KISS_5e7/ILL_H22_VIVALDI/ILL_H22_VIVALDI.instr Info: 'Al_window' is a contributed component. CFLAGS= WARNING: The parameter format of Environment_in 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 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 SamplePos ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component SamplePos ----------------------------------------------------------- INFO: Recompiling: ./ILL_H22_VIVALDI.out DEBUG: CMD: nvc -o ./ILL_H22_VIVALDI.out ./ILL_H22_VIVALDI.c -lm -ta:tesla,managed -DOPENACC "./ILL_H22_VIVALDI.c", line 12459: warning: variable "jglobal" was declared but never referenced int jglobal=-1; ^ "./ILL_H22_VIVALDI.c", line 12460: warning: variable "coherent_refl" was set but never used double coherent_refl,coherent_xsect; ^ "./ILL_H22_VIVALDI.c", line 12460: warning: variable "coherent_xsect" was set but never used double coherent_refl,coherent_xsect; ^ "./ILL_H22_VIVALDI.c", line 13420: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ILL_H22_VIVALDI.c", line 13421: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ILL_H22_VIVALDI.c", line 22725: warning: variable "as" was declared but never referenced double as, bs, cs; ^ "./ILL_H22_VIVALDI.c", line 22725: warning: variable "bs" was declared but never referenced double as, bs, cs; ^ "./ILL_H22_VIVALDI.c", line 22725: warning: variable "cs" was declared but never referenced double as, bs, cs; ^ "./ILL_H22_VIVALDI.c", line 22726: warning: variable "i" was declared but never referenced int i=0; ^ "./ILL_H22_VIVALDI.c", line 24037: warning: variable "Al_my_tot" was set but never used double Al_s_tot_lambda,Al_my_tot,Al_my_a ; /* total XS (barn), total scattering length (m-1), absorption scat. length */ ^ "./ILL_H22_VIVALDI.c", line 24395: warning: variable "type" was set but never used char type = '\0'; ^ "./ILL_H22_VIVALDI.c", line 24396: warning: variable "itype" was set but never used int itype = 0; ^ "./ILL_H22_VIVALDI.c", line 24399: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./ILL_H22_VIVALDI.c", line 24402: warning: variable "vcache" was set but never used double vcache = line_info.v; ^ "./ILL_H22_VIVALDI.c", line 24406: warning: variable "lfree" was set but never used double lfree = line_info.lfree; ^ "./ILL_H22_VIVALDI.c", line 24408: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./ILL_H22_VIVALDI.c", line 24409: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./ILL_H22_VIVALDI.c", line 24410: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./ILL_H22_VIVALDI.c", line 24412: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./ILL_H22_VIVALDI.c", line 24892: warning: variable "rho_x" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./ILL_H22_VIVALDI.c", line 24892: warning: variable "rho_y" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./ILL_H22_VIVALDI.c", line 24892: warning: variable "rho_z" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./ILL_H22_VIVALDI.c", line 24893: warning: variable "rho" was declared but never referenced double rho; ^ "./ILL_H22_VIVALDI.c", line 24894: warning: variable "diff" was declared but never referenced double diff; /* Deviation from Bragg condition */ ^ "./ILL_H22_VIVALDI.c", line 24895: warning: variable "ox" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 24895: warning: variable "oy" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 24895: warning: variable "oz" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 24896: warning: variable "b1x" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 24896: warning: variable "b1y" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 24896: warning: variable "b1z" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 24897: warning: variable "b2x" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 24897: warning: variable "b2y" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 24897: warning: variable "b2z" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 24898: warning: variable "n11" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./ILL_H22_VIVALDI.c", line 24898: warning: variable "n12" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./ILL_H22_VIVALDI.c", line 24898: warning: variable "n22" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./ILL_H22_VIVALDI.c", line 24899: warning: variable "det_N" was declared but never referenced double det_N; /* Determinant of N */ ^ "./ILL_H22_VIVALDI.c", line 24900: warning: variable "inv_n11" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./ILL_H22_VIVALDI.c", line 24900: warning: variable "inv_n12" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./ILL_H22_VIVALDI.c", line 24900: warning: variable "inv_n22" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./ILL_H22_VIVALDI.c", line 24901: warning: variable "l11" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./ILL_H22_VIVALDI.c", line 24901: warning: variable "l12" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./ILL_H22_VIVALDI.c", line 24901: warning: variable "l22" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./ILL_H22_VIVALDI.c", line 24902: warning: variable "det_L" was declared but never referenced double det_L; /* Determinant of L */ ^ "./ILL_H22_VIVALDI.c", line 24903: warning: variable "Bt_D_O_x" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./ILL_H22_VIVALDI.c", line 24903: warning: variable "Bt_D_O_y" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./ILL_H22_VIVALDI.c", line 24904: warning: variable "y0x" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./ILL_H22_VIVALDI.c", line 24904: warning: variable "y0y" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./ILL_H22_VIVALDI.c", line 24905: warning: variable "alpha" was declared but never referenced double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./ILL_H22_VIVALDI.c", line 24912: warning: variable "tot_xsect" was declared but never referenced double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./ILL_H22_VIVALDI.c", line 24919: warning: variable "theta" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./ILL_H22_VIVALDI.c", line 24919: warning: variable "phi" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./ILL_H22_VIVALDI.c", line 24928: warning: variable "type" was set but never used char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./ILL_H22_VIVALDI.c", line 31910: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./ILL_H22_VIVALDI.c", line 31850: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ILL_H22_VIVALDI.c", line 1273: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H22_VIVALDI.c", line 2514: 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: par (./ILL_H22_VIVALDI.c: 23840) NVC++/x86-64 Linux 21.9-0: compilation completed with warnings 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