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

Allow the use of srun instead of mpirun for MPI execution #1119

Closed
amjjbonvin opened this issue Oct 29, 2024 · 0 comments
Closed

Allow the use of srun instead of mpirun for MPI execution #1119

amjjbonvin opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels
enhancement Enhancing an existing feature of adding a new one

Comments

@amjjbonvin
Copy link
Member

Desired feature/enhancement

The current version of haddock3 requires mpirun to be present on the system to run in MPI mode.
As seen on e.g. the Lumi HPC system, mpirun can be replaced by srun if slurm is installed on the system.

libmpi.py should allow for both modes and try to use srun in case mpirun is not found.

Motivation

This will avoid having to manually edit libmpi for installation on some HPC systems.

@amjjbonvin amjjbonvin added the enhancement Enhancing an existing feature of adding a new one label Oct 29, 2024
@amjjbonvin amjjbonvin self-assigned this Oct 29, 2024
amjjbonvin added a commit that referenced this issue Oct 31, 2024
amjjbonvin added a commit that referenced this issue Nov 1, 2024
Solves issue #1119 related to MPI execution with mpirun or run
@github-project-automation github-project-automation bot moved this from To do to Done in Enhancements Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancing an existing feature of adding a new one
Projects
Status: Done
Development

No branches or pull requests

1 participant