INFO: No output directory specified (--dir) INFO: Using directory: "Test_PSD_Detector_20220401_012347" INFO: Regenerating c-file: Test_PSD_Detector.c DEBUG: CMD: mcstas -t -o ./Test_PSD_Detector.c /home/nexmap/pkwi/TESTS/2022-04-01/McStas_8GPU_5e7/Test_PSD_Detector/Test_PSD_Detector.instr Info: 'PSD_Detector' is a contributed component. CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Test_PSD_Detector.out DEBUG: CMD: nvc -o ./Test_PSD_Detector.out ./Test_PSD_Detector.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_PSD_Detector.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_PSD_Detector.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./Test_PSD_Detector.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./Test_PSD_Detector.c", line 9785: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_PSD_Detector.c", line 9786: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_PSD_Detector.c", line 10805: warning: variable "element_size" is used before its value is set bufsize*element_size/1e6, bufsize*sizeof(double)/1e6); ^ "./Test_PSD_Detector.c", line 10456: warning: variable "j" was declared but never referenced long i,j; ^ "./Test_PSD_Detector.c", line 10927: warning: incompatible redefinition of macro "exit" (declared at line 411) #define exit(...) noprintf() ^ "./Test_PSD_Detector.c", line 11790: warning: variable "pp" was set but never used double pp,P2; ^ "./Test_PSD_Detector.c", line 13270: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_PSD_Detector.c", line 13210: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_PSD_Detector.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_PSD_Detector.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