From f4432d192bd937d3d74073482a93698783ada0ea Mon Sep 17 00:00:00 2001 From: ICCP Guest Date: Wed, 26 Jul 2023 18:24:15 +0900 Subject: [PATCH] place preprocessor statement around io server barrier --- src/fvom_main.F90 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fvom_main.F90 b/src/fvom_main.F90 index 80772243b..d163d2332 100755 --- a/src/fvom_main.F90 +++ b/src/fvom_main.F90 @@ -380,7 +380,10 @@ program main write(*,*) end if ! call clock_finish +#ifdef ENABLE_IOSERVER call MPI_Barrier(comm_fesom_with_ioserver, err) +#endif + if (mype==0) print *, 'FESOM calls par_ex' call par_ex end program main