|
|
|
MLDDIR=../..
|
|
|
|
include $(MLDDIR)/Make.inc
|
|
|
|
include $(MLDDIR)/Make.inc
|
|
|
|
PSBLIBDIR=$(PSBLASDIR)/lib/
|
|
|
|
PSBINCDIR=$(PSBLASDIR)/include
|
|
|
|
MLDLIBDIR=$(MLDDIR)/lib
|
|
|
|
MLD_LIB=-L$(MLDLIBDIR) -lpsb_krylov -lmld_prec -lpsb_prec
|
|
|
|
PSBLAS_LIB= -L$(PSBLIBDIR) -lpsb_util -lpsb_base
|
|
|
|
FINCLUDES=$(FMFLAG). $(FMFLAG)$(MLDLIBDIR) $(FMFLAG)$(PSBINCDIR) $(FIFLAG).
|
|
|
|
|
|
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
|
|
|
|
all: spde ppde
|
|
|
|
|
|
|
|
check: all
|
|
|
|
cd $(EXEDIR) ; ./ppde < ppde.inp
|
|
|
|
|
|
|
|
ppde: ppde.o data_input.o
|
|
|
|
$(F90LINK) ppde.o data_input.o -o ppde $(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
/bin/mv ppde $(EXEDIR)
|
|
|
|
|
|
|
|
spde: spde.o data_input.o
|
|
|
|
$(F90LINK) spde.o data_input.o -o spde $(MLD_LIB) $(PSBLAS_LIB) $(LDLIBS)
|
|
|
|
/bin/mv spde $(EXEDIR)
|
|
|
|
|
|
|
|
|
|
|
|
ppde.o spde.o: data_input.o
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
/bin/rm -f data_input.o ppde.o $(EXEDIR)/ppde spde.o $(EXEDIR)/spde
|
|
|
|
|
|
|
|
verycleanlib:
|
|
|
|
(cd ../..; make veryclean)
|
|
|
|
lib:
|
|
|
|
(cd ../../; make library)
|
|
|
|
|
|
|
|
|
|
|
|
|