Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 2fe96174012fea2d88f752857a5bea1d > files > 31

python-mpi4py-0.6.0-4mdv2008.1.i586.rpm

.PHONY: all base inter topo clean distclean

PYTHON  = python
MPIEXEC = mpirun

all: base inter topo

base:
	for i in `ls *.py |grep -v comm`; do \
	    echo; \
	    echo ${MPIEXEC} -np 5 ${PYTHON} $$i; \
	    ${MPIEXEC} -np 5 ${PYTHON} $$i; \
	done

inter:
	${MPIEXEC} -np  4 ${PYTHON} intercomm.py

topo:
	${MPIEXEC} -np  4 ${PYTHON} graphcomm.py
	${MPIEXEC} -np 12 ${PYTHON} cartcomm.py

clean:

distclean: clean