We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b93d40 commit ad4a3a6Copy full SHA for ad4a3a6
1 file changed
model/src/w3oacpmd.F90
@@ -135,6 +135,7 @@ SUBROUTINE CPL_OASIS_INIT(ID_LCOMM)
135
#endif
136
! * Argument
137
type(MPI_COMM), INTENT(OUT) :: ID_LCOMM ! Model local communicator
138
+ INTEGER :: ID_LCOMM_INT
139
!
140
!----------------------------------------------------------------------
141
! * Executable part
@@ -146,7 +147,8 @@ SUBROUTINE CPL_OASIS_INIT(ID_LCOMM)
146
147
ENDIF
148
149
!! Get the value of a local MPI communicator to be used by WW3 for its internal parallelisation
- CALL OASIS_GET_LOCALCOMM(ID_LCOMM, IL_ERR)
150
+ CALL OASIS_GET_LOCALCOMM(ID_LCOMM_INT, IL_ERR)
151
+ ID_LCOMM%mpi_val = ID_LCOMM_INT
152
IF (IL_ERR /= 0) THEN
153
CALL OASIS_ABORT(IL_COMPID, 'CPL_OASIS_INIT', 'Problem during oasis_get_localcomm')
154
0 commit comments