Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging options to ESMF_Initialize #1289

Merged
merged 2 commits into from
Mar 31, 2017
Merged

Conversation

gold2718
Copy link

Added log kind flag to ESMF_Initialize call to allow control over ESMF PET log files when the ESMF library is used. The flag determines what ESMF log files (if any) are generated when USE_ESMF_LIB is TRUE.

  • ESMF_LOGKIND_SINGLE: Use a single log file, combining messages from all of the PETs. Not supported on some platforms.
  • ESMF_LOGKIND_MULTI: Use multiple log files -- one per PET.
  • ESMF_LOGKIND_NONE: Do not issue messages to a log file.
  • By default, no ESMF log files are generated.

Test suite: ./scripts_regression_test.py + hand testing:

./create_newcase --case /glade/scratch/goldy/esmfTest --compset A --res ne16_ne16 --run-unsupported
./xmlchange USE_ESMF_LIB=TRUE,DOUT_S=FALSE,STOP_OPTION=nsteps,STOP_N=3

Run test with each ESMF log kind option
Test baseline: NA
Test namelist changes: New driver namelist variable: esmf_logging
Test status: bit for bit

Fixes #1245

User interface changes?: New run time XML variable: ESMF_LOGFILE_KIND

Code review:

@gold2718 gold2718 requested a review from mvertens March 30, 2017 15:49
@mvertens mvertens self-assigned this Mar 31, 2017
@mvertens
Copy link
Contributor

This looks fine.

@mvertens mvertens merged commit 0d320ec into ESMCI:master Mar 31, 2017
jgfouca pushed a commit that referenced this pull request Jun 2, 2017
… PR #1289

Reduce reduction ops in HOMME

Also compile and link with -mkl when building with Intel and HOMME_USE_MKL=TRUE.

[BFB]
jedwards4b added a commit to jedwards4b/cime that referenced this pull request Jan 10, 2019
7da5627 Merge pull request ESMCI#1289 from NCAR/jayeshkrishna/support_nc_withoutnc4
31b8c64 Support NetCDF libs without NetCDF4 support

git-subtree-dir: src/externals/pio1
git-subtree-split: 7da5627967193c2a15c54146c4d590b9b146076d
jedwards4b added a commit to jedwards4b/cime that referenced this pull request Mar 1, 2019
e7134d3 Merge pull request ESMCI#1340 from jedwards4b/pio1_linkedlist_opt
b5a4a2d optimize the linked list with a pointer to the list end
7da5627 Merge pull request ESMCI#1289 from NCAR/jayeshkrishna/support_nc_withoutnc4
31b8c64 Support NetCDF libs without NetCDF4 support

git-subtree-dir: src/externals/pio1
git-subtree-split: e7134d36875b969643f912e1ec6a9fd6bc3577cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants