Blame thirdparty/superlu/SuperLU_4.1/MAKE_INC/make.cray
|
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: November 15, 1997 Version 1.1
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# Modified: 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 = _cray
|
|
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 |
#
|
|
kusano |
7d535a |
BLASDEF = -DUSE_VENDOR_BLAS
|
|
kusano |
7d535a |
BLASLIB =
|
|
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 = cc
|
|
kusano |
7d535a |
CFLAGS = -D_CRAY -O3 -h aggress
|
|
kusano |
7d535a |
#CFLAGS = -O3 -h scalar3,aggress,split,unroll,inline3 -D_CRAY
|
|
kusano |
7d535a |
PTROPT = -h restrict=a
|
|
kusano |
7d535a |
NOOPTS =
|
|
kusano |
7d535a |
FORTRAN = f77
|
|
kusano |
7d535a |
FFLAGS = -O
|
|
kusano |
7d535a |
LOADER = f77
|
|
kusano |
7d535a |
LOADOPTS =
|
|
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 = -DUpCase
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
# The directory in which Matlab is installed
|
|
kusano |
7d535a |
#
|
|
kusano |
7d535a |
MATLAB = /usr/local/matlab
|