ufs-community / ufs-weather-model

UFS Weather Model
Other
134 stars 239 forks source link

excessive print statements to stdout in cpld tests using gocart #2162

Open DeniseWorthen opened 4 months ago

DeniseWorthen commented 4 months ago

Description

Running a coupled application which includes gocart dumps excessive messages to stdout of the form

  0: UFS Aerosols: Advancing from 2021-03-22T06:00:00 to 2021-03-22T06:12:00
 41:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
 57:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
 43:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
 49:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
 47:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
 59:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
 53:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
 51:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
...
  0:  OpenMP_Support.F90         535 internal states labels : <GOCART2GGOCART_State
  0:  MAPL_GenericInternalState>
  0:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
134:  OpenMP_Support.F90         536 splitting component: <GOCART2G>
...
52:  OpenMP_Support.F90         536 splitting component: <DU>
 44:  OpenMP_Support.F90         536 splitting component: <DU>
 43:  OpenMP_Support.F90         536 splitting component: <DU>
...
 57:  OpenMP_Support.F90         536 splitting component: <SS>
 53:  OpenMP_Support.F90         536 splitting component: <SS>
108:  OpenMP_Support.F90         536 splitting component: <SS>
 59:  OpenMP_Support.F90         536 splitting component: <SS>

For the cpld_control_p8 case, there are 1015 lines of this type. For the cpld_bmark case, there are 2695 lines of this type.

To Reproduce:

Run the a coupled case which includes aerosols and look at the out file.

Additional context

Output

DusanJovic-NOAA commented 1 month ago

I think these debug prints are from MAPL:

https://github.com/GEOS-ESM/MAPL/blob/df6786ca32f75b4848743301f5a31e6a6288622e/generic/OpenMP_Support.F90#L540-L541

junwang-noaa commented 1 month ago

An issue #2853 is created in MAPL repo.

junwang-noaa commented 1 month ago

A new MAPL version MAPL v2.40.5 is created. We need to move to this version to remove the excessive prints. @RatkoVasic-NOAA @Hang-Lei-NOAA FYI.

BrianCurtis-NOAA commented 1 month ago

We currently use 2.40.3, is there anything in the changes for 2.40.4 that we need to know about?

Hang-Lei-NOAA commented 1 month ago

@Jun Wang - NOAA Federal @.***> I will add this to acorn in the weekend, after processing the R2O of FMS/2024.01.

On Fri, May 31, 2024 at 9:49 AM Jun Wang @.***> wrote:

A new MAPL version MAPL v2.40.5 https://github.com/GEOS-ESM/MAPL/releases/tag/v2.40.5 is created. We need to move to this version to remove the excessive prints. @RatkoVasic-NOAA https://github.com/RatkoVasic-NOAA @Hang-Lei-NOAA https://github.com/Hang-Lei-NOAA FYI.

— Reply to this email directly, view it on GitHub https://github.com/ufs-community/ufs-weather-model/issues/2162#issuecomment-2142205739, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKWSMFDKUA43Z5U45UC2Y4LZFB5U5AVCNFSM6AAAAABD75THC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSGIYDKNZTHE . You are receiving this because you were mentioned.Message ID: @.***>

junwang-noaa commented 1 month ago

@BrianCurtis-NOAA From MAPL team: (Note: v2.40.4 was a minor update for find_package(MAPL).)