Skip to content

Commit

Permalink
Add otps as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Nov 28, 2022
1 parent e8ce7a5 commit dd8a8c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions conda/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,7 @@ def build_conda_env(env_type, recreate, machine, mpi, conda_mpi, version,
if env_type == 'test_release':
# for a test release, we will be the compass package from the dev label
channels = channels + ['-c e3sm/label/compass_dev']
if (machine is not None and machine.startswith('conda')) \
or env_type == 'release':
# we need libpnetcdf and scorpio (and maybe compass itself) from the
# e3sm channel, compass label
channels = channels + ['-c e3sm/label/compass']
channels = channels + ['-c e3sm/label/compass']

channels = f'--override-channels {" ".join(channels)}'
packages = f'python={python}'
Expand Down
1 change: 1 addition & 0 deletions conda/compass_env/spec-file.template
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ mpas_tools=0.15.0
nco
netcdf4=*=nompi_*
numpy
otps=2021.10
progressbar2
pyamg >=4.2.2
pyproj
Expand Down
1 change: 1 addition & 0 deletions conda/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ requirements:
- nco
- netcdf4 * nompi_*
- numpy
- otps 2021.10 # [linux]
- progressbar2
- pyamg >=4.2.2
- pyproj
Expand Down

0 comments on commit dd8a8c4

Please sign in to comment.