INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H5_new_20220301_010237" INFO: Regenerating c-file: ILL_H5_new.c DEBUG: CMD: mcstas -t -o ./ILL_H5_new.c /zhome/89/0/38697/TESTS/2022-03-01/McStas_GPU_PGCC_TESLA_KISS_FUNNEL_5e7/ILL_H5_new/ILL_H5_new.instr CFLAGS= WARNING: The parameter format of HCS_Al 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. WARNING: The parameter powder_format of H53_ThALES_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. WARNING: The parameter rUpPar of WASP_polariser 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. WARNING: The parameter rDownPar of WASP_polariser 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. WARNING: The parameter rUpPar of WASP_Vpolariser 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. WARNING: The parameter rDownPar of WASP_Vpolariser 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. WARNING: The parameter rPar of WASP_Vpolariser 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: WARNING: --> JUMP found at COMPONENT 10, H53_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 11, H52_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 12, H51_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 26, H53_ThALES_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 66, H523_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 67, H521_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 68, H522_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 115, H521_D16_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 254, H51_split_2 --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 255, H51_split_1 --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL ----------------------------------------------------------- INFO: Recompiling: ./ILL_H5_new.out DEBUG: CMD: nvc -o ./ILL_H5_new.out ./ILL_H5_new.c -lm -ta=tesla,managed -DOPENACC -DFUNNEL "./ILL_H5_new.c", line 4114: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./ILL_H5_new.c", line 4033: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./ILL_H5_new.c", line 12060: warning: variable "n" was declared but never referenced double n; ^ "./ILL_H5_new.c", line 12039: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./ILL_H5_new.c", line 12040: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./ILL_H5_new.c", line 11951: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_H5_new.c", line 11951: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_H5_new.c", line 13914: warning: variable "count" was declared but never referenced long count=0; ^ "./ILL_H5_new.c", line 14005: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./ILL_H5_new.c", line 16282: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ILL_H5_new.c", line 16283: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ILL_H5_new.c", line 41917: warning: nested comment is not allowed /* compute H53 parameters: ThALES */ ^ "./ILL_H5_new.c", line 43289: warning: incompatible redefinition of macro "strcmp" (declared at line 13962) #define strcmp(a,b) str_comp(a,b) ^ "./ILL_H5_new.c", line 43651: warning: variable "type" was set but never used char type = '\0'; ^ "./ILL_H5_new.c", line 43652: warning: variable "itype" was set but never used int itype = 0; ^ "./ILL_H5_new.c", line 43655: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./ILL_H5_new.c", line 43658: warning: variable "vcache" was set but never used double vcache = line_info.v; ^ "./ILL_H5_new.c", line 43662: warning: variable "lfree" was set but never used double lfree = line_info.lfree; ^ "./ILL_H5_new.c", line 43664: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./ILL_H5_new.c", line 43665: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./ILL_H5_new.c", line 43666: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./ILL_H5_new.c", line 43668: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./ILL_H5_new.c", line 44755: warning: variable "vlen2" was declared but never referenced double vlen2,nlen2; /* Vector lengths squared */ ^ "./ILL_H5_new.c", line 45376: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./ILL_H5_new.c", line 45407: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_H5_new.c", line 45408: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H5_new.c", line 45408: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H5_new.c", line 46613: warning: statement is unreachable break; ^ "./ILL_H5_new.c", line 46401: warning: variable "R" was declared but never referenced double R; ^ "./ILL_H5_new.c", line 46713: warning: variable "l_i" was set but never used double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ILL_H5_new.c", line 46713: warning: variable "l_o" was declared but never referenced double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ILL_H5_new.c", line 62829: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./ILL_H5_new.c", line 62769: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ILL_H5_new.c", line 1255: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H5_new.c", line 2496: 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_H5_new.c: 44503) 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: rotLM (./ILL_H5_new.c: 44762) 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: rotLM (./ILL_H5_new.c: 44780) 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_H5_new.c: 44780) 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_H5_new.c: 44780) 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: rotLM (./ILL_H5_new.c: 45428) 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: rotLM (./ILL_H5_new.c: 45428) 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: rotLM (./ILL_H5_new.c: 45428) 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: rotLM (./ILL_H5_new.c: 46427) 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: rotLM (./ILL_H5_new.c: 46733) 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: rotLM (./ILL_H5_new.c: 46733) 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: rotLM (./ILL_H5_new.c: 46733) 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_FUNNEL/mccode_config.json