OpenMPI test on Kubernetes.
- Build and push worker docker image:
docker build -t rongou/openmpi-worker worker
docker push rongou/openmpi-worker
- Build and push launcher docker image:
docker build -t rongou/openmpi-launcher launcher
docker push rongou/openmpi-launcher
- Run the test:
kubectl create -f openmpi-test.yaml
This starts a StatefulSet
of 4 workers, and a batch Job
as the launcher.
Logs can be accessed through the launcher pod.