-
Notifications
You must be signed in to change notification settings - Fork 99
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
micromamba environment installation error #605
Comments
@aradhakrishnanGFDL I suspect that, like the macOS M-series package, the container's micromamba package does not support NCL or gridfill. The gridfill package is only required for the incoming Finite Amplitude Rossby Wave diagnostic, so I'll comment it out if I can't fix it. It's probably time to implement separate environment files and build scripts for micromamba, conda, and stripped-down environments for containers that only work with subsets of PODs if you are concerned with size/build time. |
@aradhakrishnanGFDL I've created separate env installation files for micromamba and updated the micromamba_env_install.sh script to reference them. The env_python3_base_micromamba.yml file no longer contains the falwa package and its gridfill dependency. This does not resolve the NCL issue, but you should be able to install the base and python3_base environments individually with micromamba using the |
Thanks @wrongkindofdoctor. That helps. My goal is to be able to have the environments (minus NCL and R) installed in the container, without any errors. Tabling Size and build time concerns for later, although it's reasonable right now IMO. Any pointers or recommendations to specific micromamba versions used in the framework so I can use that from the container as well? For the environments that need "git", curious to look for best practices suitable for dev vs operational. For now, I will install git in the docker image and remove it once the environment is installed. |
@aradhakrishnanGFDL I'm using v1.5.1 from Homebrew for Apple Silicon chips on my Mac, though there is a newer version available. In general, I recommend using the latest version available unless there are package compatibility issues. As for the git packages, most of them are required for om4labs. We could require all dependencies to be pip or conda packages, but I'm not sure if we'd be able to get the repo owners of the current git packages to commit to this. |
1- Installing this environment using micromamba as part of the container tests fail
src/conda/env_NCL_base.yml
error snippet
I've used https://hub.docker.com/r/mambaorg/micromamba latest and 1.5.8 tags. I recollect that this worked last year. Does this issue ring a bell even without the docker dependency here? I remember some libmamba confusions in the past.
2- The following issue is only in the main branch with the addition of new packages (gridfill) in env_python3_base.yml. I can't reproduce the same in an older version where this package does not exist.
This environment also requires that we install git in our container for other extra packages.
The text was updated successfully, but these errors were encountered: