8000 Disable otps on OSX by xylar · Pull Request #487 · MPAS-Dev/compass · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Disable otps on OSX #487

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

Merged
merged 1 commit into from
Dec 22, 2022
Merged

Disable otps on OSX #487

merged 1 commit into from
Dec 22, 2022

Conversation

xylar
Copy link
Collaborator
@xylar xylar commented Dec 22, 2022

Checklist

  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes

@xylar
Copy link
Collaborator Author
xylar commented Dec 22, 2022

@hollyhan, could you try this out? I don't have my Mac with me and won't for another week at least.

@xylar xylar requested a review from hollyhan December 22, 2022 16:47
@xylar xylar self-assigned this Dec 22, 2022
@xylar xylar added bug Something isn't working dependencies and deployment Changes relate to creating conda and Spack environments, and creating a load script labels Dec 22, 2022
@hollyhan
Copy link
Contributor
hollyhan commented Dec 22, 2022

Testing

@xylar, thanks so much for making this PR!

I've tested it on my macbook and the conda environment is successfully created. Below show the error before and after the fix in this PR:

Before the fix:

running:
   source /Users/hollyhan/miniconda3/etc/profile.d/conda.sh
   source /Users/hollyhan/miniconda3/etc/profile.d/mamba.sh
   conda activate
   mamba create -y -n dev_compass_1.2.0-alpha.3_openmpi --override-channels -c conda-forge -c defaults -c e3sm/label/compass --file spec-file-openmpi.txt python=3.10

conda-forge/osx-64                                          Using cache
conda-forge/noarch                                          Using cache
pkgs/main/osx-64                                            Using cache
pkgs/main/noarch                                            Using cache
pkgs/r/osx-64                                               Using cache
pkgs/r/noarch                                               Using cache

Looking for: ["python[version='>=3.8']", 'cartopy', 'cartopy_offlinedata', 'cmocean', 'esmf=[build=mpi_openmpi_*]', 'ffmpeg', 'geometric_features==0.7.0', 'git', 'ipython', 'jigsaw==0.9.14', 'jigsawpy==0.3.3', 'jupyter', 'lxml', 'mache==1.9.0', 'matplotlib-base', 'metis', 'mpas_tools==0.15.0', 'nco', 'netcdf4=[build=nompi_*]', 'numpy', 'otps==2021.10', 'progressbar2', "pyamg[version='>=4.2.2']", 'pyproj', "pyremap[version='>=0.0.13,<0.1.0']", 'requests', "scipy[version='>=1.8.0']", "shapely[version='>=1.8.0,<2.0.0']", 'xarray', 'pip', 'flake8', 'c-compiler', 'cmake', 'cxx-compiler', 'fortran-compiler', 'libnetcdf==4.8.1[build=mpi_openmpi_*]', 'libpnetcdf==1.12.2[build=mpi_openmpi_*]', 'scorpio==1.3.2[build=mpi_openmpi_*]', 'm4', 'make', 'openmpi', 'netcdf-fortran', 'cfchecker', 'udunits2', 'm2r', 'mock', 'sphinx', 'sphinx_rtd_theme', 'python=3.10']

Could not solve for environment specs
Encountered problems while solving:
  - nothing provides requested otps 2021.10

The environment can't be solved, aborting the operation

After the fix (testing this PR):

hollyhan$ ./conda/configure_compass_env.py --mpi openmpi 

Warning: --conda path not supplied.  Using conda installed at:
   /Users/hollyhan/miniconda3

Logging to: conda/logs/prebootstrap.log

Doing initial setup

Updating conda environment for installing compass

Creating the compass conda environment


 Running:
   source /Users/hollyhan/miniconda3/etc/profile.d/conda.sh
   source /Users/hollyhan/miniconda3/etc/profile.d/mamba.sh
   conda activate compass_bootstrap
   /Users/hollyhan/Desktop/RESEARCH/MALI/compass/remove_xtime_variable_ismip6_ocean_forcing/conda/bootstrap.py --mpi openmpi

Logging to: conda/logs/bootstrap.log

Configuring environment(s) for the following compilers and MPI libraries:
  clang, openmpi

creating dev_compass_1.2.0-alpha.3_openmpi
Writing:
   /Users/hollyhan/Desktop/RESEARCH/MALI/compass/remove_xtime_variable_ismip6_ocean_forcing/load_dev_compass_1.2.0-alpha.3_openmpi.sh

@xylar
Copy link
Collaborator Author
xylar commented Dec 22, 2022

Wonderful, thanks!

@xylar xylar merged commit 35b2770 into MPAS-Dev:main Dec 22, 2022
@xylar xylar deleted the fix_otps_osx branch December 22, 2022 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies and deployment Changes relate to creating conda and Spack environments, and creating a load script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0