Skip to content

Commit

Permalink
only log on master task
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-seaice committed May 2, 2024
1 parent a752208 commit c551cc2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cicecore/cicedyn/infrastructure/ice_domain.F90
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,10 @@ subroutine init_domain_blocks
max_blocks=((nx_global-1)/block_size_x/nprocs_x+1) * &
((ny_global-1)/block_size_y/nprocs_y+1)
max_blocks=max(1,max_blocks)
write(nu_diag,'(/,a52,i6,/)') &
'(ice_domain): max_block < 1: max_block estimated to ',max_blocks
if (my_task == master_task) then
write(nu_diag,'(/,a52,i6,/)') &
'(ice_domain): max_block < 1: max_block estimated to ',max_blocks
endif
endif


Expand Down

0 comments on commit c551cc2

Please sign in to comment.