mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-13 09:29:04 +00:00
- psi_dswapdata / psb_comm_rma: RMA swapdata optimization (PSCW + Win_allocate) - psb_d_nest_builder: builder updates - cuda: Makefile + psb_d_cuda_vect_mod adjustments - test/comm: spmv/cg drivers, Makefiles, GPU + scorep/strong-scaling scripts - test/nested: halo-regime test + Makefile/CMake updates
48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
INSTALLDIR=../..
|
|
INCDIR=$(INSTALLDIR)/include
|
|
MODDIR=$(INSTALLDIR)/modules/
|
|
include $(INCDIR)/Make.inc.psblas
|
|
#
|
|
# Libraries used
|
|
LIBDIR=$(INSTALLDIR)/lib
|
|
PSBLAS_LIB= -L$(LIBDIR) -lpsb_util -lpsb_linsolve -lpsb_prec -lpsb_ext -lpsb_base
|
|
LDLIBS= $(PSBLDLIBS)
|
|
#
|
|
# Compilers and such
|
|
#
|
|
CCOPT= -g
|
|
FINCLUDES=$(FMFLAG)$(MODDIR) $(FMFLAG).
|
|
|
|
|
|
EXEDIR=./runs
|
|
|
|
all: runsd psb_d_nest_glob_test psb_d_nest_rect_test psb_d_nest_cg_test psb_d_nest_halo_regime_test
|
|
|
|
runsd:
|
|
(if test ! -d runs ; then mkdir runs; fi)
|
|
|
|
psb_d_nest_halo_regime_test: psb_d_nest_halo_regime_test.o
|
|
$(FLINK) psb_d_nest_halo_regime_test.o -o psb_d_nest_halo_regime_test $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv psb_d_nest_halo_regime_test $(EXEDIR)
|
|
|
|
psb_d_nest_glob_test: psb_d_nest_glob_test.o
|
|
$(FLINK) psb_d_nest_glob_test.o -o psb_d_nest_glob_test $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv psb_d_nest_glob_test $(EXEDIR)
|
|
|
|
psb_d_nest_rect_test: psb_d_nest_rect_test.o
|
|
$(FLINK) psb_d_nest_rect_test.o -o psb_d_nest_rect_test $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv psb_d_nest_rect_test $(EXEDIR)
|
|
|
|
psb_d_nest_cg_test: psb_d_nest_cg_test.o
|
|
$(FLINK) psb_d_nest_cg_test.o -o psb_d_nest_cg_test $(PSBLAS_LIB) $(LDLIBS)
|
|
/bin/mv psb_d_nest_cg_test $(EXEDIR)
|
|
|
|
clean:
|
|
/bin/rm -f psb_d_nest_glob_test.o psb_d_nest_rect_test.o psb_d_nest_cg_test.o psb_d_nest_halo_regime_test.o *$(.mod) \
|
|
$(EXEDIR)/psb_d_nest_glob_test $(EXEDIR)/psb_d_nest_rect_test $(EXEDIR)/psb_d_nest_cg_test \
|
|
$(EXEDIR)/psb_d_nest_halo_regime_test
|
|
verycleanlib:
|
|
(cd ../..; make veryclean)
|
|
lib:
|
|
(cd ../../; make library)
|