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

generalize table reading in p3_iso_c #2857

Merged
merged 4 commits into from
Jul 12, 2024

Conversation

mahf708
Copy link
Contributor

@mahf708 mahf708 commented Jun 3, 2024

Two issues that appeared in cases where the produced shared object was patched to make the hard links softer.

  1. The length of the paths was more than 256 characters
  2. Somehow the write logic in the append_precision wasn't working, so fixing that with a more hardcoded char concat

In both cases, the issues weren't reproducible in supported machines or supported builds (the issue is essentially when the shared objects are built on one machine and used on another, hence the need to change the hard links to softer links, so that the paths can be different on different machines)

@mahf708 mahf708 changed the title set explicit out and expand type set explicit out and expand type p3_iso_c Jun 3, 2024
@mahf708 mahf708 changed the title set explicit out and expand type p3_iso_c set explicit out and expand type in p3_iso_c Jun 3, 2024
@mahf708 mahf708 changed the title set explicit out and expand type in p3_iso_c set explicit out and expand type in p3_iso_c append_precision Jun 3, 2024
@mahf708 mahf708 added BFB Bit for bit p3 regarding p3 microphysics labels Jun 3, 2024
Co-authored-by: Andrew M. Bradley <[email protected]>
@mahf708 mahf708 changed the title set explicit out and expand type in p3_iso_c append_precision set explicit out in p3_iso_c append_precision Jun 3, 2024
ambrad
ambrad previously approved these changes Jun 3, 2024
@mahf708 mahf708 added the AT: WIP label Jun 3, 2024
@mahf708 mahf708 requested a review from ambrad June 3, 2024 20:43
@mahf708 mahf708 changed the title set explicit out in p3_iso_c append_precision generalize inputfile reading in p3_iso_c Jun 3, 2024
@mahf708 mahf708 changed the title generalize inputfile reading in p3_iso_c generalize table reading in p3_iso_c Jun 3, 2024
@mahf708
Copy link
Contributor Author

mahf708 commented Jun 3, 2024

@ambrad, this PR has devolved into a bit of a mess, sorry :(

What do you think about it in its current state? I think this PR "generalizes" (very slightly) the table reading. Essentially, it allows for weirdly long pathnames. Moreover, the other unclear aspect is why the write-way of updating the names never quite worked. This PR slightly improves on that, though tbh I am not a fan of the hardcoded single/double (but I notice it is hardcoded elsewhere, so ...)

Any suggestions for testing or other improvements? Should I run the AT on this to see what it will return? I think it will be BFB, but who knows?!

@mahf708
Copy link
Contributor Author

mahf708 commented Jun 3, 2024

Note: since this is for specific, non-supported-machine type of thing, I am happy to close this PR and apply these changes as "patches" elsewhere.

@ambrad
Copy link
Member

ambrad commented Jun 3, 2024

Looks fine. Definitely let the AT run all its tests before merging.

Copy link
Member

@ambrad ambrad left a comment

Choose a reason for hiding this comment

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

For the record, note that the change from calling append_precision to hardcoded string concatenation is because something in the old append_precision code path in the container environment Naser is working on is not working. A small reproducer does not have the problem, so something subtle is going wrong.

@mahf708 mahf708 removed the AT: WIP label Jun 3, 2024
@E3SM-Bot
Copy link
Collaborator

E3SM-Bot commented Jun 3, 2024

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5502
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5778
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Using Repos:

Repo: SCREAM (E3SM-Project/scream)
  • Branch: mahf708/p3/fix-precision-append-inout
  • SHA: d2ed08c
  • Mode: TEST_REPO

Pull Request Author: mahf708

@E3SM-Bot
Copy link
Collaborator

E3SM-Bot commented Jun 3, 2024

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5502
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5778
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

@E3SM-Bot
Copy link
Collaborator

E3SM-Bot commented Jun 3, 2024

Status Flag 'Pull Request AutoTester' - AutoMerge IS ENABLED, but the Label AT: AUTOMERGE is not set. Either set Label AT: AUTOMERGE or manually merge the PR...

@E3SM-Bot
Copy link
Collaborator

E3SM-Bot commented Jun 4, 2024

The base branch has been updated since the last successful testing.

  • last PASS base branch sha: 9f8ce1f
  • current base branch sha : b80e1bd
    The AutoTester will discard the last PASS, and re-test the PR from scratch

@E3SM-Bot
Copy link
Collaborator

E3SM-Bot commented Jun 4, 2024

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5506
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5782
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Using Repos:

Repo: SCREAM (E3SM-Project/scream)
  • Branch: mahf708/p3/fix-precision-append-inout
  • SHA: d2ed08c
  • Mode: TEST_REPO

Pull Request Author: mahf708

@E3SM-Bot
Copy link
Collaborator

E3SM-Bot commented Jun 4, 2024

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5506
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5782
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

@E3SM-Bot
Copy link
Collaborator

E3SM-Bot commented Jun 4, 2024

Status Flag 'Pull Request AutoTester' - AutoMerge IS ENABLED, but the Label AT: AUTOMERGE is not set. Either set Label AT: AUTOMERGE or manually merge the PR...

@mahf708 mahf708 changed the title generalize table reading in p3_iso_c table reading in p3_iso_c Jun 5, 2024
@mahf708 mahf708 changed the title table reading in p3_iso_c generalize table reading in p3_iso_c Jun 5, 2024
@E3SM-Bot
Copy link
Collaborator

E3SM-Bot commented Jun 5, 2024

Status Flag 'Pull Request AutoTester' - AutoMerge IS ENABLED, but the Label AT: AUTOMERGE is not set. Either set Label AT: AUTOMERGE or manually merge the PR...

@E3SM-Bot
Copy link
Collaborator

E3SM-Bot commented Jun 7, 2024

The base branch has been updated since the last successful testing.

  • last PASS base branch sha: b80e1bd
  • current base branch sha : 508ac99
    The AutoTester will discard the last PASS, and re-test the PR from scratch

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5511
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5785
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Using Repos:

Repo: SCREAM (E3SM-Project/scream)
  • Branch: mahf708/p3/fix-precision-append-inout
  • SHA: d2ed08c
  • Mode: TEST_REPO

Pull Request Author: mahf708

@E3SM-Bot
Copy link
Collaborator

NOTICE: The AutoTester has encountered an internal error (usually a Communications Timeout), testing will be restarted, previous tests may still be running but will be ignored by the AutoTester...

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5515
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5787
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Using Repos:

Repo: SCREAM (E3SM-Project/scream)
  • Branch: mahf708/p3/fix-precision-append-inout
  • SHA: d2ed08c
  • Mode: TEST_REPO

Pull Request Author: mahf708

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5515
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5787
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - AutoMerge IS ENABLED, but the Label AT: AUTOMERGE is not set. Either set Label AT: AUTOMERGE or manually merge the PR...

@E3SM-Bot
Copy link
Collaborator

The base branch has been updated since the last successful testing.

  • last PASS base branch sha: 508ac99
  • current base branch sha : 6d57c6b
    The AutoTester will discard the last PASS, and re-test the PR from scratch

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5518
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5789
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Using Repos:

Repo: SCREAM (E3SM-Project/scream)
  • Branch: mahf708/p3/fix-precision-append-inout
  • SHA: d2ed08c
  • Mode: TEST_REPO

Pull Request Author: mahf708

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - Jenkins Testing: 1 or more Jobs FAILED

Note: Testing will normally be attempted again in approx. 2 Hrs. If a change to the PR source branch occurs, the testing will be attempted again on next available autotester run.

Pull Request Auto Testing has FAILED (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5518
  • Status: FAILED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5789
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM
SCREAM_PullRequest_Autotester_Mappy # 5518 FAILED (click to see last 100 lines of console output)

Waiting for tests to finish
NLFAIL ERP_D_Lh4.ne4_ne4.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERP_D_Lh4.ne4_ne4.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1.C.20240611_115713_mz6nzy
NLFAIL ERP_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-4 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERP_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-4.C.20240611_115713_mz6nzy
NLFAIL ERS_D_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-rad_frequency_2--scream-output-preset-5 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_D_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-rad_frequency_2--scream-output-preset-5.C.20240611_115713_mz6nzy
NLFAIL ERS_Ln9.ne4_ne4.F2000-SCREAMv1-AQP1.mappy_gnu.scream-output-preset-2 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_Ln9.ne4_ne4.F2000-SCREAMv1-AQP1.mappy_gnu.scream-output-preset-2.C.20240611_115713_mz6nzy
NLFAIL ERS_P16_Ln22.ne30_ne30.F2010-SCREAMv1-DP-DYCOMSrf01.mappy_gnu (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_P16_Ln22.ne30_ne30.F2010-SCREAMv1-DP-DYCOMSrf01.mappy_gnu.C.20240611_115713_mz6nzy
NLFAIL PET_Ln9_P32x2.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/PET_Ln9_P32x2.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1.C.20240611_115713_mz6nzy
NLFAIL SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.mappy_gnu.scream-mam4xx-optics (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.mappy_gnu.scream-mam4xx-optics.C.20240611_115713_mz6nzy
NLFAIL SMS_D_Ln9.ne4_ne4.F2010-SCREAMv1-noAero.mappy_gnu.scream-output-preset-3 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/SMS_D_Ln9.ne4_ne4.F2010-SCREAMv1-noAero.mappy_gnu.scream-output-preset-3.C.20240611_115713_mz6nzy
test-scheduler took 818.9374101161957 seconds'
+ errors='Waiting for tests to finish
NLFAIL ERP_D_Lh4.ne4_ne4.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERP_D_Lh4.ne4_ne4.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1.C.20240611_115713_mz6nzy
NLFAIL ERP_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-4 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERP_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-4.C.20240611_115713_mz6nzy
NLFAIL ERS_D_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-rad_frequency_2--scream-output-preset-5 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_D_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-rad_frequency_2--scream-output-preset-5.C.20240611_115713_mz6nzy
NLFAIL ERS_Ln9.ne4_ne4.F2000-SCREAMv1-AQP1.mappy_gnu.scream-output-preset-2 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_Ln9.ne4_ne4.F2000-SCREAMv1-AQP1.mappy_gnu.scream-output-preset-2.C.20240611_115713_mz6nzy
NLFAIL ERS_P16_Ln22.ne30_ne30.F2010-SCREAMv1-DP-DYCOMSrf01.mappy_gnu (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_P16_Ln22.ne30_ne30.F2010-SCREAMv1-DP-DYCOMSrf01.mappy_gnu.C.20240611_115713_mz6nzy
NLFAIL PET_Ln9_P32x2.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/PET_Ln9_P32x2.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1.C.20240611_115713_mz6nzy
NLFAIL SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.mappy_gnu.scream-mam4xx-optics (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.mappy_gnu.scream-mam4xx-optics.C.20240611_115713_mz6nzy
NLFAIL SMS_D_Ln9.ne4_ne4.F2010-SCREAMv1-noAero.mappy_gnu.scream-output-preset-3 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/SMS_D_Ln9.ne4_ne4.F2010-SCREAMv1-noAero.mappy_gnu.scream-output-preset-3.C.20240611_115713_mz6nzy
test-scheduler took 818.9374101161957 seconds'
+ V1_FAILURES_DETAILS+='Waiting for tests to finish
NLFAIL ERP_D_Lh4.ne4_ne4.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERP_D_Lh4.ne4_ne4.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1.C.20240611_115713_mz6nzy
NLFAIL ERP_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-4 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERP_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-4.C.20240611_115713_mz6nzy
NLFAIL ERS_D_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-rad_frequency_2--scream-output-preset-5 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_D_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-rad_frequency_2--scream-output-preset-5.C.20240611_115713_mz6nzy
NLFAIL ERS_Ln9.ne4_ne4.F2000-SCREAMv1-AQP1.mappy_gnu.scream-output-preset-2 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_Ln9.ne4_ne4.F2000-SCREAMv1-AQP1.mappy_gnu.scream-output-preset-2.C.20240611_115713_mz6nzy
NLFAIL ERS_P16_Ln22.ne30_ne30.F2010-SCREAMv1-DP-DYCOMSrf01.mappy_gnu (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_P16_Ln22.ne30_ne30.F2010-SCREAMv1-DP-DYCOMSrf01.mappy_gnu.C.20240611_115713_mz6nzy
NLFAIL PET_Ln9_P32x2.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/PET_Ln9_P32x2.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1.C.20240611_115713_mz6nzy
NLFAIL SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.mappy_gnu.scream-mam4xx-optics (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.mappy_gnu.scream-mam4xx-optics.C.20240611_115713_mz6nzy
NLFAIL SMS_D_Ln9.ne4_ne4.F2010-SCREAMv1-noAero.mappy_gnu.scream-output-preset-3 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/SMS_D_Ln9.ne4_ne4.F2010-SCREAMv1-noAero.mappy_gnu.scream-output-preset-3.C.20240611_115713_mz6nzy
test-scheduler took 818.9374101161957 seconds'
+ set +x
######################################################
FAILS DETECTED:
  SCREAM V1 TESTING FAILED!
Waiting for tests to finish
NLFAIL ERP_D_Lh4.ne4_ne4.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERP_D_Lh4.ne4_ne4.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1.C.20240611_115713_mz6nzy
NLFAIL ERP_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-4 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERP_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-4.C.20240611_115713_mz6nzy
NLFAIL ERS_D_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-rad_frequency_2--scream-output-preset-5 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_D_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-rad_frequency_2--scream-output-preset-5.C.20240611_115713_mz6nzy
NLFAIL ERS_Ln9.ne4_ne4.F2000-SCREAMv1-AQP1.mappy_gnu.scream-output-preset-2 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_Ln9.ne4_ne4.F2000-SCREAMv1-AQP1.mappy_gnu.scream-output-preset-2.C.20240611_115713_mz6nzy
NLFAIL ERS_P16_Ln22.ne30_ne30.F2010-SCREAMv1-DP-DYCOMSrf01.mappy_gnu (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/ERS_P16_Ln22.ne30_ne30.F2010-SCREAMv1-DP-DYCOMSrf01.mappy_gnu.C.20240611_115713_mz6nzy
NLFAIL PET_Ln9_P32x2.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/PET_Ln9_P32x2.ne4pg2_ne4pg2.F2010-SCREAMv1.mappy_gnu.scream-output-preset-1.C.20240611_115713_mz6nzy
NLFAIL SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.mappy_gnu.scream-mam4xx-optics (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.mappy_gnu.scream-mam4xx-optics.C.20240611_115713_mz6nzy
NLFAIL SMS_D_Ln9.ne4_ne4.F2010-SCREAMv1-noAero.mappy_gnu.scream-output-preset-3 (but otherwise OK) RUN
    Case dir: /ascldap/users/e3sm-jenkins/acme/scratch/SMS_D_Ln9.ne4_ne4.F2010-SCREAMv1-noAero.mappy_gnu.scream-output-preset-3.C.20240611_115713_mz6nzy
test-scheduler took 818.9374101161957 seconds
######################################################
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 12135 killed;
[ssh-agent] Stopped.
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script  : #!/bin/bash -le

cd $WORKSPACE/${BUILD_ID}/

./scream/components/eamxx/scripts/jenkins/jenkins_cleanup.sh

We're having issues with some test-launcher job hanging forever. So let's make sure we clean all penting test-launcher jobs

squeue -o"%.7i %u %40j" | grep e3sm-jenkins | grep test-launcher | awk '{ print $1 }' | xargs -r scancel

[SCREAM_PullRequest_Autotester_Mappy] $ /bin/bash -le /tmp/jenkins9588432517314337139.sh
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Sending e-mails to: [email protected]
Finished: FAILURE

SCREAM_PullRequest_Autotester_Weaver # 5789 PASSED (click to see last 100 lines of console output)

115/132 Test #115: shoc_p3_nudging_glob_novert .............................   Passed    2.83 sec
        Start 116: homme_shoc_cld_p3_rrtmgp_np1
116/132 Test #116: homme_shoc_cld_p3_rrtmgp_np1 ............................   Passed    8.02 sec
        Start 117: homme_shoc_cld_p3_rrtmgp_baseline_cmp
117/132 Test #117: homme_shoc_cld_p3_rrtmgp_baseline_cmp ...................   Passed    0.13 sec
        Start 118: homme_shoc_cld_p3_rrtmgp_pg2_np1
118/132 Test #118: homme_shoc_cld_p3_rrtmgp_pg2_np1 ........................   Passed    7.54 sec
        Start 119: homme_shoc_cld_p3_rrtmgp_pg2_baseline_cmp
119/132 Test #119: homme_shoc_cld_p3_rrtmgp_pg2_baseline_cmp ...............   Passed    0.08 sec
        Start 120: model_baseline
120/132 Test #120: model_baseline ..........................................   Passed    8.93 sec
        Start 121: model_initial
121/132 Test #121: model_initial ...........................................   Passed    4.64 sec
        Start 122: model_restart
122/132 Test #122: model_restart ...........................................   Passed    5.90 sec
        Start 123: restarted_vs_monolithic_check_np1
123/132 Test #123: restarted_vs_monolithic_check_np1 .......................   Passed    0.10 sec
        Start 124: homme_shoc_cld_spa_p3_rrtmgp_np1
124/132 Test #124: homme_shoc_cld_spa_p3_rrtmgp_np1 ........................   Passed    8.88 sec
        Start 125: homme_shoc_cld_spa_p3_rrtmgp_baseline_cmp
125/132 Test #125: homme_shoc_cld_spa_p3_rrtmgp_baseline_cmp ...............   Passed    0.11 sec
        Start 126: homme_shoc_cld_spa_p3_rrtmgp_128levels_np1
126/132 Test #126: homme_shoc_cld_spa_p3_rrtmgp_128levels_np1 ..............   Passed   10.41 sec
        Start 127: homme_shoc_cld_spa_p3_rrtmgp_128levels_tend_check_np1
127/132 Test #127: homme_shoc_cld_spa_p3_rrtmgp_128levels_tend_check_np1 ...   Passed    1.37 sec
        Start 128: homme_shoc_cld_spa_p3_rrtmgp_128levels_baseline_cmp
128/132 Test #128: homme_shoc_cld_spa_p3_rrtmgp_128levels_baseline_cmp .....   Passed    0.61 sec
        Start 129: homme_shoc_cld_spa_p3_rrtmgp_pg2_dp_np1
129/132 Test #129: homme_shoc_cld_spa_p3_rrtmgp_pg2_dp_np1 .................   Passed   14.73 sec
        Start 130: homme_shoc_cld_spa_p3_rrtmgp_pg2_dp_baseline_cmp
130/132 Test #130: homme_shoc_cld_spa_p3_rrtmgp_pg2_dp_baseline_cmp ........   Passed    0.11 sec
        Start 131: homme_shoc_cld_p3_mam_optics_rrtmgp_np1
131/132 Test #131: homme_shoc_cld_p3_mam_optics_rrtmgp_np1 .................   Passed    7.46 sec
        Start 132: homme_shoc_cld_p3_mam_optics_rrtmgp_baseline_cmp
132/132 Test #132: homme_shoc_cld_p3_mam_optics_rrtmgp_baseline_cmp ........   Passed    0.15 sec

100% tests passed, 0 tests failed out of 132

Label Time Summary:
baseline_cmp = 91.73 secproc (16 tests)
baseline_gen = 182.52 sec
proc (18 tests)
bfbhash = 0.70 secproc (1 test)
check = 0.71 sec
proc (1 test)
cld = 13.45 secproc (3 tests)
cld_fraction = 2.71 sec
proc (1 test)
cxx baseline_cmp = 9.55 secproc (2 tests)
diagnostics = 36.82 sec
proc (22 tests)
driver = 32.49 secproc (8 tests)
dynamics = 4.94 sec
proc (3 tests)
fail = 40.60 secproc (4 tests)
io = 41.08 sec
proc (13 tests)
mam4_optics = 6.80 secproc (1 test)
nudging = 10.66 sec
proc (2 tests)
p3 = 129.72 secproc (7 tests)
p3_sk = 130.19 sec
proc (2 tests)
physics = 285.63 secproc (19 tests)
remap = 3.79 sec
proc (1 test)
rrtmgp = 29.90 secproc (9 tests)
shoc = 17.50 sec
proc (7 tests)
spa = 10.33 secproc (4 tests)
surface_coupling = 3.29 sec
proc (1 test)

Total Test time (real) = 687.86 sec

Testing '''3b5855ceda6cef65fbcc8630315d2cbf311f9945''' for test '''full_sp_debug'''

RUN: taskset -c 52-103 sh -c '''SCREAM_BUILD_PARALLEL_LEVEL=52 CTEST_PARALLEL_LEVEL=1 ctest -V --output-on-failure --resource-spec-file /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/ctest-build/full_sp_debug/ctest_resource_file.json -DNO_SUBMIT=True -DBUILD_WORK_DIR=/home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/ctest-build/full_sp_debug -DBUILD_NAME_MOD=full_sp_debug -S /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/cmake/ctest_script.cmake -DCTEST_SITE=weaver -DCMAKE_COMMAND="-C /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/cmake/machine-files/weaver.cmake -DNetCDF_Fortran_PATH=/projects/ppc64le-pwr9-rhel8/tpls/netcdf-fortran/4.6.0/gcc/11.3.0/openmpi/4.1.4/5ka6asw -DNetCDF_C_PATH=/projects/ppc64le-pwr9-rhel8/tpls/netcdf-c/4.9.0/gcc/11.3.0/openmpi/4.1.4/mdd6fth -DPnetCDF_C_PATH=/projects/ppc64le-pwr9-rhel8/tpls/parallel-netcdf/1.12.3/gcc/11.3.0/openmpi/4.1.4/52dibdr -DCMAKE_BUILD_TYPE=Debug -DEKAT_DEFAULT_BFB=True -DSCREAM_DOUBLE_PRECISION=False -DEKAT_DISABLE_TPL_WARNINGS='''''''''ON''''''''' -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpifort -DSCREAM_DYNAMICS_DYCORE=HOMME -DSCREAM_TEST_MAX_TOTAL_THREADS=1 -DSCREAM_BASELINES_DIR=/home/projects/e3sm/scream/pr-autotester/master-baselines/weaver/full_sp_debug" '''
FROM: /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/ctest-build/full_sp_debug

Testing '''3b5855ceda6cef65fbcc8630315d2cbf311f9945''' for test '''release'''

RUN: taskset -c 104-155 sh -c '''SCREAM_BUILD_PARALLEL_LEVEL=52 CTEST_PARALLEL_LEVEL=1 ctest -V --output-on-failure --resource-spec-file /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/ctest-build/release/ctest_resource_file.json -DNO_SUBMIT=True -DBUILD_WORK_DIR=/home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/ctest-build/release -DBUILD_NAME_MOD=release -S /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/cmake/ctest_script.cmake -DCTEST_SITE=weaver -DCMAKE_COMMAND="-C /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/cmake/machine-files/weaver.cmake -DNetCDF_Fortran_PATH=/projects/ppc64le-pwr9-rhel8/tpls/netcdf-fortran/4.6.0/gcc/11.3.0/openmpi/4.1.4/5ka6asw -DNetCDF_C_PATH=/projects/ppc64le-pwr9-rhel8/tpls/netcdf-c/4.9.0/gcc/11.3.0/openmpi/4.1.4/mdd6fth -DPnetCDF_C_PATH=/projects/ppc64le-pwr9-rhel8/tpls/parallel-netcdf/1.12.3/gcc/11.3.0/openmpi/4.1.4/52dibdr -DCMAKE_BUILD_TYPE=Release -DEKAT_DISABLE_TPL_WARNINGS='''''''''ON''''''''' -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpifort -DSCREAM_DYNAMICS_DYCORE=HOMME -DSCREAM_TEST_MAX_TOTAL_THREADS=1 -DSCREAM_BASELINES_DIR=/home/projects/e3sm/scream/pr-autotester/master-baselines/weaver/release" '''
FROM: /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/ctest-build/release

Testing '''3b5855ceda6cef65fbcc8630315d2cbf311f9945''' for test '''full_debug'''

RUN: taskset -c 0-51 sh -c '''SCREAM_BUILD_PARALLEL_LEVEL=52 CTEST_PARALLEL_LEVEL=1 ctest -V --output-on-failure --resource-spec-file /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/ctest-build/full_debug/ctest_resource_file.json -DNO_SUBMIT=True -DBUILD_WORK_DIR=/home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/ctest-build/full_debug -DBUILD_NAME_MOD=full_debug -S /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/cmake/ctest_script.cmake -DCTEST_SITE=weaver -DCMAKE_COMMAND="-C /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/cmake/machine-files/weaver.cmake -DNetCDF_Fortran_PATH=/projects/ppc64le-pwr9-rhel8/tpls/netcdf-fortran/4.6.0/gcc/11.3.0/openmpi/4.1.4/5ka6asw -DNetCDF_C_PATH=/projects/ppc64le-pwr9-rhel8/tpls/netcdf-c/4.9.0/gcc/11.3.0/openmpi/4.1.4/mdd6fth -DPnetCDF_C_PATH=/projects/ppc64le-pwr9-rhel8/tpls/parallel-netcdf/1.12.3/gcc/11.3.0/openmpi/4.1.4/52dibdr -DCMAKE_BUILD_TYPE=Debug -DEKAT_DEFAULT_BFB=True -DEKAT_DISABLE_TPL_WARNINGS='''''''''ON''''''''' -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpifort -DSCREAM_DYNAMICS_DYCORE=HOMME -DSCREAM_TEST_MAX_TOTAL_THREADS=1 -DSCREAM_BASELINES_DIR=/home/projects/e3sm/scream/pr-autotester/master-baselines/weaver/full_debug" '''
FROM: /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx/ctest-build/full_debug
OVERALL STATUS: PASS
Starting analysis on weaver with cmd: cd /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx && source /etc/profile.d/modules.sh && module purge && module load cmake/3.25.1 git/2.39.1 python/3.10.8 py-netcdf4/1.5.8 gcc/11.3.0 cuda/11.8.0 openmpi netcdf-c netcdf-fortran parallel-netcdf netlib-lapack && export HDF5_USE_FILE_LOCKING=FALSE && true && bsub -I -q rhel8 -n 4 -gpu num=4 ./scripts/test-all-scream --baseline-dir AUTO $compiler -p -c EKAT_DISABLE_TPL_WARNINGS=ON -i -m weaver
RUN: cd /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx && source /etc/profile.d/modules.sh && module purge && module load cmake/3.25.1 git/2.39.1 python/3.10.8 py-netcdf4/1.5.8 gcc/11.3.0 cuda/11.8.0 openmpi netcdf-c netcdf-fortran parallel-netcdf netlib-lapack && export HDF5_USE_FILE_LOCKING=FALSE && true && bsub -I -q rhel8 -n 4 -gpu num=4 ./scripts/test-all-scream --baseline-dir AUTO $compiler -p -c EKAT_DISABLE_TPL_WARNINGS=ON -i -m weaver
FROM: /home/e3sm-jenkins/weaver/workspace/SCREAM_PullRequest_Autotester_Weaver/5789/scream/components/eamxx
Completed analysis on weaver'

  • [[ 0 != 0 ]]
  • [[ 1 == 0 ]]
  • [[ weaver == \m\a\p\p\y ]]
  • set +x
    Performing Post build task...
    Match found for : : True
    Logical operation result is TRUE
    Running script : #!/bin/bash -le

cd $WORKSPACE/${BUILD_ID}/

./scream/components/eamxx/scripts/jenkins/jenkins_cleanup.sh
[SCREAM_PullRequest_Autotester_Weaver] $ /bin/bash -le /tmp/jenkins7801375245553839516.sh
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Sending e-mails to: [email protected]
Finished: SUCCESS

@bartgol
Copy link
Contributor

bartgol commented Jun 24, 2024

@jgfouca @tcclevenger @AaronDonahue and other p3 devs: It seems to me that we read p3 tables at init, but we never use them in the cxx code. Is that right? I see them explicitly computed in init_kokkos_ice_lookup_tables and init_kokkos_tables. It seems to me that reading the f90 tables only matters for the f90 code, which in turns only matters for unit testing.

Maybe it's time we separate the f90 stuff in p3 that is needed for unit tests only, and put it somewhere else (maybe in p3/tests). Or, at the very least, avoid doing this step in CIME runs, since it's pointless?

@jgfouca
Copy link
Member

jgfouca commented Jun 25, 2024

P3 definitely needs those tables. I think we decided it was simpler to read them in fortran and then pass the raw data over to the cxx side, but that data is used heavily all over p3. Just do a grep for table under eamxx/src/physics/p3/impl and you'll seem them used all over.

@bartgol
Copy link
Contributor

bartgol commented Jun 25, 2024

I know we use the tables, but it looks like we are computing them in this function and this function, which are called during P3's initialize_impl. All of this makes me wonder if P3 itself needs to load those files in a CIME run...

@jgfouca
Copy link
Member

jgfouca commented Jun 25, 2024

OK, my memory is starting to jog. I remember now that I did port the table reads from f90 to cxx. The second function you linked does file I/O, so the tables are still being read in cxx just like in f90 unless I misunderstood what you are saying.

@bartgol
Copy link
Contributor

bartgol commented Jun 25, 2024

Ah, yes, I completely missed the ifstream part in that file.

@PeterCaldwell
Copy link
Contributor

I'm not sure what our code is doing at this point, but here's a science perspective: it would be beneficial from a research standpoint if we could build as many of these tables as possible during the init phase of each run (or at least during the init phase of each startup rather than restart run). There are a lot of uncertain parameters in the creation of these tables and if we created the tables inline we could include tuning of those parameters in PPEs in a natural way. Another reason why it is good to calculate the tables inline is that it provides better provenance: if we just grab tables from some random place we have no way of knowing what they're doing. If those tables are calculated within our own code, we can always dive into them if needed.

I'm not saying we need to make changes right now, just that if/when we can we should calculate these changes inline.

Maybe we can get rid of the netcdf tables in the legendary time when DP is done and we abandon Fortran support?

@jgfouca
Copy link
Member

jgfouca commented Jun 25, 2024

@PeterCaldwell , it's been so long that my memory is foggy, but I am pretty sure I remember that some of these tables were quite expensive (over 10 seconds) to create which is why we changed them to file reads.

@bartgol
Copy link
Contributor

bartgol commented Jun 25, 2024

@PeterCaldwell , it's been so long that my memory is foggy, but I am pretty sure I remember that some of these tables were quite expensive (over 10 seconds) to create which is why we changed them to file reads.

I wonder if they were expensive to build b/c we built them on host in F90 (I assume that's what we did). Maybe if we built them on device things would be better? Although, this would only matter for a GPU build...

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - User Requested Retest - Label AT: RETEST will be reset after testing.

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5647
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3;AT: RETEST
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5890
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3;AT: RETEST
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Using Repos:

Repo: SCREAM (E3SM-Project/scream)
  • Branch: mahf708/p3/fix-precision-append-inout
  • SHA: d2ed08c
  • Mode: TEST_REPO

Pull Request Author: mahf708

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: SCREAM_PullRequest_Autotester_Mappy

  • Build Num: 5647
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3;AT: RETEST
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

Build Information

Test Name: SCREAM_PullRequest_Autotester_Weaver

  • Build Num: 5890
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS BFB;p3;AT: RETEST
PULLREQUESTNUM 2857
SCREAM_SOURCE_REPO https://github.com/E3SM-Project/scream
SCREAM_SOURCE_SHA d2ed08c
SCREAM_TARGET_BRANCH master
SCREAM_TARGET_REPO https://github.com/E3SM-Project/scream
SCREAM_TARGET_SHA d0adfce
TEST_REPO_ALIAS SCREAM

@E3SM-Bot
Copy link
Collaborator

Status Flag 'Pull Request AutoTester' - AutoMerge IS ENABLED, but the Label AT: AUTOMERGE is not set. Either set Label AT: AUTOMERGE or manually merge the PR...

@E3SM-Bot E3SM-Bot merged commit 395838d into master Jul 12, 2024
8 checks passed
@E3SM-Bot E3SM-Bot deleted the mahf708/p3/fix-precision-append-inout branch July 12, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB Bit for bit p3 regarding p3 microphysics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants