Skip to content

Commit

Permalink
Merge branch 'E3SM-Project:main' into aquaplanet-external-gravity-wave
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-lilly authored Feb 8, 2024
2 parents 03c72f0 + 2921be9 commit 7ce4884
Show file tree
Hide file tree
Showing 45 changed files with 1,107 additions and 237 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2

updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "xylar"
reviewers:
- "xylar"
9 changes: 5 additions & 4 deletions .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:

- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Checkout Code Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand Down Expand Up @@ -60,11 +60,11 @@ jobs:
paths_ignore: ${{ env.PATHS_IGNORE }}

- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Cache Conda
uses: actions/cache@v3
uses: actions/cache@v4
env:
# Increase this value to reset cache if conda-dev-spec.template has not changed in the workflow
CACHE_NUMBER: 0
Expand All @@ -88,6 +88,7 @@ jobs:
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Install polaris
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
./configure_polaris_envs.py \
--conda_env_only \
--env_name polaris_test \
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docs_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
shell: bash -l {0}
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: Cache Conda
uses: actions/cache@v3
uses: actions/cache@v4
env:
# Increase this value to reset cache if deploy/conda-dev-spec.template has not changed in the workflow
CACHE_NUMBER: 0
Expand All @@ -44,6 +44,7 @@ jobs:
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Install polaris
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
./configure_polaris_envs.py \
--conda_env_only \
--env_name polaris_test \
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "e3sm_submodules/Omega"]
path = e3sm_submodules/Omega
url = [email protected]:E3SM-Project/Omega.git
[submodule "jigsaw-python"]
path = jigsaw-python
url = [email protected]:dengwirda/jigsaw-python.git
10 changes: 8 additions & 2 deletions configure_polaris_envs.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ def setup_install_env(env_name, activate_base, use_local, logger, recreate,
channels = '--use-local'
else:
channels = ''
packages = f'progressbar2 jinja2 {mache}'
if mache == '':
# development mache so include dependencies
packages = 'importlib_resources jinja2 lxml packaging progressbar2 ' \
'pyyaml'
else:
packages = f'jinja2 {mache} packaging progressbar2'
if recreate or not os.path.exists(env_path):
print('Setting up a conda environment for installing polaris\n')
commands = f'{activate_base} && ' \
Expand Down Expand Up @@ -114,7 +119,8 @@ def main():
f'git clone -b {args.mache_branch} ' \
f'[email protected]:{args.mache_fork}.git mache && ' \
f'cd mache && ' \
f'python -m pip install .'
f'conda install -y --file spec-file.txt && ' \
f'python -m pip install --no-deps .'

check_call(commands, logger=logger)

Expand Down
4 changes: 4 additions & 0 deletions deploy/albany_supported.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ anvil, gnu, openmpi
chicoma-cpu, gnu, mpich
chrysalis, gnu, openmpi
compy, gnu, openmpi
frontier, gnu, mpich
frontier, gnugpu, mpich
frontier, crayclang, mpich
frontier, crayclanggpu, mpich
pm-cpu, gnu, mpich
morpheus, gnu, openmpi
Loading

0 comments on commit 7ce4884

Please sign in to comment.