############################################################################ # # 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 = _Linux # # The name of the libraries to be created/linked to # SuperLUroot = /home/milenko/superlu/SuperLU_4.3 MKLLIB= /opt/intel/composerxe-2011.1.107/mkl/lib/ia32 SUPERLULIB = /home/milenko/superlu/SuperLU_4.3/lib/libsuperlu.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 = -Wl,--start-group $(MKLLIB)/libmkl_intel.a $(MKLLIB)/libmkl_sequential.a $(MKLLIB)/libmkl_core.a -Wl,--end-group 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 CFLAGS = $(ISA) -O3 NOOPTS = $(ISA) -O0 FORTRAN = ifort -nofor-main -mkl FFLAGS = -ftz -O3 LOADER = ${CC} -mkl 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