|
|
@ -4,12 +4,8 @@ include $(AMGINCDIR)/Make.inc.amg4psblas
|
|
|
|
AMGMODDIR=$(AMGDIR)/modules
|
|
|
|
AMGMODDIR=$(AMGDIR)/modules
|
|
|
|
AMGLIBDIR=$(AMGDIR)/lib
|
|
|
|
AMGLIBDIR=$(AMGDIR)/lib
|
|
|
|
AMG_LIBS=-L$(AMGLIBDIR) -lpsb_krylov -lamg_prec -lpsb_prec
|
|
|
|
AMG_LIBS=-L$(AMGLIBDIR) -lpsb_krylov -lamg_prec -lpsb_prec
|
|
|
|
# To compile these example you need to have also installed PSBLAS-EXT, SPGPU and
|
|
|
|
# This code will include the appropriate defines and libraries
|
|
|
|
# CUDA. Please refer to the documentation of AMG4PSBLAS and PSBLAX-EXT for the
|
|
|
|
# if you have compiled the main PSBLAS library with CUDA support
|
|
|
|
# full details.
|
|
|
|
|
|
|
|
# This define the variables : PSBGPULDLIBS, LIBRSB_INCLUDES, and CUDA_INCLUDES
|
|
|
|
|
|
|
|
#PSBEXT_DIR= #< FILL-ME >
|
|
|
|
|
|
|
|
#include $(PSBEXT_DIR)/include/Make.inc.ext
|
|
|
|
|
|
|
|
include $(PSBLASDIR)/include/Make.inc.psblas
|
|
|
|
include $(PSBLASDIR)/include/Make.inc.psblas
|
|
|
|
PSBLIBDIR=$(PSBLASDIR)/lib/
|
|
|
|
PSBLIBDIR=$(PSBLASDIR)/lib/
|
|
|
|
FINCLUDES=$(FMFLAG). $(FMFLAG)$(AMGMODDIR) $(FMFLAG)$(AMGINCDIR) \
|
|
|
|
FINCLUDES=$(FMFLAG). $(FMFLAG)$(AMGMODDIR) $(FMFLAG)$(AMGINCDIR) \
|
|
|
@ -17,6 +13,7 @@ $(PSBLAS_INCLUDES) $(FIFLAG).
|
|
|
|
AMG_LIB=-L$(AMGLIBDIR) -lamg_prec
|
|
|
|
AMG_LIB=-L$(AMGLIBDIR) -lamg_prec
|
|
|
|
PSBLAS_LIB= -L$(PSBLIBDIR) -lpsb_linsolve -lpsb_prec -lpsb_util -lpsb_ext \
|
|
|
|
PSBLAS_LIB= -L$(PSBLIBDIR) -lpsb_linsolve -lpsb_prec -lpsb_util -lpsb_ext \
|
|
|
|
-lpsb_base
|
|
|
|
-lpsb_base
|
|
|
|
|
|
|
|
FDEFINES=$(AMGFDEFINES) $(FCUDEFINES)
|
|
|
|
|
|
|
|
|
|
|
|
LINKOPT=-lstdc++
|
|
|
|
LINKOPT=-lstdc++
|
|
|
|
|
|
|
|
|
|
|
|