Skip to content

Commit

Permalink
change commRank type to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
ackerlar committed Oct 10, 2024
1 parent 3252603 commit 9be15d9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cpl_driver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module cpl_driver
integer :: localRank ! local MPI rank
integer :: localSize ! local MPI size
integer :: localComm ! local MPI size
logical :: commRank ! true for ranks doing OASIS communication
integer :: commRank
integer :: comp_id ! id returned by oasis_init_comp

logical, save :: oasis_was_initialized
Expand Down Expand Up @@ -774,11 +774,11 @@ subroutine cpl_oasis3mct_define_unstr(partit, mesh)
!------------------------------------------------------------------

call oasis_enddef(ierror)
if (commRank) print *, 'fesom oasis_enddef: COMPLETED'
if (ierror .eq. oasis_ok) print *, 'fesom oasis_enddef: COMPLETED'
#ifndef __oifs
if (commRank) print *, 'FESOM: calling exchange_roots'
if (ierror .eq. oasis_ok) print *, 'FESOM: calling exchange_roots'
call exchange_roots(source_root, target_root, 1, partit%MPI_COMM_FESOM, MPI_COMM_WORLD)
if (commRank) print *, 'FESOM source/target roots: ', source_root, target_root
if (ierror .eq. oasis_ok) print *, 'FESOM source/target roots: ', source_root, target_root
#endif

! WAS VOM FOLGENDEN BRAUCHE ICH NOCH ???
Expand Down Expand Up @@ -1006,4 +1006,4 @@ end module cpl_driver
#else
module cpl_driver
end module cpl_driver
#endif
#endif

0 comments on commit 9be15d9

Please sign in to comment.