You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
I'd like to edit
scripts/hyperion
to include something like:so that if the scheduling environment is SLURM, MPI will be run with
srun
instead ofmpirun
which is preferred (and, at least in our clusters case, required). I forkedhyperion
to do this and create a PR, but I can't figure out how to edit the code that goes toconda
-- so more than an issue, this is a question as to how I can do that!The text was updated successfully, but these errors were encountered: