superlu_dist/superlu_dist-make.inc

48 lines
1.3 KiB
PHP
Raw Permalink Normal View History

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
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
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
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
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
LOADER = $(CXX)
LOADOPTS = $(LDFLAGS) -fopenmp