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
openmpi: slots clause should be generated when gpus '> 0' #692
openmpi: slots clause should be generated when gpus '> 0' #692
Conversation
I think it’s not needed when gpus == 1. I tested that and MPI was able to run properly. According to the doc: https://www.open-mpi.org/faq/?category=running#mpirun-hostfile default value of slots is 1. |
@jiezhang oh, in my manual test, no
FYI, explicit
|
/ok-to-test |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pdmack The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@everpeace I'm on Open MPI v3.0.0. If it's not working with v2.1.2, maybe we need to set slots even if gpus==0? It makes no sense to run all the workloads on worker-0. |
I don't think so. It would need only when |
@jiezhang It's really tiny fix. could you review it?? We should generate
slots=
clause even whengpus==1
.This change is