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

Use spack to install packages in singularity image #21

Open
SorooshMani-NOAA opened this issue Aug 4, 2023 · 2 comments
Open

Use spack to install packages in singularity image #21

SorooshMani-NOAA opened this issue Aug 4, 2023 · 2 comments
Assignees

Comments

@SorooshMani-NOAA
Copy link
Collaborator

Specifically since different openmpi versions are installed on different machines, maybe it makes sense to use specific versions using spack instead of relying on apt version of openmpi.

@SorooshMani-NOAA
Copy link
Collaborator Author

One thing to note based on spack documentation is that it's better usually to use HPC provided mpi (see https://spack.readthedocs.io/en/latest/getting_started.html#mpi) which means binding system paths and libraries and building the image on each system separately. However that's not possible since building singularity images require sudo access which we don't have on a normal HPC environment!

@SorooshMani-NOAA SorooshMani-NOAA self-assigned this Aug 4, 2023
@SorooshMani-NOAA
Copy link
Collaborator Author

I was able to setup an empty (no schism yet) singularity image with spack installing compilers and ompi (still learning) following: https://spack.readthedocs.io/en/latest/containers.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant