INFO: No output directory specified (--dir) INFO: Using directory: "Test_Pol_Mirror_20220401_013233" INFO: Regenerating c-file: Test_Pol_Mirror.c DEBUG: CMD: mcstas -t -o ./Test_Pol_Mirror.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_FUNNEL_5e7/Test_Pol_Mirror/Test_Pol_Mirror.instr CFLAGS= WARNING: The parameter rUpPar of mirror 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. WARNING: The parameter rDownPar of mirror 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Test_Pol_Mirror.out DEBUG: CMD: nvc -o ./Test_Pol_Mirror.out ./Test_Pol_Mirror.c -lm -ta=tesla,managed -DOPENACC -DFUNNEL "./Test_Pol_Mirror.c", line 4124: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./Test_Pol_Mirror.c", line 4043: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./Test_Pol_Mirror.c", line 8205: warning: variable "count" was declared but never referenced long count=0; ^ "./Test_Pol_Mirror.c", line 8296: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./Test_Pol_Mirror.c", line 9186: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Pol_Mirror.c", line 9187: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_Pol_Mirror.c", line 10046: warning: incompatible redefinition of macro "strcmp" (declared at line 8253) #define strcmp(a,b) str_comp(a,b) ^ "./Test_Pol_Mirror.c", line 11813: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_Pol_Mirror.c", line 11753: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_Pol_Mirror.c", line 1265: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Pol_Mirror.c", line 2506: 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