The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Trouble Installing LAPACK...please save me!

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

Trouble Installing LAPACK...please save me!

Postby anikak » Sun Oct 15, 2006 8:27 pm

Hi,

I'm currently trying to install LAPACK and wondered if anyone might be able
to help me figure out what is going wrong. I've been working all day to
get it running and the best I can do is to use the following make.inc file on a machine running RHEL 4:

#
##################################################################
# LAPACK make include file. #
# LAPACK, Version 3.0 #
# June 30, 1999 #
####################################################################
#
SHELL = /bin/sh
#
# The machine (platform) identifier to append to the library names
#

#
# 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 = g77
OPTS = -O3 -fomit-frame-pointer -funroll-loops
DRVOPTS = $(OPTS)
NOOPT =

LOADER = g77
LOADOPTS =
#
# 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 = /home/anikak/libblas.a
LAPACKLIB = lapack.a
TMGLIB = tmglib.a
EIGSRCLIB = eigsrc.a
LINSRCLIB = linsrc.a






I type "make" and LAPACK installs for about 12 minutes untils I get the following messages:


make[2]: Entering directory '/home/anikak/LAPACK/TIMING/LIN'

g77 -c -O3 -fomit-frame-pointer -funroll-loops
for a lot of .f files...

g77 for a lot of .o files

../../tmglib.a linsrc.a ../../lapack.a /home/anikak/libblas.a -o ../xlintims
make[2]: Leaving directory '/home/anikak/LAPACK/TIMING/LIN'
Timing square REAL LAPACK linear equation routines
xlintims < stime.in > stime.out 2>&1
make[1]: *** [stime.out] Error 127
make[1]: Leaving directory '/home/anikak/LAPACK/TIMING'
make: [timing] Error 2

I'm close to the end of installation since I'm at the Timing step correct? Anyone know what I should try next? I did try typing:
xlintims < stime.in > stime.out
and it ran fine, but took a while.

Thanks for any help you can give!!
anikak
 
Posts: 2
Joined: Sun Oct 15, 2006 8:23 pm

Postby Julien Langou » Sun Oct 15, 2006 9:39 pm

Hello,

you are kind of fine if all you wanted to do was to install LAPACK and test it. Now if you want to time the LAPACK routines, the LAPACK/TIMING/Makefile you are using needs a pacth. The patch is at:
http://www.netlib.org/lapack/patch/timing/Makefile

Julien
Julien Langou
 
Posts: 835
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA

Postby anikak » Wed Oct 18, 2006 6:10 pm

Thanks so much!!! That helped with the timing issues, so hopefully everything will work now. Hopefully karma will bring you the brownies that I usually make for people that help me out =)
anikak
 
Posts: 2
Joined: Sun Oct 15, 2006 8:23 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 6 guests