[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Rebuild of Octave-3.6.4 lost the use of ARPACK eigs
From: |
lascott |
Subject: |
Rebuild of Octave-3.6.4 lost the use of ARPACK eigs |
Date: |
Fri, 27 Dec 2013 05:50:05 -0800 (PST) |
Possibly broken symlink? Thoughts appreciated.
I rebuild octave after a panic crash left me without eigs:
a = rand(4000, 4000);
octave:11> tic, det(a*inv(a)), toc
ans = Inf % should be 1, known problem solved in next release.
Elapsed time is 9.6492 seconds. % Using ATLAS on 4 cores as seen on sys
monitor
tic, eigs(a,7), toc
error: eigs: not available in this version of Octave
help eigs
'eigs' is a function from the file
/usr/local/octave-3.6.4/lib/octave/3.6.4/oct/x86_64-unknown-linux-gnu/eigs.oct
-- Loadable Function: D = eigs (A)
-- Loadable Function: D = eigs (A, K)
-- Loadable Function: D = eigs (A, K, SIGMA)
-- Loadable Function: D = eigs (A, K, SIGMA, OPTS) ....
This function is based on the ARPACK package, written by R.
Lehoucq, K. Maschhoff, D. Sorensen, and C. Yang. For more
information see `http://www.caam.rice.edu/software/ARPACK/'.
So the help is there, and it compiled as shown below:
# Source code sits on a partitioned HD, separate from the OS SSD with
/usr/local
# ARPACK previously compiled as:
# ARPACK
cd ../code
VERSION=3.1.3
BASENAME=arpack-ng-$VERSION
PACKAGE=$BASENAME.tar.gz
LIB=libarpack.a
PARENTDIR=pwd
OUTLIB=/usr/local/lib
curl -sOL
http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/$PACKAGE
tar zxf ../Downloads/$PACKAGE
rm $PACKAGE $BASENAME/UTIL/second.f $BASENAME/SRC/dnaupe.f
$BASENAME/SRC/snaupe.f
cd $BASENAME
./configure --prefix=/usr/local/$BASENAME CFLAGS="-fPIC -O2"
CXXFLAGS="-fPIC" \
--with-blas=/opt/atlas-3.8.4/lib/libatlas.a \
--with-lapack=/opt/atlas-3.8.4/lib/liblapack.a
make -j 4 --always-make
make install --always-make
# Building Octave:
# enable-shared is new, but the default right?
# ================
./configure --prefix=/usr/local/octave-3.6.4 \
--with-fltk-prefix=/usr/local/fltk-1.3.2 \
--with-arpack-libdir=/usr/local/arpack-ng-3.1.3 \
--with-qrupdate-libdir=/usr/lib/qrupdate \
--enable-readline \
--enable-shared \
--with-blas="-lptcblas -lptf77blas -latlas" `: IF APPLICABLE` \
CPPFLAGS="-I/usr/local/atlas-3.10.1/include" \
LDFLAGS="-L/usr/local/atlas-3.10.1/lib -L/usr/local/arpack-ng-3.1.3"
# Compiled without problems. make check ran:
src/DLD-FUNCTIONS/eig.cc ............................... PASS 20/20
src/DLD-FUNCTIONS/eigs.cc ..............................
<=EMPTY
Summary:
PASS 9877
FAIL 0
There were 2 expected failures (see fntests.log for details).
cat /proc/version
Linux version 3.2.0-23-generic (address@hidden) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012
cat /etc/linuxmint/info
RELEASE=13
CODENAME=maya
EDITION="Xfce 64-bit"
DESCRIPTION="Linux Mint 13 Maya"
DESKTOP=Xfce
TOOLKIT=GTK
NEW_FEATURES_URL=http://www.linuxmint.com/rel_maya_xfce_whatsnew.php
RELEASE_NOTES_URL=http://www.linuxmint.com/rel_maya_xfce.php
USER_GUIDE_URL=http://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 13 Xfce 64-bit
--
View this message in context:
http://octave.1599824.n4.nabble.com/Rebuild-of-Octave-3-6-4-lost-the-use-of-ARPACK-eigs-tp4660381.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Rebuild of Octave-3.6.4 lost the use of ARPACK eigs,
lascott <=