add mpi script for calc pi
This commit is contained in:
parent
ce7ba6322d
commit
1e1560974e
3
demos/calculate_pi/mpi_submit_calculate_pi.sh
Normal file
3
demos/calculate_pi/mpi_submit_calculate_pi.sh
Normal file
@ -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…
Reference in New Issue
Block a user