flatironinstitute / disBatch

Tool to distribute a list of computational tasks over a pool of compute resources. The pool can grow or shrink.
Apache License 2.0
39 stars 8 forks source link

Pass `--mpi=none` to srun invocation #31

Closed dylex closed 2 months ago

dylex commented 2 months ago

This will help ensure MPI tasks don't pick up the outer slurm context.

lgarrison commented 2 months ago

We actually already do (via environment variable instead of flag): https://github.com/flatironinstitute/disBatch/blob/b53729a0d6a84ddf8f336d9b831ba5bbd4e2a2aa/disbatchc/disBatch.py#L393

dylex commented 2 months ago

Oh, great, I only checked the srun line. Thanks.