Are there any Linux users out there?

Open discussion regarding features, bugs, issues, vendors, etc.

Are there any Linux users out there?

Postby mbibby » Tue Jun 21, 2005 3:28 pm

I am interested in talking with anyone using LAPACK in a/any Linux environment.

I am particularly interested in the appropriate make.inc entries.

Thanks

Malcolm
mbibby
 
Posts: 12
Joined: Sun Jun 12, 2005 1:12 pm
Location: MA

Postby Johan » Wed Jun 22, 2005 4:11 am

Hello,
I downoladed Clapack and installed it succesfully in a Linux SuSe environment with the following make.inc:

####################################################################
#
SHELL = /bin/sh
#
# The machine (platform) identifier to append to the library names
#
PLAT = _LINUX
#
# Modify the CC and CFLAGS 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.
#
CC = gcc
CFLAGS = -funroll-all-loops -O3
LOADER = gcc
LOADOPTS = $(CFLAGS)
NOOPT =
DRVCFLAGS = $(CFLAGS)
F2CCFLAGS = $(CFLAGS)
#
# The archiver and the flag(s) to use when building archive (library)
# If you 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 = ../../blas$(PLAT).a
LAPACKLIB = lapack$(PLAT).a
F2CLIB = ../../F2CLIBS/libF77.a ../../F2CLIBS/libI77.a
TMGLIB = tmglib$(PLAT).a
EIGSRCLIB = eigsrc$(PLAT).a
LINSRCLIB = linsrc$(PLAT).a
##

This is according to the installation guide, and since it seems to work I have made no changes,

/Johan
Johan
 
Posts: 1
Joined: Wed Jun 22, 2005 3:56 am

Postby 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
wd20lp
 
Posts: 7
Joined: Thu Jun 09, 2005 8:24 am

Questions for Johan and wd201p

Postby mbibby » Thu Jun 23, 2005 12:51 pm

Thanks very much for your replies. I notice that both of you use the reference BLAS library and not a machine/complier optimised BALS set.

What is/are the reason(s) for that choice?

Thanks.

Malcolm
mbibby
 
Posts: 12
Joined: Sun Jun 12, 2005 1:12 pm
Location: MA


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 3 guests