-
Notifications
You must be signed in to change notification settings - Fork 90
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
Conda environment file not working for Singularity #328
Comments
Thanks for the issue report @michael-sutherland. What version of Singularity are you using? Can you please check whether Some background: the reason HPCCM uses |
I'm using singularity version 3.6.4-1.el8. /var/tmp/environment.yml, does NOT exist on my host (although I see the miniconda installer among other files). |
@michael-sutherland can you please try #333? Specifically, add Alternatively, add
|
Another option could be to NOT use a separate environment.yml file but have all the conda channels and conda packages explicitly listed in the same building block using something like:
|
Closing as fixed by #333. Please reopen if the issue persists. |
Environment files are not working for Singularity. I get the error "EnvironmentFileNotFound: '/var/tmp/environment.yml' file not found". If I go into the generated ".def" file and change the location of the environment.yml file to be /environment.yml, it works. I'm not sure why, but the location /var/tmp does not work.
Minimum example:
The text was updated successfully, but these errors were encountered: