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

slurm srun usage #202

Open
dnarayanan opened this issue Jul 25, 2018 · 0 comments
Open

slurm srun usage #202

dnarayanan opened this issue Jul 25, 2018 · 0 comments

Comments

@dnarayanan
Copy link

I'd like to edit scripts/hyperion to include something like:

if os.getenv("SLURM_SUBMIT_HOST") is None:
     mpi_command = "mpiexec"                   # SLURM?  No.
  else:
     mpi_command = "srun --mpi=pmix"           # SLURM?  Yes.

so that if the scheduling environment is SLURM, MPI will be run with srun instead of mpirun which is preferred (and, at least in our clusters case, required). I forked hyperion to do this and create a PR, but I can't figure out how to edit the code that goes to conda -- so more than an issue, this is a question as to how I can do that!

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