mirror of https://gitlab.com/QEF/q-e.git
Bug fix: the routine mp_get_i1 was actually sending and receiving messages
of zero length. This created problems with pools and wfc_collect=.true.. git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4764 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
320f844697
commit
fc160b6196
|
@ -777,9 +777,11 @@
|
|||
IF(dest .NE. sour) THEN
|
||||
#if defined(__MPI)
|
||||
IF(mpime .EQ. sour) THEN
|
||||
msglen=1
|
||||
CALL MPI_SEND( msg_sour, msglen, MPI_INTEGER, dest, ip, group, ierr)
|
||||
IF (ierr/=0) CALL mp_stop( 8060 )
|
||||
ELSE IF(mpime .EQ. dest) THEN
|
||||
msglen=1
|
||||
CALL MPI_RECV( msg_dest, msglen, MPI_INTEGER, sour, ip, group, istatus, IERR )
|
||||
IF (ierr/=0) CALL mp_stop( 8061 )
|
||||
CALL MPI_GET_COUNT(istatus, MPI_INTEGER, nrcv, ierr)
|
||||
|
|
Loading…
Reference in New Issue