Skip to content

Some correction for the exchange.#805

Merged
JessicaMeixner-NOAA merged 1 commit into
NOAA-EMC:developfrom
MathieuDutSik:mathieu/exchange_zero
Sep 27, 2022
Merged

Some correction for the exchange.#805
JessicaMeixner-NOAA merged 1 commit into
NOAA-EMC:developfrom
MathieuDutSik:mathieu/exchange_zero

Conversation

@MathieuDutSik
Copy link
Copy Markdown
Contributor

@MathieuDutSik MathieuDutSik commented Sep 25, 2022

Pull Request Summary

The exchange mechanism is replaced which leads to avoiding creating an intermediate array
and so a decrease of memory expense.

Description

The PDLIB_exchange2Dreal is replaced by PDLIB_exchange2Dreal_zero.

Issue(s) addressed

The previous exchange forces the creation of an intermediate array which is of large size because
it is about VA. The PR decreases memory expenses and is thus a progress.

Commit Message

Reduce memory usage of PDLIB_exchange in wminiomd.F90

Check list

Testing

  • How were these changes tested?
  • Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)
  • Have the matrix regression tests been run (if yes, please note HPC and compiler)?
  • Please indicate the expected changes in the regression test output, (Note the list of known non-identical tests.)
  • Please provide the summary output of matrix.comp (matrix.Diff.txt, matrixCompFull.txt and matrixCompSummary.txt):

@JessicaMeixner-NOAA
Copy link
Copy Markdown
Collaborator

@MathieuDutSik thanks for the PR! I'm running regtests for another PR right now, and then will start regtests for this PR. I'll keep you up to date if any issues are encountered.

Copy link
Copy Markdown
Collaborator

@JessicaMeixner-NOAA JessicaMeixner-NOAA left a comment

Choose a reason for hiding this comment

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

matrixDiff.txt
matrixCompFull.txt
matrixCompSummary.txt

Only expected non-identical cases:

**********************************************************************
********************* non-identical cases ****************************
**********************************************************************
mww3_test_03/./work_PR1_MPI_e                     (1 files differ)
mww3_test_03/./work_PR2_UNO_MPI_d2                     (18 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2                     (18 files differ)
mww3_test_03/./work_PR3_UQ_MPI_e                     (1 files differ)
mww3_test_03/./work_PR1_MPI_d2                     (18 files differ)
mww3_test_03/./work_PR2_UQ_MPI_d2                     (13 files differ)
mww3_test_03/./work_PR3_UQ_MPI_e_c                     (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_e_c                     (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2                     (18 files differ)
mww3_test_03/./work_PR2_UNO_MPI_e                     (1 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2_c                     (15 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2_c                     (17 files differ)
ww3_ta1/./work_UPD0F_U                     (0 files differ)
ww3_tp2.10/./work_MPI_OMPH                     (7 files differ)
ww3_tp2.16/./work_MPI_OMPH                     (4 files differ)
ww3_tp2.17/./work_mb                     (1 files differ)
ww3_tp2.17/./work_b                     (1 files differ)
ww3_tp2.17/./work_mc                     (1 files differ)
ww3_tp2.17/./work_a                     (1 files differ)
ww3_tp2.17/./work_c                     (1 files differ)
ww3_tp2.17/./work_ma                     (1 files differ)
ww3_tp2.17/./work_mc1                     (1 files differ)
ww3_tp2.17/./work_ma1                     (1 files differ)
ww3_ufs1.3/./work_a                     (1 files differ)

@JessicaMeixner-NOAA JessicaMeixner-NOAA merged commit 2b630a2 into NOAA-EMC:develop Sep 27, 2022
@MathieuDutSik MathieuDutSik deleted the mathieu/exchange_zero branch October 20, 2022 16:25
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.

2 participants