Quantcast
Channel: Clusters and HPC Technology
Viewing all articles
Browse latest Browse all 927

Wait for long time before the parallel began

$
0
0

Dear all,

I launch the parallel program by Intel MPI 4.1.3.047. I launched 240 processes in 10 calculate nodes. Everytime I launched the program, The execute files are launched in every node after 2-3 seconds. However, the CPU usage of every process is 0% and the program is waiting for something. The wait time could reach to 10 minutes. To further check the location of waiting. I have the following test code in my program:

program test
! define variables
write(*,*)1
call MPI_Init ( ierr )
write(*,*)2
comm = MPI_COMM_WORLD
call MPI_COMM_SIZE (comm, mysize, ierr)
write(*,*)3
call MPI_COMM_RANK (comm, myid, ierr)
if(myid==0)write(*,*)4
...
end

It seems that the number 1 was printed soon (about 2-3 seconds after launched the program). However, it will wait for about 10 minutes the number 2 be printed. So my problem is: what lead to the MPI_Init take so long time?

Thanks,

Zhanghong Tang


Viewing all articles
Browse latest Browse all 927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>