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

Remove mamba command and switch to Miniforge3 #161

Merged
merged 4 commits into from
Jan 4, 2024

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Jan 4, 2024

This is the equivalent of the Compass PR MPAS-Dev/compass#751.

Checklist

  • User's Guide has been updated
  • Developer's Guide has been updated
  • Documentation has been built locally and changes look as expected
  • Testing comment in the PR documents testing used to verify the changes

@xylar xylar added clean-up deployment Changes relate to creating conda and Spack environments, and creating a load script labels Jan 4, 2024
@xylar xylar self-assigned this Jan 4, 2024
@xylar
Copy link
Collaborator Author

xylar commented Jan 4, 2024

Testing

I created a new development environment for polaris using a miniforge3 installation on my laptop.

@xylar xylar merged commit 51b0efe into E3SM-Project:main Jan 4, 2024
4 checks passed
@xylar xylar deleted the remove-mamba branch January 4, 2024 09:47
@mark-petersen
Copy link

with this commit, should we now use

./configure_polaris_envs.py  --conda /usr/projects/climate/mpeterse/miconda3 # on LANL IC
./configure_polaris_envs.py  --conda ~/miconda3 # everywhere else

or create some other conda directory? Does it matter if polaris and compass use the same ~/miconda3 directory, if I am using them at the same time? Thanks.

@xylar
Copy link
Collaborator Author

xylar commented Jan 4, 2024

You should do:

./configure_polaris_envs.py  --conda /usr/projects/climate/mpeterse/miniforge3

on LANL IC. (We don't recommend using Miniconda3 and it would be confusing to call a miniforge3 installation miniconda3 or miconda3.)

@xylar
Copy link
Collaborator Author

xylar commented Jan 4, 2024

or create some other conda directory? Does it matter if polaris and compass use the same ~/miconda3 directory, if I am using them at the same time? Thanks.

They should use the same ~/miniforge3 directory, yes.

@xylar
Copy link
Collaborator Author

xylar commented Jan 4, 2024

It should work to use an existing ~/miniconda3 or ~/mambaforge if you already have one. You don't need to create a new ~/miniforge3 directory if you already have conda installed somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean-up 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