INFO: No output directory specified (--dir) INFO: Using directory: "PSI_DMC_20220401_010644" INFO: Regenerating c-file: PSI_DMC.c DEBUG: CMD: mcstas -t -o ./PSI_DMC.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_FUNNEL_5e7/PSI_DMC/PSI_DMC.instr Info: 'Al_window' is a contributed component. Info: 'Monochromator_2foc' is a contributed component. CFLAGS= WARNING: The parameter format of 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. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component foc_mono -> SPLIT N at component sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component foc_mono -> SPLIT within buffer at component sample ----------------------------------------------------------- INFO: Recompiling: ./PSI_DMC.out DEBUG: CMD: nvc -o ./PSI_DMC.out ./PSI_DMC.c -lm -ta=tesla,managed -DOPENACC -DFUNNEL "./PSI_DMC.c", line 4119: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./PSI_DMC.c", line 4038: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./PSI_DMC.c", line 11878: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./PSI_DMC.c", line 11879: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./PSI_DMC.c", line 14778: warning: variable "tau_l" was declared but never referenced double v,tau_l,E,lambda,k,r,xf,yf,dx,dy,w_focus; ^ "./PSI_DMC.c", line 14778: warning: variable "E" was declared but never referenced double v,tau_l,E,lambda,k,r,xf,yf,dx,dy,w_focus; ^ "./PSI_DMC.c", line 15386: warning: variable "Al_my_tot" was set but never used double Al_s_tot_lambda,Al_my_tot,Al_my_a ; /* total XS (barn), total scattering length (m-1), absorption scat. length */ ^ "./PSI_DMC.c", line 15646: warning: variable "k" was set but never used double my_r0, k; ^ "./PSI_DMC.c", line 15812: warning: variable "type" was set but never used char type = '\0'; ^ "./PSI_DMC.c", line 15813: warning: variable "itype" was set but never used int itype = 0; ^ "./PSI_DMC.c", line 15816: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./PSI_DMC.c", line 15819: warning: variable "vcache" was set but never used double vcache = line_info.v; ^ "./PSI_DMC.c", line 15823: warning: variable "lfree" was set but never used double lfree = line_info.lfree; ^ "./PSI_DMC.c", line 15825: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./PSI_DMC.c", line 15826: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./PSI_DMC.c", line 15827: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./PSI_DMC.c", line 15829: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./PSI_DMC.c", line 19501: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./PSI_DMC.c", line 19441: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./PSI_DMC.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./PSI_DMC.c", line 2501: 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