INFO: No output directory specified (--dir) INFO: Using directory: "Test_undulator_20220201_002712" INFO: Regenerating c-file: Test_undulator.c DEBUG: CMD: mcxtrace -t -o ./Test_undulator.c /zhome/89/0/38697/xTESTS/2022-02-01/McXtrace_GPU_PGCC_TESLA_KISS_5e7/Test_undulator/Test_undulator.instr CFLAGS= -I@MCCODE_LIB@/miniconda3/include -L@MCCODE_LIB@/miniconda3/lib -lgsl -lgslcblas -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component src1 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component src1 -> GPU kernel from component e_monitor ----------------------------------------------------------- INFO: Recompiling: ./Test_undulator.out DEBUG: CMD: nvc -o ./Test_undulator.out ./Test_undulator.c -lm -ta:tesla,managed -DOPENACC -I/zhome/89/0/38697/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/../mccodelib/../../../miniconda3/include -L/zhome/89/0/38697/McXtrace/mcxtrace/3.x-dev/tools/Python/mxrun/../mccodelib/../../../miniconda3/lib -lgsl -lgslcblas -DFUNNEL "./Test_undulator.c", line 4094: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./Test_undulator.c", line 4013: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./Test_undulator.c", line 5715: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./Test_undulator.c", line 5888: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./Test_undulator.c", line 6315: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_undulator.c", line 6316: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_undulator.c", line 6846: warning: variable "i" was declared but never referenced int i; ^ "./Test_undulator.c", line 6898: warning: variable "i" was declared but never referenced int i,j; ^ "./Test_undulator.c", line 6898: warning: variable "j" was declared but never referenced int i,j; ^ "./Test_undulator.c", line 6899: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_undulator.c", line 6899: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_undulator.c", line 6899: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_undulator.c", line 7214: warning: variable "l" was declared but never referenced double k,e,l,w_u,r,w; ^ "./Test_undulator.c", line 7214: warning: variable "r" was declared but never referenced double k,e,l,w_u,r,w; ^ "./Test_undulator.c", line 7468: warning: variable "k" was declared but never referenced int i,j,k; ^ "./Test_undulator.c", line 7469: warning: variable "e" was declared but never referenced double e,p2; ^ "./Test_undulator.c", line 8818: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_undulator.c", line 8758: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_undulator.c", line 1235: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_undulator.c", line 2476: 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/mxtest/mctest/../mccodelib/mcxtrace-test/McXtrace_GPU_PGCC_TESLA_KISS/mccode_config.json