k8s-hpc-demo/demos/calculate_pi/mpi_submit_calculate_pi.sh
2019-05-02 18:54:06 -05:00

4 lines
124 B
Bash

#!/bin/bash
mpiexec --allow-run-as-root -n 5 --hostfile /kube-openmpi/generated/hostfile python3 calculate_pi.py > mpi.out