Skip to content

Commit 247fab9

Browse files
committed
only write radiation_init info to masterproc
1 parent bc7a79d commit 247fab9

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

doc/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ cime_config/testdefs/testmods_dirs/cam/outfrq3s_cosp/user_nl_cam
8585
. add CS_RAINCERT, CS_RAINHARD to the fexcl1. The CS_* diagnostics are known
8686
to depend on task count.
8787

88+
src/physics/rrtmgp/radiation.F90
89+
. Fix an info message from radiation_init that should only be written
90+
to masterproc.
91+
8892
src/physics/simple/frierson_cam.F90
8993
. remove PREC_DP from pbuf; it wasn't being used. This was causing a
9094
restart failure when PRECC was requested in the output.

src/physics/rrtmgp/radiation.F90

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,11 @@ subroutine radiation_init(pbuf2d)
468468
ktoprad = 2
469469
nlaycam = pver
470470
nlay = nlay+1 ! reassign the value so later code understands to treat this case like nlay==pverp
471-
write(iulog,*) 'RADIATION_INIT: Special case of 1 model interface at p < 1Pa. Top layer will be INCLUDED in radiation calculation.'
472-
write(iulog,*) 'RADIATION_INIT: nlay = ',nlay, ' same as pverp: ',nlay==pverp
471+
if (masterproc) then
472+
write(iulog,*) 'RADIATION_INIT: Special case of 1 model interface at p < 1Pa. Top layer will be INCLUDED in radiation calculation.'
473+
write(iulog,*) 'RADIATION_INIT: Top layer will be INCLUDED in radiation calculation.'
474+
write(iulog,*) 'RADIATION_INIT: nlay = ',nlay, ' same as pverp: ',nlay==pverp
475+
end if
473476
else
474477
! nlay < pverp. nlay layers are used in radiation calcs, and they are
475478
! all CAM layers.

0 commit comments

Comments
 (0)