INFO: No output directory specified (--dir) INFO: Using directory: "templateTOF_20220201_023722" INFO: Regenerating c-file: templateTOF.c DEBUG: CMD: mcstas -t -o ./templateTOF.c /zhome/89/0/38697/TESTS/2022-02-01/McStas_GPU_PGCC_TESLA_KISS_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 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: ----------------------------------------------------------- INFO: Recompiling: ./templateTOF.out DEBUG: CMD: nvc -o ./templateTOF.out ./templateTOF.c -lm -ta:tesla,managed -DOPENACC "./templateTOF.c", line 9288: warning: variable "n" was declared but never referenced double n; ^ "./templateTOF.c", line 9267: warning: variable "w_c" was declared but never referenced double w_c = 0; ^ "./templateTOF.c", line 9268: warning: variable "w_l" was declared but never referenced double w_l = 0; ^ "./templateTOF.c", line 9179: warning: variable "w_c" was declared but never referenced t_Table w_c, w_l; ^ "./templateTOF.c", line 9179: warning: variable "w_l" was declared but never referenced t_Table w_c, w_l; ^ "./templateTOF.c", line 12740: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./templateTOF.c", line 12741: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./templateTOF.c", line 15106: warning: variable "Ei" was set but never used double k=0, Ei=0; ^ "./templateTOF.c", line 15137: warning: variable "ti" was set but never used double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./templateTOF.c", line 15138: warning: variable "tf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./templateTOF.c", line 15138: warning: variable "kf" was set but never used double kf_x,kf_y,kf_z,tf,kf; ^ "./templateTOF.c", line 17771: 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 17711: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./templateTOF.c", line 1263: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./templateTOF.c", line 2504: 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/mccode_config.json