Browse Source

add mpi script for calc pi

master
glmdev 2 years ago
parent
commit
1e1560974e
  1. 3
      demos/calculate_pi/mpi_submit_calculate_pi.sh

3
demos/calculate_pi/mpi_submit_calculate_pi.sh

@ -0,0 +1,3 @@
#!/bin/bash
mpiexec --allow-run-as-root -n 5 --hostfile /kube-openmpi/generated/hostfile python3 calculate_pi.py > mpi.out
Loading…
Cancel
Save