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-06-08 20:54:52 +00:00
|
|
|
LIBS = $(DSUPERLULIB) -lptscotchparmetis -lptscotch -lptscotcherr -lmetis -lscotch $(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
|
2017-06-08 20:54:52 +00:00
|
|
|
CFLAGS += -O3 -DNDEBUG $(BLASDEF) -DDEBUGlevel=0 -DPRNTlevel=0 -fopenmp -std=c99 -fPIC -g
|
2017-04-11 10:12:21 +00:00
|
|
|
# CFLAGS += -D
|
|
|
|
# CFLAGS +=
|
|
|
|
NOOPTS = -O0
|
|
|
|
FORTRAN = mpif90
|
|
|
|
|
|
|
|
LOADER = $(CC) -fopenmp
|
|
|
|
LOADOPTS =
|