INFO: No output directory specified (--dir) INFO: Using directory: "Test_Sources_20220401_013137" INFO: Regenerating c-file: Test_Sources.c DEBUG: CMD: mcstas -t -o ./Test_Sources.c /home/nexmap/pkwi/TESTS/2022-04-01/McStas_8GPU_5e7/Test_Sources/Test_Sources.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Test_Sources.out DEBUG: CMD: nvc -o ./Test_Sources.out ./Test_Sources.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 "./Test_Sources.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) ^ "./Test_Sources.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./Test_Sources.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./Test_Sources.c", line 7576: warning: incompatible redefinition of macro "exit" (declared at line 411) #define exit(...) noprintf() ^ "./Test_Sources.c", line 7860: warning: statement is unreachable return 1; ^ "./Test_Sources.c", line 11893: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 11894: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_Sources.c", line 11934: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 11979: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 12050: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 12121: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 12170: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 12223: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 12266: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 12299: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 12382: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 12465: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 12548: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Sources.c", line 13320: warning: variable "sign_bl_angle" was set but never used int sign_bl_angle; ^ "./Test_Sources.c", line 13329: warning: variable "sin_beamport_angle" was set but never used double cos_beamport_angle, sin_beamport_angle; ^ "./Test_Sources.c", line 14597: warning: variable "tau_l" was declared but never referenced double v,tau_l,E,lambda,k,r,xf,yf,dx,dy,w_focus; ^ "./Test_Sources.c", line 14597: warning: variable "E" was declared but never referenced double v,tau_l,E,lambda,k,r,xf,yf,dx,dy,w_focus; ^ "./Test_Sources.c", line 14755: warning: variable "z0" was set but never used double x0,z0; ^ "./Test_Sources.c", line 14756: warning: variable "surf_sign" was set but never used int surf_sign; ^ "./Test_Sources.c", line 17203: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_Sources.c", line 17143: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_Sources.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Sources.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 /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_8GPU/mccode_config.json