Skip to content

Commit

Permalink
add test_multiprocess.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiZhuang committed Apr 18, 2017
1 parent 8314b8f commit d34d49b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Parallel_Algorithm/MPI/test_multiprocess.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

np_list='1 2 4 8'

for np in $np_list
do
echo " "
echo =========================================
echo =========================================
echo testing with $np processes
mpiexec -np $np ./Kmean_mpi.out
done

0 comments on commit d34d49b

Please sign in to comment.