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

Commit

Permalink
Helfpul io message about coarrays
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Apr 21, 2023
1 parent 695371d commit 2600ef9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/swiftest/swiftest_driver.f90
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,15 @@ program swiftest_driver
!$ write(param%display_unit,'(a,i3,/)') ' Number of threads = ', nthreads
!$ if (param%log_output) write(*,'(a,i3)') ' OpenMP: Number of threads = ',nthreads
#ifdef COARRAY
write(param%display_unit,*) ' Coarray parameters:'
write(param%display_unit,*) ' -------------------'
write(param%display_unit,*) ' Number of images = ', num_images()
if (param%log_output) write(*,'(a,i3)') ' Coarray: Number of images = ',num_images()
if (param%lcoarray) then
write(param%display_unit,*) ' Coarray parameters:'
write(param%display_unit,*) ' -------------------'
write(param%display_unit,*) ' Number of images = ', num_images()
if (param%log_output) write(*,'(a,i3)') ' Coarray: Number of images = ',num_images()
else
write(param%display_unit,*) ' Coarrays disabled.'
if (param%log_output) write(*,*) ' Coarrays disabled.'
end if
end if
#endif

Expand Down

0 comments on commit 2600ef9

Please sign in to comment.