Created
November 7, 2019 06:43
-
-
Save rk4bir/b03b2e387464207295c9803f49dc1a43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# run mpi_pi.c with np from 1 to 8 | |
mpicc -o pi mpi_pi.c | |
for i in $(seq 1 8); do | |
mpirun -np $i ./pi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment