mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-17 03:12:15 +00:00
opt/Makefile opt/psb_d_rsb_mat_mod.F03 opt/rsb_mod.f03 test/newfmt/Makefile test/newfmt/ppde.f90 test/newfmt/runs/ppde.inp test/serial/d_matgen.f03 test/serial/psb_d_rsb_mat_mod.F03 Minor fix for interface of rsb_init. Copied RSB interface to OPT/ Linked into TEST/NEWFMT: start of debug. Status: TO/FROM COO/FMT (CSR), SPMV, GET_DIAG seem to be working (tested from ppde with DIAG preconditioner). GETBLK segfaults.
39 lines
634 B
Makefile
39 lines
634 B
Makefile
include ../../Make.inc
|
|
#
|
|
# Libraries used
|
|
#
|
|
LIBDIR=../../lib/
|
|
OPTDIR=../../opt
|
|
PSBLAS_LIB= -L$(LIBDIR) -lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base -L$(OPTDIR) -lopt
|
|
LDLIBS=$(PSBLDLIBS)
|
|
#
|
|
# Compilers and such
|
|
#
|
|
CCOPT= -g
|
|
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG). $(FMFLAG)$(OPTDIR)
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
all: ppde spde
|
|
|
|
ppde: ppde.o
|
|
$(F90LINK) ppde.o -o ppde $(PSBLAS_LIB) $(LDLIBS) -lgomp
|
|
/bin/mv ppde $(EXEDIR)
|
|
|
|
|
|
spde: spde.o
|
|
$(F90LINK) spde.o -o spde $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv spde $(EXEDIR)
|
|
|
|
|
|
clean:
|
|
/bin/rm -f ppde.o spde.o $(EXEDIR)/ppde
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|
|
|
|
|
|
|