INFO: No output directory specified (--dir) INFO: Using directory: "Test_undulator_20220106_003547" INFO: Regenerating c-file: Test_undulator.c DEBUG: CMD: mcxtrace -t -o ./Test_undulator.c /zhome/7c/9/7041/TESTS/2022-01-06/McXtrace-3.0_CPU_PGCC_MC_1e7/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 -lm -O2 -acc=multicore -DOPENACC -I/zhome/7c/9/7041/McXtrace/mcxtrace/3.0-dev/tools/Python/mxrun/../mccodelib/../../../miniconda3/include -L/zhome/7c/9/7041/McXtrace/mcxtrace/3.0-dev/tools/Python/mxrun/../mccodelib/../../../miniconda3/lib -lgsl -lgslcblas -DFUNNEL "./Test_undulator.c", line 4116: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./Test_undulator.c", line 4035: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./Test_undulator.c", line 4879: warning: pointless comparison of unsigned integer with zero state[4] = t < 0; ^ "./Test_undulator.c", line 5786: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./Test_undulator.c", line 5959: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./Test_undulator.c", line 6386: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_undulator.c", line 6387: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_undulator.c", line 6917: warning: variable "i" was declared but never referenced int i; ^ "./Test_undulator.c", line 6969: warning: variable "i" was declared but never referenced int i,j; ^ "./Test_undulator.c", line 6969: warning: variable "j" was declared but never referenced int i,j; ^ "./Test_undulator.c", line 6970: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_undulator.c", line 6970: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_undulator.c", line 6970: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./Test_undulator.c", line 7285: warning: variable "l" was declared but never referenced double k,e,l,w_u,r,w; ^ "./Test_undulator.c", line 7285: warning: variable "r" was declared but never referenced double k,e,l,w_u,r,w; ^ "./Test_undulator.c", line 7539: warning: variable "k" was declared but never referenced int i,j,k; ^ "./Test_undulator.c", line 7540: warning: variable "e" was declared but never referenced double e,p2; ^ "./Test_undulator.c", line 8889: 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 8829: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_undulator.c", line 1257: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_undulator.c", line 2498: 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/7c/9/7041/McXtrace/mcxtrace/1.5/tools/Python/mctest/../mccodelib/mcxtrace-test/McXtrace-3.0_CPU_PGCC_MC/mccode_config.json