-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmake.lab.inc
26 lines (25 loc) · 1.23 KB
/
make.lab.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
BLAS_INCLUDE = -m64 -I"${MKLROOT}/include" -DUSE_MKL
BLAS_LIB = -L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -Wl,--no-as-needed \
-lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core -lmkl_blacs_intelmpi_lp64 -lgomp -lpthread -lm -ldl
PAPI_INCLUDE = $(shell pkg-config --cflags papi)
PAPI_LIBS = $(shell pkg-config --libs papi)
CXXFLAGS = -std=c++17 -O3 -g -fopenmp -I. -Wall -I$(TOPSRCDIR)/include/ \
-I$(TOPSRCDIR)/examples/common/ $(BLAS_INCLUDE) \
-I/home/sameer.deshmukh/gsl-2.7.1/build/include \
$(shell pkg-config --cflags gtest gtest_main) $(PAPI_INCLUDE) -DUSE_MKL
CXX = mpicxx
MPICXX = mpicxx
CC = mpicc
MPICC = mpicc
LDFLAGS = $(BLAS_LIB) $(shell pkg-config --libs gtest_main gtest) $(PAPI_LIBS) -lgfortran \
-L/home/sameer.deshmukh/gsl-2.7.1/build/lib -lgsl
PARSEC_INCLUDE = $(shell pkg-config --cflags parsec)
PARSEC_LIB = -L/home/sameer.deshmukh/gitrepos/parsec/build/lib -lparsec
SCALAPACK_LIB = $(BLAS_LIB)
RM = rm -rf
AR = ar
ARFLAGS = -rv
MV = mv -f
ELSES_OBJ = ${ELSES_ROOT}/src/src.a ${ELSES_ROOT}/xmlf90-1.2g-elses/macros/lib/libflib.a
%.o : %.cpp
$(CXX) $(CXXFLAGS) $< -c -o $@