INFO: No output directory specified (--dir) INFO: Using directory: "Test_Magnetic_Constant_20220201_020046" INFO: Regenerating c-file: Test_Magnetic_Constant.c DEBUG: CMD: mcstas -t -o ./Test_Magnetic_Constant.c /zhome/89/0/38697/TESTS/2022-02-01/McStas_GPU_PGCC_TESLA_KISS_5e7/Test_Magnetic_Constant/Test_Magnetic_Constant.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Test_Magnetic_Constant.out DEBUG: CMD: nvc -o ./Test_Magnetic_Constant.out ./Test_Magnetic_Constant.c -lm -ta:tesla,managed -DOPENACC "./Test_Magnetic_Constant.c", line 8186: warning: variable "count" was declared but never referenced long count=0; ^ "./Test_Magnetic_Constant.c", line 8277: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./Test_Magnetic_Constant.c", line 9105: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Magnetic_Constant.c", line 9106: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_Magnetic_Constant.c", line 10114: warning: variable "i" was declared but never referenced int i, j; ^ "./Test_Magnetic_Constant.c", line 10114: warning: variable "j" was declared but never referenced int i, j; ^ "./Test_Magnetic_Constant.c", line 10179: warning: enumerated type mixed with another type enum field_functions ff=field_type; ^ "./Test_Magnetic_Constant.c", line 10465: warning: incompatible redefinition of macro "strcmp" (declared at line 8234) #define strcmp(a,b) str_comp(a,b) ^ "./Test_Magnetic_Constant.c", line 10964: warning: variable "nofield" was declared but never referenced int nofield=0; ^ "./Test_Magnetic_Constant.c", line 12713: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_Magnetic_Constant.c", line 12653: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_Magnetic_Constant.c", line 1250: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Magnetic_Constant.c", line 2491: 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