INFO: No output directory specified (--dir) INFO: Using directory: "SESANS_Delft_20220701_011010" INFO: Regenerating c-file: SESANS_Delft.c DEBUG: CMD: mcstas -t -o ./SESANS_Delft.c /home/nexmap/pkwi/TESTS/2022-07-01/McStas_8GPU_5e7/SESANS_Delft/SESANS_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: ./SESANS_Delft.out DEBUG: CMD: nvc -o ./SESANS_Delft.out ./SESANS_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 "./SESANS_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) ^ "./SESANS_Delft.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./SESANS_Delft.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./SESANS_Delft.c", line 8200: warning: variable "count" was declared but never referenced long count=0; ^ "./SESANS_Delft.c", line 8291: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./SESANS_Delft.c", line 8824: warning: missing return statement at end of non-void function "exp_dec_magnetic_field" } ^ "./SESANS_Delft.c", line 9255: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./SESANS_Delft.c", line 9256: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./SESANS_Delft.c", line 10213: warning: variable "i" was declared but never referenced int i, j; ^ "./SESANS_Delft.c", line 10213: warning: variable "j" was declared but never referenced int i, j; ^ "./SESANS_Delft.c", line 10621: warning: incompatible redefinition of macro "exit" (declared at line 411) #define exit(...) noprintf() ^ "./SESANS_Delft.c", line 10622: warning: incompatible redefinition of macro "strcmp" (declared at line 8248) #define strcmp(a,b) str_comp(a,b) ^ "./SESANS_Delft.c", line 11019: warning: variable "sp" was declared but never referenced double sp,v; ^ "./SESANS_Delft.c", line 11019: warning: variable "v" was set but never used double sp,v; ^ "./SESANS_Delft.c", line 11020: warning: variable "old_magnet" was declared but never referenced mcmagnet_field_info *old_magnet,*outer_magnet; ^ "./SESANS_Delft.c", line 11020: warning: variable "outer_magnet" was declared but never referenced mcmagnet_field_info *old_magnet,*outer_magnet; ^ "./SESANS_Delft.c", line 11021: warning: variable "dd" was declared but never referenced double *dd; ^ "./SESANS_Delft.c", line 11181: warning: variable "thmax" was set but never used double qmax,qmaxl,Ymax,Xmax,thmax; ^ "./SESANS_Delft.c", line 12873: warning: variable "radius" was declared but never referenced double radius = 0; ^ "./SESANS_Delft.c", line 12874: warning: variable "h" was declared but never referenced double h = 0; ^ "./SESANS_Delft.c", line 13161: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./SESANS_Delft.c", line 13101: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./SESANS_Delft.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./SESANS_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 (./SESANS_Delft.c: 11303) 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