# CVS info # $Date: 2005/01/07 23:07:09 $ # $Revision: 1.2 $ # $RCSfile: Makefile,v $ # $Name: rel_5 $ # # This makefile is configured to run on sleek. # To configure for another sysem, please run ./config ########################################################################## # Benchmark 8 - makefile # # make - will provide the small dense matrix benchmark # # make bench8p - will provide the parallel version of the # small dense matrix benchmark # # make bench8s - will provide the large sparse matrix benchmark # # make cleanup - will remove all *.o *.l and *.m files # ########################################################################## # # CRAY Definitions: # -Wf"-em" -> enable source listing # -ZV -> Vectorization enhancement but no autotasking (parallelization) # ########################################################################## #FC = f90 FC = ifort FFLAGS = -O4 -i8 -r8 -F #LDFLAGS = #RANDFLAGS = #-r8 -i8 #FC = cf77 #FFLAGS = -Wf"-em" -ZV #LDFLAGS = -Wf"-em" -ZV #RANDFLAGS = -Wf"-em" DENSE_OBJS = util.o m8d.o s8d.o p8d.o c8d.o r8d.o rand.o PAR_OBJS = util.o m8d.o s8d.o p8dp.o c8d.o r8d.o rand.o SPARSE_OBJS = util.o m8s.o s8s.o p8s.o c8s.o r8s.o rand.o all : bench8d rand.o : $(FC) $(RANDFLAGS) -c rand.f bench8d : $(DENSE_OBJS) $(FC) $(LDFLAGS) -o bench8d $(DENSE_OBJS) bench8p : $(PAR_OBJS) $(FC) $(LDFLAGS) -o bench8p $(PAR_OBJS) bench8s : $(SPARSE_OBJS) $(FC) $(LDFLAGS) -o bench8s $(SPARSE_OBJS) cleanup : rm *.o clean : rm -f *.o bench8d bench8s