Skip to content

Remove driver level PIO initialization#3

Closed
uturuncoglu wants to merge 1 commit into
support/HAFSfrom
feature/pio_fix_comp
Closed

Remove driver level PIO initialization#3
uturuncoglu wants to merge 1 commit into
support/HAFSfrom
feature/pio_fix_comp

Conversation

@uturuncoglu
Copy link
Copy Markdown

This PR aims to remove the modifications that was done previously to bring PIO initialization to NEMS driver. Since both CMEPS (hafs-community/CMEPS#1) and CDEPS (hafs-community/CDEPS#2) are modified to have component level PIO initialization, there is no need to keep those modifications in the NEMS level.

Tests:

  • Full RTs were run without any problem and passed.

@uturuncoglu uturuncoglu requested a review from BinLiu-NOAA March 8, 2021 21:39
@uturuncoglu uturuncoglu self-assigned this Mar 8, 2021
Copy link
Copy Markdown

@BinLiu-NOAA BinLiu-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@BinLiu-NOAA
Copy link
Copy Markdown

@uturuncoglu In order to not break the support/HAFS branch at the model level, please hold this PR so that it goes back into the support/HAFS branch together with the following PRs:
hafs-community/ufs-weather-model#8
hafs-community/CMEPS#1
hafs-community/CDEPS#2

@uturuncoglu
Copy link
Copy Markdown
Author

@BinLiu-NOAA sure. I am waiting for your approval.

Copy link
Copy Markdown

@danrosen25 danrosen25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest cleaning up a few hanging variables before approving.

Comment thread src/MAIN_NEMS.F90
!*** Initialize PIO. 8 is the maximum number of component models
!-----------------------------------------------------------------------
!
COMM_WORLD = MPI_COMM_WORLD
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove line 121 if no longer needed. INTEGER :: COMM_WORLD

line=__LINE__, file=trim(name)//":"//__FILE__)) return ! bail out

! get MPI communicator
call ESMF_VMGet(vm, mpiCommunicator=Global_Comm, rc=rc)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VM is no longer needed. See lines

  • 3407
  • 3426
  • 4576

@uturuncoglu
Copy link
Copy Markdown
Author

@BinLiu-NOAA @danrosen25 i am closing this PR because this branch is outdated and I need to work again. I'll create another branch for CDEPS sync and make PR again. Then we could clean the unused branches.

@uturuncoglu uturuncoglu closed this Jun 9, 2021
@BinLiu-NOAA BinLiu-NOAA deleted the feature/pio_fix_comp branch July 25, 2021 20:53
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