by wd20lp » Wed Jun 22, 2005 8:11 am
I am also using SuSe Linux, however compiling it with
ifort. Below is copy of my make.inc.
Luciano
-------------------------------------------------------------------------------
####################################################################
# LAPACK make include file. #
# LAPACK, Version 3.0 #
# June 30, 1999 #
####################################################################
#
SHELL = /bin/sh
#
# The machine (platform) identifier to append to the library names
# if desired. For example, if you want to compile LAPACK once with
# standard options and once with debugging options, you might want
# to make PLAT = _debug for the debug version.
#
PLAT = .lnx
LAPACKPATH = /home2/lpp/LAPACK3E
# Modify the FORTRAN and OPTS definitions to refer to the
# compiler and desired compiler options for your machine. NOOPT
# refers to the compiler options desired when NO OPTIMIZATION is
# selected. Define LOADER and LOADOPTS to refer to the loader and
# desired load options for your machine.
#
FORTRAN = ifort
F90 = ifort
F90OPTS = -O3
CC = icc
OPTS = -O3
COPTS = -O3
DRVOPTS = $(OPTS)
NOOPT =
REAL32 = -DLA_REALSIZE=4
LOADER = ifort
LOADOPTS =
#
# The following option is used to point to the directory of compiled
# module files.
#
MODINCL = -I
#
# The command m4 is used to create a generic interface module from the
# common source modules files. The types supported are determined by
# defined constants:
# -DLA_HG: Cray 32-bit interfaces
# -DLA_SC: IEEE 32-bit interfaces or Cray 64-bit interfaces
# -DLA_DZ: IEEE 64-bit interfaces
#
M4 = m4
M4FLAGS = -DLA_SC -DLA_DZ
#
# 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
#
# The location of the libraries to which you will link. (The
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
BLASLIB = $(LAPACKPATH)/liblapack3e$(PLAT).a
#BLASLIB = /usr/lib/libblas.a
LAPACKLIB = $(LAPACKPATH)/liblapack3e$(PLAT).a
XTRALIBS = -L $(LAPACKPATH) -llapack3e$(PLAT)
TMGLIB = $(LAPACKPATH)/tmglib$(PLAT).a
EIGSRCLIB = $(LAPACKPATH)/eigsrc$(PLAT).a
LINSRCLIB = $(LAPACKPATH)/linsrc$(PLAT).a