Skip to content
Snippets Groups Projects
Commit 5b1ed3e7 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 24/10/2017: IO: bug correction: IO_READ_FIELD_BYFIELD_L1: size of...

Philippe 24/10/2017: IO: bug correction: IO_READ_FIELD_BYFIELD_L1: size of message in MPI_Bcast was wrong (1 instead of size(ofield))
parent ae234aae
No related branches found
No related tags found
No related merge requests found
...@@ -1760,7 +1760,7 @@ IF (ASSOCIATED(TZFD)) THEN ...@@ -1760,7 +1760,7 @@ IF (ASSOCIATED(TZFD)) THEN
!because metadata of field has been modified in IO_READ_FIELD_xxx !because metadata of field has been modified in IO_READ_FIELD_xxx
IF (IRESP==-111) CALL IO_BCAST_FIELD_METADATA(TZFD,TPFIELD) IF (IRESP==-111) CALL IO_BCAST_FIELD_METADATA(TZFD,TPFIELD)
! !
CALL MPI_BCAST(OFIELD,1,MPI_LOGICAL,TZFD%OWNER-1,TZFD%COMM,IERR) CALL MPI_BCAST(OFIELD,SIZE(OFIELD),MPI_LOGICAL,TZFD%OWNER-1,TZFD%COMM,IERR)
END IF END IF
ELSE ELSE
IRESP = -61 IRESP = -61
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment