2017-04-11 10:12:21 +00:00
|
|
|
############################################################################
|
|
|
|
#
|
|
|
|
# Program: SuperLU_DIST
|
|
|
|
#
|
|
|
|
# Module: make.inc
|
|
|
|
#
|
|
|
|
# Purpose: Top-level Definitions
|
|
|
|
#
|
|
|
|
# Creation date: March 1, 2016 version 5.0.0
|
|
|
|
#
|
|
|
|
# Modified:
|
|
|
|
#
|
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
#
|
|
|
|
# The name of the libraries to be created/linked to
|
|
|
|
#
|
|
|
|
SuperLUroot =
|
|
|
|
DSUPERLULIB = $(SuperLUroot)/SRC/libsuperlu_dist.a
|
2017-06-08 20:54:52 +00:00
|
|
|
BLASDEF = -DUSE_VENDOR_BLAS
|
|
|
|
BLASLIB = -lopenblas
|
2017-04-11 10:12:21 +00:00
|
|
|
|
2017-11-05 11:11:22 +00:00
|
|
|
LIBS = $(DSUPERLULIB) -lptscotchparmetis -lmetis -lscotch \
|
|
|
|
-lptscotch -lptscotcherr -lptscotcherrexit $(BLASLIB)
|
2017-04-11 10:12:21 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The archiver and the flag(s) to use when building archive (library)
|
|
|
|
# If your system has no ranlib, set RANLIB = echo.
|
|
|
|
#
|
|
|
|
ARCH = /usr/bin/ar
|
|
|
|
ARCHFLAGS = cr
|
|
|
|
RANLIB = /usr/bin/ranlib
|
|
|
|
|
|
|
|
CC = mpicc
|
2018-11-23 10:54:46 +00:00
|
|
|
CFLAGS += -O3 -DNDEBUG $(BLASDEF) -DDEBUGlevel=0 -DPRNTlevel=0 -fopenmp -std=c99 -DUSE_VENDOR_BLAS -fPIC
|
2017-04-11 10:12:21 +00:00
|
|
|
# CFLAGS += -D
|
|
|
|
# CFLAGS +=
|
2018-11-21 23:22:56 +00:00
|
|
|
CXX = mpicxx
|
2018-11-23 10:54:46 +00:00
|
|
|
CXXFLAGS += -O3 -DNDEBUG $(BLASDEF) -DDEBUGlevel=0 -DPRNTlevel=0 -fopenmp -std=gnu++11 -DUSE_VENDOR_BLAS -fPIC
|
2018-11-21 23:22:56 +00:00
|
|
|
HAVE_LAPACK=1
|
2018-11-23 10:54:46 +00:00
|
|
|
HAVE_PARMETIS=1
|
2018-11-21 23:22:56 +00:00
|
|
|
HAVE_COMBBLAS=0
|
2017-04-11 10:12:21 +00:00
|
|
|
NOOPTS = -O0
|
|
|
|
FORTRAN = mpif90
|
|
|
|
|
2018-11-23 10:54:46 +00:00
|
|
|
LOADER = $(CXX)
|
|
|
|
LOADOPTS = $(LDFLAGS) -fopenmp
|