INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H5_new_20220401_004654" INFO: Regenerating c-file: ILL_H5_new.c DEBUG: CMD: mcstas -t -o ./ILL_H5_new.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_FUNNEL_5e7/ILL_H5_new/ILL_H5_new.instr CFLAGS= WARNING: The parameter format of HCS_Al 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 H53_ThALES_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. WARNING: The parameter rUpPar of WASP_polariser 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 rDownPar of WASP_polariser 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 rUpPar of WASP_Vpolariser 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 rDownPar of WASP_Vpolariser 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 rPar of WASP_Vpolariser 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: 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 4124: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./ILL_H5_new.c", line 4043: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./ILL_H5_new.c", line 12070: warning: variable "n" was declared but never referenced double n; ^ "./ILL_H5_new.c", line 12049: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./ILL_H5_new.c", line 12050: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./ILL_H5_new.c", line 11961: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_H5_new.c", line 11961: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./ILL_H5_new.c", line 13924: warning: variable "count" was declared but never referenced long count=0; ^ "./ILL_H5_new.c", line 14015: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./ILL_H5_new.c", line 16292: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ILL_H5_new.c", line 16293: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ILL_H5_new.c", line 41927: warning: nested comment is not allowed /* compute H53 parameters: ThALES */ ^ "./ILL_H5_new.c", line 43299: warning: incompatible redefinition of macro "strcmp" (declared at line 13972) #define strcmp(a,b) str_comp(a,b) ^ "./ILL_H5_new.c", line 43661: warning: variable "type" was set but never used char type = '\0'; ^ "./ILL_H5_new.c", line 43662: warning: variable "itype" was set but never used int itype = 0; ^ "./ILL_H5_new.c", line 43665: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./ILL_H5_new.c", line 43668: warning: variable "vcache" was set but never used double vcache = line_info.v; ^ "./ILL_H5_new.c", line 43672: warning: variable "lfree" was set but never used double lfree = line_info.lfree; ^ "./ILL_H5_new.c", line 43674: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./ILL_H5_new.c", line 43675: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./ILL_H5_new.c", line 43676: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./ILL_H5_new.c", line 43678: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./ILL_H5_new.c", line 44765: warning: variable "vlen2" was declared but never referenced double vlen2,nlen2; /* Vector lengths squared */ ^ "./ILL_H5_new.c", line 45386: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./ILL_H5_new.c", line 45417: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_H5_new.c", line 45418: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H5_new.c", line 45418: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H5_new.c", line 46623: warning: statement is unreachable break; ^ "./ILL_H5_new.c", line 46411: warning: variable "R" was declared but never referenced double R; ^ "./ILL_H5_new.c", line 46723: 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 46723: 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 62839: 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 62779: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ILL_H5_new.c", line 1265: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H5_new.c", line 2506: 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: 44513) 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: 44772) 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: 44790) 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: 44790) 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: 44790) 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: 45438) 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: 45438) 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: 45438) 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: 46437) 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: 46743) 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: 46743) 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: 46743) 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