|
kusano |
7d535a |
############################################################################
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# Program: SuperLU
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# Module: make.inc
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# Purpose: Top-level Definitions
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# Creation date: October 2, 1995
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# Modified: February 4, 1997 Version 1.0
|
|
kusano |
7d535a |
# November 15, 1997 Version 1.1
|
|
kusano |
7d535a |
# September 1, 1999 Version 2.0
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
############################################################################
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# The machine (platform) identifier to append to the library names
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
PLAT = _rs6k
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# The name of the libraries to be created/linked to
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
SuperLUroot = $(HOME)/Codes/SuperLU_4.1
|
|
kusano |
7d535a |
SUPERLULIB = $(SuperLUroot)/lib/libsuperlu_4.1.a
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# If you don't have ESSL, you can use the following blaslib instead:
|
|
kusano |
7d535a |
# BLASLIB = -lblas -lxlf -lxlf90
|
|
kusano |
7d535a |
# which may be slower than ESSL
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
BLASDEF = -DUSE_VENDOR_BLAS
|
|
kusano |
7d535a |
BLASLIB = -lessl
|
|
kusano |
7d535a |
TMGLIB = libtmglib.a
|
|
kusano |
7d535a |
LIBS = $(SUPERLULIB) $(BLASLIB)
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# The archiver and the flag(s) to use when building archive (library)
|
|
kusano |
7d535a |
# If your system has no ranlib, set RANLIB = echo.
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
ARCH = ar
|
|
kusano |
7d535a |
ARCHFLAGS = cr
|
|
kusano |
7d535a |
RANLIB = ranlib
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
CC = xlc
|
|
kusano |
7d535a |
CFLAGS = -O3
|
|
kusano |
7d535a |
NOOPTS =
|
|
kusano |
7d535a |
FORTRAN = xlf
|
|
kusano |
7d535a |
FFLAGS = -O3
|
|
kusano |
7d535a |
LOADER = xlf
|
|
kusano |
7d535a |
LOADOPTS = -bmaxdata:0x80000000
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# C preprocessor defs for compilation for the Fortran interface
|
|
kusano |
7d535a |
# (-DNoChange, -DAdd_, -DAdd__, or -DUpCase)
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
CDEFS = -DNoChange
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# The directory in which Matlab is installed
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
MATLAB = /usr/local/matlab
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|