Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] mpi_bcast
From: Huangwei (hz283_at_[hidden])
Date: 2013-09-06 10:42:54


Hello there,

In my fortran code, I used mpi_bcast to broadcast an array Q(21, 51,
140000) (the size for it is 150,000,000) from the root to all the nodes. I
found when I used this bcast subroutine, it code will be very slow and
sometimes it hangs there. Once I commented this array, this code speed is
normal. So I guess that the Q is too large to be broadcast using mpi_bcast.
Is my judgement correct?

I think this array is required for my code, but now the troublesome thing
is that the speed is slow. Does anybody know how to alleviate this problem
? Or any other alternative problems to make this array Q broadcast from
root to other nodes?

Thank you in advance.

best regards,
Huangwei