NOAA-EMC / GFDL_atmos_cubed_sphere

The GFDL atmos_cubed_sphere dynamical core code
Other
2 stars 27 forks source link

Reduce stdout for large runs #51

Closed climbfuji closed 8 months ago

climbfuji commented 3 years ago

Routine get_nggps_ic in tools/external_ic.F90 writes a lot of information to stdout that slows down the model startup for large numbers of MPI tasks. Every tasks spits out something like

5140:  enter get_nggps_ic is= 577 ie= 672 js=   1 je=  96 isd= 574 ied= 675 jsd=  -2 jed=  99
5932:  enter get_nggps_ic is=1153 ie=1248 js=2401 je=2496 isd=1150 ied=1251 jsd=2398 jed=2499

We should suppress that and either have only the master task say enter get_nggps_ic. Or, if this information is potentially useful, only write out the full details if the model is compiled in DEBUG mode.

junwang-noaa commented 8 months ago

@climbfuji Is this still a problem?

climbfuji commented 8 months ago

I am not too worried about the unnecessary output, so let's close it as not planned.