INFO: No output directory specified (--dir) INFO: Using directory: "SEMSANS_Delft_20220401_010753" INFO: Regenerating c-file: SEMSANS_Delft.c DEBUG: CMD: mcstas -t -o ./SEMSANS_Delft.c /home/nexmap/pkwi/TESTS/2022-04-01/McStas_8GPU_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 -DUSE_MPI -lmpi -L/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/include -ta:tesla,managed -DOPENACC "./SEMSANS_Delft.c", line 1442: warning: arithmetic on pointer to void or function type if (MPI_Send((void*)(sbuf+offset*dsize), length, dtype, dest, tag++, MPI_COMM_WORLD) != MPI_SUCCESS) ^ "./SEMSANS_Delft.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./SEMSANS_Delft.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./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 10009: warning: incompatible redefinition of macro "exit" (declared at line 411) #define exit(...) noprintf() ^ "./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.7-0: compilation completed with warnings INFO: === loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_8GPU/mccode_config.json