loading system configuration loading override configuration from /zhome/89/0/38697/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_GPU_A100_PGCC_TESLA_KISS/mccode_config.json INFO: No output directory specified (--dir) INFO: Using directory: "Test_Magnetic_Constant_20220801_013540" INFO: Regenerating c-file: Test_Magnetic_Constant.c DEBUG: CMD: mcstas -t -o ./Test_Magnetic_Constant.c /zhome/89/0/38697/TESTS/2022-08-01/McStas_GPU_A100_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 8196: warning: variable "count" was declared but never referenced long count=0; ^ "./Test_Magnetic_Constant.c", line 8287: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./Test_Magnetic_Constant.c", line 9150: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Magnetic_Constant.c", line 9151: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_Magnetic_Constant.c", line 10201: warning: variable "i" was declared but never referenced int i, j; ^ "./Test_Magnetic_Constant.c", line 10201: warning: variable "j" was declared but never referenced int i, j; ^ "./Test_Magnetic_Constant.c", line 10266: warning: enumerated type mixed with another type enum field_functions ff=field_type; ^ "./Test_Magnetic_Constant.c", line 10579: warning: incompatible redefinition of macro "strcmp" (declared at line 8244) #define strcmp(a,b) str_comp(a,b) ^ "./Test_Magnetic_Constant.c", line 11078: warning: variable "nofield" was declared but never referenced int nofield=0; ^ "./Test_Magnetic_Constant.c", line 11145: warning: variable "hit" was set but never used int hit; ^ "./Test_Magnetic_Constant.c", line 12970: 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 12910: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_Magnetic_Constant.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Magnetic_Constant.c", line 2501: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ INFO: ===