#!/bin/sh
#######################
javac *.java

listprog="Allgather Allgatherv Allreduce Alltoall Barrier \
	Bcast Gather Gatherv Reduce Reduce_scatter Scatter \
	Scatterv Scan Allreduce_maxminloc"

for prog in $listprog; do
	p2pmpirun -n 3 $prog
done
