Sophie

Sophie

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

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

.PHONY: all seq mpi test clean distclean

PYTHON  = python
MPIEXEC = mpiexec
NP      = -n 3

all: seq


seq:
	${MAKE} MPIEXEC= NP= test

mpi:
	${MAKE} test

test:
	-for i in `ls ex-*.py`; do \
	    echo; echo ${MPIEXEC} ${NP} ${PYTHON} $$i; \
	    ${MPIEXEC} ${NP} ${PYTHON} $$i; \
	done

clean:

distclean: clean