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

Expand Singularity / Container documentation with MPI related information #131

Open
ptheywood opened this issue Mar 31, 2022 · 0 comments
Open

Comments

@ptheywood
Copy link
Member

ptheywood commented Mar 31, 2022

With Singularity containers, MPI can be problematic / care must be taken to get usable and performant MPI use.

There are 2 main approaches as described in the Singularity / Apptainer documentation, either bind the systems MPI into the container, or the more popular hybrid approach of using a compatible MPI in the container as on the host system.

I.e. If using OpenMPI, use the same major (and minor) OpenMPI version as available centrally on Bede in the container. Load the relevant module and launch the container via mpirun -n X singularity exec .... The same applies for using a matching MPICH in and out of the container.

It may be worth completing #84 prior to this, as this will make it simpler to test such installations.

Definition files including building the relevant OpenMPI/MPICH from source might be a good addition / reference for this section.

@ptheywood ptheywood moved this to New in Documentation Mar 31, 2022
@ptheywood ptheywood moved this from New to Todo in Documentation Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant