-
Notifications
You must be signed in to change notification settings - Fork 388
Update COMPASS ocean API for python 3 and using conda packages #229
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
Update COMPASS ocean API for python 3 and using conda packages #229
Conversation
TestingI set up an environment on my linux laptop and on LANL IC as follows: Note: I have uploaded test versions of To activate this environment on LANL IC, run: module unload python
source /usr/projects/climate/SHARED_CLIMATE/anaconda_envs/base/etc/profile.d/conda.sh
conda activate compass_py3.7COMPASS ocean test cases that have been tested and found to run successfully in this environment:
Tests in bold failed, see below. |
|
Building MPAS with python 3 will require updating to the latest releases of CVMix and Ocean-BGC after this PR is merged: |
d40f92e to
bf422e1
Compare
Failed testsThe following is a list of tests that failed (but for reasons I believe are unrelated to this PR):
|
|
@caozd999, could you change permissions on the 2 files above that you own (in |
bf422e1 to
1e01db5
Compare
|
@xylar, how is it now?
…On Mon, May 6, 2019 at 7:51 AM Xylar Asay-Davis ***@***.***> wrote:
@caozd999 <https://github.com/caozd999>, could you change permissions on
the 2 files above that you own (in
/usr/projects/regionalclimate/COMMON_MPAS/ocean/grids/mesh_database on
LANL IC) so I can read them? Probably, they should belong to the climate
group. Check also for other files there than you own.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#229 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIXUF4BGARVMFVCTSOPZO33PUAZW5ANCNFSM4HK3TOKQ>
.
|
|
I think it has something to do with @pwolfram.
…On Mon, May 6, 2019 at 10:37 AM Xylar Asay-Davis ***@***.***> wrote:
@caozd999 <https://github.com/caozd999>, the 2.5 km ZISO test case now
runs but crashes with a memory issue. I think it's just running on too few
nodes/processors. Would you be able to update the default settings for that
test case so it runs without running out of memory? Or is that something
for @pwolfram <https://github.com/pwolfram>?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#229 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIXUF4EEVURAHCAJYDGL3LDPUBNEHANCNFSM4HK3TOKQ>
.
|
84e2afa to
ed9992c
Compare
|
@pwolfram, I tried increasing the In any case, I'm going to make a separate issue for this since it's not related to this PR. |
|
I have now either successfully tested all test cases (55/61) or with this branch or created issues (#233, #234 and #235) to get issues that I think are unrelated to this PR addressed (6/61). I believe this branch is now ready for @mark-petersen to test and merge when ready. |
|
@kristin-hoch and I tested together yesterday. We use the We will add and test the nightly regression suite this morning. |
|
@xylar, @pwolfram @sbrus89 , I'd like to proceed with merge and test of several PRs. The proposed order is:
(4) and (5) will have minor conflicts. Is this OK with you both? I will ask you to rebase later today. |
|
#56, #201 and #164 is completely independent of this work, so that one is fine. |
|
Agreed. We will switch (4) and (5). |
Fix a few small bugs in coastal_tools
Viz and parameter-study scripts will be updated separately at a later date.
Several coastal and LIGHT test cases need to be updated to make use of the jigsaw_to_MPAS package or the new conda environment, or need to have python 3 support.
04be2b6 to
de0becf
Compare
|
Okay, it's rebased. Please do some last tests and merge when ready. |
…s' into ocean/develop A large number of updates to the COMPASS ocean API including: - using the geometric_features conda package (MPAS-Dev/geometric_features#102) - using the mpas_tools conda package (MPAS-Dev/MPAS-Tools#248) - updating the jigsaw_to_MPAS scripts to work as a python package and to support python 3 - update global_ocean scripts to python 3 and to use these new packages NOTE: This merge removes the capability to create the global meshes used in E3SM version 1, (2017-2018), where the base meshes were created with Doug Jacobsen’s tool. The global mesh creation remaining after this commit only uses the Jigsaw tool. In order to recreate meshes and initial conditions used in E3SM version 1, use repositories as of March 1, 2019: 1. MPAS-Model commit:42029f218175d893cf25e19a26d9b43382a44d54 2. MPAS-Tools commit:6d0fa3a24e879a1a5b6149d9fbfe80fa021489dc 3. geometric_features tag:E3SMv3grids 76709be closes #220 closes #213 closes #132 closes #166
|
@xylar thanks for your tremendous effort. This is a big accomplishment. I tested the merged commit, all is OK. Will now make E3SM PR and then update nightly test suite. |
|
Thanks very much for shepherding this through, @mark-petersen! |
Includes: 1. LIGHT update (MPAS-Ocean Lagrangian particles): MPAS-Dev/MPAS-Model#56 2. clean up ice shelf melt flag: MPAS-Dev/MPAS-Model#164 3. merge coastal branch: MPAS-Dev/MPAS-Model#54 4. CONUS mesh update: MPAS-Dev/MPAS-Model#201 5. Major COMPASS upgrade to python 3: MPAS-Dev/MPAS-Model#229 6. Eliminate outdated -DUNDERSCORE flag: MPAS-Dev/MPAS-Model#156 7. PIO Version Compatibility Check - PGI Compiler Bug Fix: MPAS-Dev/MPAS-Model#212 These changes do not alter E3SM standard cases or testing on next. COMPASS is the MPAS testing infrastructure. LIGHT and coastal changes are protected by flags and not used in normal E3SM tests.
Update mpas source This PR update the mpas-source git submodule but only includes changes that will not impact E3SM. These changes include: * LIGHT update (MPAS-Ocean Lagrangian particles): MPAS-Dev/MPAS-Model#56 * clean up ice shelf melt flag: MPAS-Dev/MPAS-Model#164 * merge coastal branch: MPAS-Dev/MPAS-Model#54 * CONUS mesh update: MPAS-Dev/MPAS-Model#201 * Major COMPASS upgrade to python 3: MPAS-Dev/MPAS-Model#229 * Eliminate outdated -DUNDERSCORE flag: MPAS-Dev/MPAS-Model#156 * PIO Version Compatibility Check - PGI Compiler Bug Fix: MPAS-Dev/MPAS-Model#212 These changes do not alter E3SM standard cases or tested configurations. COMPASS is the MPAS testing infrastructure. LIGHT and coastal changes are protected by flags and not used in normal E3SM tests. [NML] [BFB]
Update mpas source This PR update the mpas-source git submodule but only includes changes that will not impact E3SM. These changes include: * LIGHT update (MPAS-Ocean Lagrangian particles): MPAS-Dev/MPAS-Model#56 * clean up ice shelf melt flag: MPAS-Dev/MPAS-Model#164 * merge coastal branch: MPAS-Dev/MPAS-Model#54 * CONUS mesh update: MPAS-Dev/MPAS-Model#201 * Major COMPASS upgrade to python 3: MPAS-Dev/MPAS-Model#229 * Eliminate outdated -DUNDERSCORE flag: MPAS-Dev/MPAS-Model#156 * PIO Version Compatibility Check - PGI Compiler Bug Fix: MPAS-Dev/MPAS-Model#212 These changes do not alter E3SM standard cases or tested configurations. COMPASS is the MPAS testing infrastructure. LIGHT and coastal changes are protected by flags and not used in normal E3SM tests. [NML] [BFB]
…esh_tools' into ocean/develop A large number of updates to the COMPASS ocean API including: - using the geometric_features conda package (MPAS-Dev/geometric_features#102) - using the mpas_tools conda package (MPAS-Dev/MPAS-Tools#248) - updating the jigsaw_to_MPAS scripts to work as a python package and to support python 3 - update global_ocean scripts to python 3 and to use these new packages NOTE: This merge removes the capability to create the global meshes used in E3SM version 1, (2017-2018), where the base meshes were created with Doug Jacobsen’s tool. The global mesh creation remaining after this commit only uses the Jigsaw tool. In order to recreate meshes and initial conditions used in E3SM version 1, use repositories as of March 1, 2019: 1. MPAS-Model commit:42029f218175d893cf25e19a26d9b43382a44d54 2. MPAS-Tools commit:6d0fa3a24e879a1a5b6149d9fbfe80fa021489dc 3. geometric_features tag:E3SMv3grids 76709be closes MPAS-Dev#220 closes MPAS-Dev#213 closes MPAS-Dev#132 closes MPAS-Dev#166
A large number of updates to the COMPASS ocean API including:
global_oceanscripts to python 3 and to use these new packagesNOTE: This merge removes the capability to create the global meshes used in E3SM version 1, (2017-2018), where the base meshes were created with Doug Jacobsen’s tool. The global mesh creation remaining after this commit only uses the Jigsaw tool.
In order to recreate meshes and initial conditions used in E3SM version 1, use repositories as of
March 1, 2019:
closes #220
closes #213
closes #132
closes #166