From f8f3f2c62098ce719f88c44c350e480aca261dc2 Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Tue, 11 Jan 2011 17:59:45 +0000 Subject: [PATCH] psblas3: trying to interface GPU stuff. --- test/newfmt/Makefile | 3 ++- test/newfmt/ppde.f90 | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/newfmt/Makefile b/test/newfmt/Makefile index f835e6db..8931dc48 100644 --- a/test/newfmt/Makefile +++ b/test/newfmt/Makefile @@ -4,7 +4,8 @@ include ../../Make.inc # LIBDIR=../../lib/ OPTDIR=../../opt -PSBLAS_LIB= -L$(LIBDIR) -lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base -L$(OPTDIR) -lopt +PSBLAS_LIB= -L$(LIBDIR) -lpsb_util -lpsb_krylov -lpsb_prec -lpsb_base -L$(OPTDIR) -lopt\ + -lspgpu -L/usr/local/spgpu/lib -lcudart -lcublas -L/usr/local/cuda/lib64 LDLIBS=$(PSBLDLIBS) # # Compilers and such diff --git a/test/newfmt/ppde.f90 b/test/newfmt/ppde.f90 index 4900ba9d..19713e2e 100644 --- a/test/newfmt/ppde.f90 +++ b/test/newfmt/ppde.f90 @@ -67,6 +67,7 @@ program ppde use psb_krylov_mod use psb_d_ell_mat_mod use psb_d_rsb_mat_mod + use psb_d_elg_mat_mod implicit none ! input parameters