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 = _Altix
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
BLASDEF	     = -DUSE_VENDOR_BLAS
kusano 7d535a
#BLASLIB      = -L/usr/common/intel/mkl/8.1.014/lib/64 \
kusano 7d535a
#		-lmkl_solver -lmkl_lapack -lmkl_ipf -lguide -lm
kusano 7d535a
BLASLIB	     = $(MKL)
kusano 7d535a
TMGLIB       = tmglib$(PLAT).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           = icc
kusano 7d535a
ISA	     = -ftz -mp
kusano 7d535a
CFLAGS       = $(ISA) -O3
kusano 7d535a
NOOPTS	     = $(ISA) -O0
kusano 7d535a
FORTRAN	     = ifort
kusano 7d535a
FFLAGS       = -ftz -mp -O3
kusano 7d535a
LOADER       = ifort
kusano 7d535a
LOADOPTS     = $(ISA)
kusano 7d535a
kusano 7d535a
#
kusano 7d535a
#  C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
kusano 7d535a
#
kusano 7d535a
CDEFS        = -DAdd_
kusano 7d535a
#
kusano 7d535a
# The directory in which Matlab is installed
kusano 7d535a
#
kusano 7d535a
MATLAB	= /usr/common/usg/matlab/7.1.0.R14