Blob Blame Raw
############################################################################
#
#  Program:         SuperLU
#
#  Module:          make.inc
#
#  Purpose:         Top-level Definitions
#
#  Creation date:   October 2, 1995
#
#  Modified:	    February 4, 1997  Version 1.0
#		    November 15, 1997 Version 1.1
#		    September 1, 1999 Version 2.0
#
############################################################################
#
#  The machine (platform) identifier to append to the library names
#
PLAT = _Altix

#
#  The name of the libraries to be created/linked to
#
SuperLUroot	= $(HOME)/Codes/SuperLU_4.1
SUPERLULIB   	= $(SuperLUroot)/lib/libsuperlu_4.1.a

BLASDEF	     = -DUSE_VENDOR_BLAS
#BLASLIB      = -L/usr/common/intel/mkl/8.1.014/lib/64 \
#		-lmkl_solver -lmkl_lapack -lmkl_ipf -lguide -lm
BLASLIB	     = $(MKL)
TMGLIB       = tmglib$(PLAT).a
LIBS	= $(SUPERLULIB) $(BLASLIB)

#
#  The archiver and the flag(s) to use when building archive (library)
#  If your system has no ranlib, set RANLIB = echo.
#
ARCH         = ar
ARCHFLAGS    = cr
RANLIB       = ranlib

CC           = icc
ISA	     = -ftz -mp
CFLAGS       = $(ISA) -O3
NOOPTS	     = $(ISA) -O0
FORTRAN	     = ifort
FFLAGS       = -ftz -mp -O3
LOADER       = ifort
LOADOPTS     = $(ISA)

#
#  C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
#
CDEFS        = -DAdd_
#
# The directory in which Matlab is installed
#
MATLAB	= /usr/common/usg/matlab/7.1.0.R14