Rev 319 | Blame | Compare with Previous | Last modification | View Log | RSS feed
MPICC = mpiccCC = gccCFLAGS = -O2 -pipe -DSOLARISMPIRUN = mpirunMACFILE = machines# targets:all: proj2-group proj2-normalclean:rm -f *~ *.o proj2-group proj2-normalproj2-group:$(MPICC) $(CFLAGS) proj2-group.c -o proj2-groupproj2-normal:$(MPICC) $(CFLAGS) proj2-normal.c -o proj2-normalrun: allecho "Running tests of size 1000, normal routines"$(MPIRUN) -machinefile $(MACFILE) -np 1 ./proj2-normal -n 1000$(MPIRUN) -machinefile $(MACFILE) -np 2 ./proj2-normal -n 1000$(MPIRUN) -machinefile $(MACFILE) -np 4 ./proj2-normal -n 1000echo "Running tests of size 1000, Collective routines"$(MPIRUN) -machinefile $(MACFILE) -np 1 ./proj2-group -n 1000$(MPIRUN) -machinefile $(MACFILE) -np 2 ./proj2-group -n 1000$(MPIRUN) -machinefile $(MACFILE) -np 4 ./proj2-group -n 1000echo "Running tests of size 10,000, normal routines"$(MPIRUN) -machinefile $(MACFILE) -np 1 ./proj2-normal -n 10000$(MPIRUN) -machinefile $(MACFILE) -np 2 ./proj2-normal -n 10000$(MPIRUN) -machinefile $(MACFILE) -np 4 ./proj2-normal -n 10000echo "Running tests of size 10,000, Collective routines"$(MPIRUN) -machinefile $(MACFILE) -np 1 ./proj2-group -n 10000$(MPIRUN) -machinefile $(MACFILE) -np 2 ./proj2-group -n 10000$(MPIRUN) -machinefile $(MACFILE) -np 4 ./proj2-group -n 10000echo "Running tests of size 100,000, normal routines"$(MPIRUN) -machinefile $(MACFILE) -np 1 ./proj2-normal -n 100000$(MPIRUN) -machinefile $(MACFILE) -np 2 ./proj2-normal -n 100000$(MPIRUN) -machinefile $(MACFILE) -np 4 ./proj2-normal -n 100000echo "Running tests of size 100,000, Collective routines"$(MPIRUN) -machinefile $(MACFILE) -np 1 ./proj2-group -n 100000$(MPIRUN) -machinefile $(MACFILE) -np 2 ./proj2-group -n 100000$(MPIRUN) -machinefile $(MACFILE) -np 4 ./proj2-group -n 100000