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

Software installation in current images can only be done easily using Spack #9

Closed
micaeljtoliveira opened this issue May 16, 2023 · 3 comments · Fixed by #42
Closed
Assignees

Comments

@micaeljtoliveira
Copy link
Member

micaeljtoliveira commented May 16, 2023

Currently the packages get installed in directories whose name includes hashes. That means that the only practical way to use them is through Spack, i.e., one needs to do spack load ... before trying to use the packages in a build.

It would be nice to support other ways of building the software, for example, by using environment modules. Spack does install the module files, but they can't be used because neither lmod nor tcl modules are installed in the image.

Another way would be to install the packages as part of a Spack environment. This would provide a "view" where all the packages are easily accessible. Better yet, check the Dockerfiles that Spack creates to automatically install an environment. It does it in a nice way that makes it very easy to use the packages and, at the same time, minimizes considerably the size of the docker images.

@CodeGat CodeGat self-assigned this Jul 26, 2023
@CodeGat
Copy link
Member

CodeGat commented Jul 26, 2023

Closing #20 as this issue seems to cover that (#8 may also be solved by incorporating all the caching in a single, multi-model image)

@CodeGat
Copy link
Member

CodeGat commented Aug 14, 2023

Need to merge the spack_packages PR to mark as completed!

@CodeGat CodeGat reopened this Aug 14, 2023
@CodeGat
Copy link
Member

CodeGat commented Aug 15, 2023

Merged!

@CodeGat CodeGat closed this as completed Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants