Skip to content

Commit

Permalink
"CN Soil matrix solution is on" msg now only on masterproc.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Jan 8, 2025
1 parent b816f11 commit d9fb22d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/soilbiogeochem/CNSoilMatrixMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module CNSoilMatrixMod
use shr_log_mod , only : errMsg => shr_log_errMsg
use decompMod , only : bounds_type
use abortutils , only : endrun
use spmdMod , only : masterproc
use clm_time_manager , only : get_step_size, is_end_curr_month,get_curr_date,update_DA_nstep
use clm_time_manager , only : is_first_restart_step,is_beg_curr_year,is_end_curr_year,is_first_step_of_this_run_segment
use clm_varpar , only : ndecomp_pools, nlevdecomp, ndecomp_pools_vr !number of biogeochemically active soil layers
Expand Down Expand Up @@ -64,7 +65,7 @@ subroutine CNSoilMatrixInit( )
! !LOCAL VARIABLES:
!-----------------------------------------------------------------------

if ( use_soil_matrixcn ) then
if ( use_soil_matrixcn .and. masterproc) then
write(iulog,*) 'CN Soil matrix solution is on'
write(iulog,*) '*****************************'
if ( spinup_matrixcn ) then
Expand Down

0 comments on commit d9fb22d

Please sign in to comment.