INFO: No output directory specified (--dir) INFO: Using directory: "SEMSANS_Delft_20220401_011501" INFO: Regenerating c-file: SEMSANS_Delft.c DEBUG: CMD: mcstas -t -o ./SEMSANS_Delft.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_FUNNEL_5e7/SEMSANS_Delft/SEMSANS_Delft.instr Info: 'Foil_flipper_magnet' is a contributed component. CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./SEMSANS_Delft.out DEBUG: CMD: nvc -o ./SEMSANS_Delft.out ./SEMSANS_Delft.c -lm -ta=tesla,managed -DOPENACC -DFUNNEL "./SEMSANS_Delft.c", line 4119: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./SEMSANS_Delft.c", line 4038: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./SEMSANS_Delft.c", line 8202: warning: variable "count" was declared but never referenced long count=0; ^ "./SEMSANS_Delft.c", line 8293: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./SEMSANS_Delft.c", line 8826: warning: missing return statement at end of non-void function "exp_dec_magnetic_field" } ^ "./SEMSANS_Delft.c", line 9172: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./SEMSANS_Delft.c", line 9173: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./SEMSANS_Delft.c", line 10010: warning: incompatible redefinition of macro "strcmp" (declared at line 8250) #define strcmp(a,b) str_comp(a,b) ^ "./SEMSANS_Delft.c", line 10313: warning: variable "sp" was declared but never referenced double sp,v; ^ "./SEMSANS_Delft.c", line 10313: warning: variable "v" was set but never used double sp,v; ^ "./SEMSANS_Delft.c", line 10314: warning: variable "old_magnet" was declared but never referenced mcmagnet_field_info *old_magnet,*outer_magnet; ^ "./SEMSANS_Delft.c", line 10314: warning: variable "outer_magnet" was declared but never referenced mcmagnet_field_info *old_magnet,*outer_magnet; ^ "./SEMSANS_Delft.c", line 10315: warning: variable "dd" was declared but never referenced double *dd; ^ "./SEMSANS_Delft.c", line 10523: warning: variable "thmax" was set but never used double qmax,qmaxl,Ymax,Xmax,thmax; ^ "./SEMSANS_Delft.c", line 11696: warning: variable "radius" was declared but never referenced double radius = 0; ^ "./SEMSANS_Delft.c", line 11697: warning: variable "h" was declared but never referenced double h = 0; ^ "./SEMSANS_Delft.c", line 11912: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./SEMSANS_Delft.c", line 11852: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./SEMSANS_Delft.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./SEMSANS_Delft.c", line 2501: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ NVC++-W-0155-Upcoming behavior change: array reference in data/update clause with no triplet notation will be treated as an array element in a future release: rotLM (./SEMSANS_Delft.c: 10645) NVC++/x86-64 Linux 21.9-0: compilation completed with warnings 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