superlu_dist/superlu_dist-make.inc

42 lines
1.0 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
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
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 =