INFO: No output directory specified (--dir) INFO: Using directory: "templateTOF_20220401_015513" INFO: Regenerating c-file: templateTOF.c DEBUG: CMD: mcstas -t -o ./templateTOF.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_FUNNEL_5e7/templateTOF/templateTOF.instr CFLAGS= WARNING: --> USERVAR flag_single is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_multi is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_env is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_container is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: The parameter powder_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. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./templateTOF.out DEBUG: CMD: nvc -o ./templateTOF.out ./templateTOF.c -lm -ta=tesla,managed -DOPENACC -DFUNNEL "./templateTOF.c", line 4132: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./templateTOF.c", line 4051: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./templateTOF.c", line 9298: warning: variable "n" was declared but never referenced double n; ^ "./templateTOF.c", line 9277: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./templateTOF.c", line 9278: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./templateTOF.c", line 9189: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./templateTOF.c", line 9189: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./templateTOF.c", line 12750: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./templateTOF.c", line 12751: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./templateTOF.c", line 15116: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./templateTOF.c", line 15147: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./templateTOF.c", line 15148: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./templateTOF.c", line 15148: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./templateTOF.c", line 17781: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./templateTOF.c", line 17721: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./templateTOF.c", line 1273: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./templateTOF.c", line 2514: 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_FUNNEL/mccode_config.json