INFO: No output directory specified (--dir) INFO: Using directory: "Test_SSR_SSW_20220401_013511" INFO: Regenerating c-file: Test_SSR_SSW.c DEBUG: CMD: mcstas -t -o ./Test_SSR_SSW.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_FUNNEL_5e7/Test_SSR_SSW/Test_SSR_SSW.instr Warning: 'Virtual_mcnp_ss_input' is an obsolete component (not maintained). Warning: 'Virtual_mcnp_ss_output' is an obsolete component (not maintained). CFLAGS= -L@MCCODE_LIB@/libs/neutronics/ -lneutronics -lgfortran -DFUNNEL -L@MCCODE_LIB@/libs/neutronics/ -lneutronics -lgfortran -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component testread is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component testread -> GPU kernel from component window Component testwrite is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component testwrite ----------------------------------------------------------- INFO: Recompiling: ./Test_SSR_SSW.out DEBUG: CMD: nvc -o ./Test_SSR_SSW.out ./Test_SSR_SSW.c -lm -ta=tesla,managed -DOPENACC -DFUNNEL -L/zhome/89/0/38697/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../libs/neutronics/ -lneutronics -lgfortran -DFUNNEL -L/zhome/89/0/38697/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../libs/neutronics/ -lneutronics -lgfortran -DFUNNEL "./Test_SSR_SSW.c", line 4119: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./Test_SSR_SSW.c", line 4038: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./Test_SSR_SSW.c", line 6117: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_SSR_SSW.c", line 6118: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_SSR_SSW.c", line 6236: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_SSR_SSW.c", line 6330: warning: function "readheader_" declared implicitly readheader_(&ntrk,&nhis); ^ "./Test_SSR_SSW.c", line 6309: warning: variable "exit_flag" was declared but never referenced char exit_flag=0; /* set to 1 if end of simulation */ ^ "./Test_SSR_SSW.c", line 6310: warning: variable "filesize" was set but never used long filesize =0; ^ "./Test_SSR_SSW.c", line 6428: warning: function "writeheader_" declared implicitly writeheader_(&ntrk,&nhis); ^ "./Test_SSR_SSW.c", line 6400: warning: variable "exit_flag" was declared but never referenced char exit_flag=0; /* set to 1 if end of simulation */ ^ "./Test_SSR_SSW.c", line 6401: warning: variable "filesize" was set but never used long filesize =0; ^ "./Test_SSR_SSW.c", line 6633: warning: function "readneutron_" declared implicitly readneutron_(&to_mcstas); ^ "./Test_SSR_SSW.c", line 6630: warning: variable "result_read" was set but never used int result_read=1; ^ "./Test_SSR_SSW.c", line 6769: warning: function "writeneutron_" declared implicitly writeneutron_(&from_mcstas); ^ "./Test_SSR_SSW.c", line 6756: warning: variable "result_read" was set but never used int result_read=1; ^ "./Test_SSR_SSW.c", line 7275: warning: function "closefiles_" declared implicitly closefiles_(); ^ "./Test_SSR_SSW.c", line 7299: warning: function "closefiles_" declared implicitly closefiles_(); ^ "./Test_SSR_SSW.c", line 7582: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_SSR_SSW.c", line 7522: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_SSR_SSW.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_SSR_SSW.c", line 2501: 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