Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
shifted sync to end of loop
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed May 6, 2023
1 parent 9281683 commit e1bc876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swiftest/swiftest_io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e1bc876

Please sign in to comment.