diff --git a/src/swiftest/swiftest_io.f90 b/src/swiftest/swiftest_io.f90 index 69453e214..ba0559721 100644 --- a/src/swiftest/swiftest_io.f90 +++ b/src/swiftest/swiftest_io.f90 @@ -439,10 +439,10 @@ module subroutine swiftest_io_dump_storage(self, param) end if #ifdef COARRAY if (param%lcoarray .and. (this_image() < num_images())) sync images(this_image() + 1) + sync all #endif end do #ifdef COARRAY - sync all if (this_image() == 1) then #endif call nc%close()