mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-07 07:04:57 +00:00
base/modules/psb_const_mod.F90 base/modules/psb_error_mod.F90 base/modules/psb_realloc_mod.F90 base/serial/f03/psb_c_base_mat_impl.f03 base/serial/f03/psb_c_coo_impl.f03 base/serial/f03/psb_c_csc_impl.f03 base/serial/f03/psb_c_csr_impl.f03 base/serial/f03/psb_c_mat_impl.f03 base/serial/f03/psb_d_base_mat_impl.f03 base/serial/f03/psb_d_coo_impl.f03 base/serial/f03/psb_d_csc_impl.f03 base/serial/f03/psb_d_csr_impl.f03 base/serial/f03/psb_d_mat_impl.f03 base/serial/f03/psb_s_base_mat_impl.f03 base/serial/f03/psb_s_coo_impl.f03 base/serial/f03/psb_s_csc_impl.f03 base/serial/f03/psb_s_csr_impl.f03 base/serial/f03/psb_s_mat_impl.f03 base/serial/f03/psb_z_base_mat_impl.f03 base/serial/f03/psb_z_coo_impl.f03 base/serial/f03/psb_z_csc_impl.f03 base/serial/f03/psb_z_csr_impl.f03 base/serial/f03/psb_z_mat_impl.f03 base/serial/psb_cnumbmm.f90 base/serial/psb_csymbmm.f90 base/serial/psb_dnumbmm.f90 base/serial/psb_dsymbmm.f90 base/serial/psb_snumbmm.f90 base/serial/psb_ssymbmm.f90 base/serial/psb_znumbmm.f90 base/serial/psb_zsymbmm.f90 test/serial/Makefile test/serial/d_matgen.f03 test/serial/psb_d_cxx_impl.f03 test/serial/psb_d_cxx_mat_mod.f03 New psb_err_invalid_mat_state_ and error message. Debug statements REMEMBER TO TAKE THEM OUT!!
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
include ../../Make.inc
|
|
#
|
|
# Libraries used
|
|
#
|
|
LIBDIR=../../lib/
|
|
PSBLAS_LIB= -L$(LIBDIR) -lpsb_base
|
|
#-lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base
|
|
LDLIBS=$(PSBLDLIBS)
|
|
#
|
|
# Compilers and such
|
|
#
|
|
CCOPT= -g
|
|
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG).
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
all: d_coo_matgen d_matgen
|
|
d_coo_matgen: d_coo_matgen.o
|
|
$(F90LINK) $(LINKOPT) d_coo_matgen.o -o d_coo_matgen $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv d_coo_matgen $(EXEDIR)
|
|
d_matgen: d_matgen.o psb_d_cxx_mat_mod.o psb_d_cxx_impl.o
|
|
$(F90LINK) $(LINKOPT) d_matgen.o psb_d_cxx_mat_mod.o psb_d_cxx_impl.o -o d_matgen $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv d_matgen $(EXEDIR)
|
|
d_matgen.o: psb_d_cxx_mat_mod.o
|
|
|
|
#ppde spde
|
|
|
|
ppde: ppde.o
|
|
$(F90LINK) ppde.o -o ppde $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv ppde $(EXEDIR)
|
|
|
|
spde: spde.o
|
|
$(F90LINK) spde.o -o spde $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv spde $(EXEDIR)
|
|
|
|
.f90.o:
|
|
$(MPF90) $(F90COPT) $(FINCLUDES) $(FDEFINES) -c $<
|
|
|
|
|
|
clean:
|
|
/bin/rm -f d_coo_matgen.o d_matgen.o tpg.o ppde.o spde.o \
|
|
psb_d_cxx_mat_mod.o psb_d_cxx_impl.o *$(.mod) $(EXEDIR)/ppde
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|
|
|
|
|
|
|