INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H16_IN5_Mantid_20220401_002705" INFO: Regenerating c-file: ILL_H16_IN5_Mantid.c DEBUG: CMD: mcstas -t -o ./ILL_H16_IN5_Mantid.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_5e7/ILL_H16_IN5_Mantid/ILL_H16_IN5_Mantid.instr Info: 'PSD_Detector' is a contributed component. CFLAGS= WARNING: The parameter powder_format of sampleMantid 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 format of hous 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 sampleMantid ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component sampleMantid ----------------------------------------------------------- INFO: Recompiling: ./ILL_H16_IN5_Mantid.out DEBUG: CMD: nvc -o ./ILL_H16_IN5_Mantid.out ./ILL_H16_IN5_Mantid.c -lm -ta:tesla,managed -DOPENACC "./ILL_H16_IN5_Mantid.c", line 11518: warning: variable "n" was declared but never referenced double n; ^ "./ILL_H16_IN5_Mantid.c", line 11497: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./ILL_H16_IN5_Mantid.c", line 11498: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./ILL_H16_IN5_Mantid.c", line 11409: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_H16_IN5_Mantid.c", line 11409: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_H16_IN5_Mantid.c", line 13703: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ILL_H16_IN5_Mantid.c", line 13704: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ILL_H16_IN5_Mantid.c", line 19330: warning: variable "element_size" is used before its value is set bufsize*element_size/1e6, bufsize*sizeof(double)/1e6); ^ "./ILL_H16_IN5_Mantid.c", line 18981: warning: variable "j" was declared but never referenced long i,j; ^ "./ILL_H16_IN5_Mantid.c", line 21045: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./ILL_H16_IN5_Mantid.c", line 21076: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_H16_IN5_Mantid.c", line 21077: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H16_IN5_Mantid.c", line 21077: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H16_IN5_Mantid.c", line 21688: warning: variable "type" was set but never used char type = '\0'; ^ "./ILL_H16_IN5_Mantid.c", line 21689: warning: variable "itype" was set but never used int itype = 0; ^ "./ILL_H16_IN5_Mantid.c", line 21692: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./ILL_H16_IN5_Mantid.c", line 21695: warning: variable "vcache" was set but never used double vcache = line_info.v; ^ "./ILL_H16_IN5_Mantid.c", line 21699: warning: variable "lfree" was set but never used double lfree = line_info.lfree; ^ "./ILL_H16_IN5_Mantid.c", line 21701: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./ILL_H16_IN5_Mantid.c", line 21702: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./ILL_H16_IN5_Mantid.c", line 21703: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./ILL_H16_IN5_Mantid.c", line 21705: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./ILL_H16_IN5_Mantid.c", line 22185: warning: incompatible redefinition of macro "HUGE_VAL" (declared at line 28 of "/usr/include/bits/huge_val.h") #define HUGE_VAL DBL_MAX ^ "./ILL_H16_IN5_Mantid.c", line 22654: warning: variable "pp" was set but never used double pp,P2; ^ "./ILL_H16_IN5_Mantid.c", line 27787: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./ILL_H16_IN5_Mantid.c", line 27727: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ILL_H16_IN5_Mantid.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H16_IN5_Mantid.c", line 2501: 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_H16_IN5_Mantid.c: 20838) 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_H16_IN5_Mantid.c: 20838) 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