Elapsed time is 131.196 seconds. vs 10 seconds before.
tic, eigs(a,7), toc
warning: eigs: Only 3 of the 7 requested eigenvalues converged
ans =
0.0000e+00 + 0.0000e+00i
0.0000e+00 + 0.0000e+00i
0.0000e+00 + 0.0000e+00i
0.0000e+00 + 0.0000e+00i
2.0002e+03 + 0.0000e+00i
-1.6360e+01 - 8.3687e+00i
-1.6360e+01 + 8.3687e+00i
Elapsed time is 50.19 seconds.
./configure --prefix=/usr/local/octave-3.6.4 \
--with-fltk-prefix=/usr/local/fltk-1.3.2/lib \
--with-arpack-libdir=/usr/local/lib \
--with-qrupdate-libdir=/usr/lib/qrupdate \
--with-blas="-lptcblas -lptf77blas -latlas" `: IF APPLICABLE` \
LDFLAGS="-L/usr/local/lib"
I get eigs and the warnings and failure below.
Using:
./configure --prefix=/usr/local/octave-3.6.4 \
--with-fltk-prefix=/usr/local/fltk-1.3.2/lib \
--with-arpack-libdir=/usr/local/lib \
--with-qrupdate-libdir=/usr/lib/qrupdate \
--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/lib"
I get ATLAS running on 4 cores, but the conflict below prevents the use of arpack.
configure:56375: checking for dseupd in -larpack
configure:56382: gfortran -o conftest -O -L/usr/local/lib -L/usr/local/lib conftest.f -larpack -llapack -lblas -L/usr/local/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../.. -lgfortran -lm -lquadmath -lm >&5
/usr/bin/ld: warning: liblapack.so.3gf, needed by /usr/local/lib/libarpack.so, may conflict with liblapack.so.3
configure:56382: $? = 0
configure:56387: result: yes
configure:56398: checking whether the arpack library works
configure:56553: g++ -o conftest -g -O2 -L/usr/local/lib -L/usr/local/lib conftest.cpp -larpack -llapack -lblas -L/usr/local/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../.. -lgfortran -lm -lquadmath -lm >&5
/usr/bin/ld: warning: liblapack.so.3gf, needed by /usr/local/lib/libarpack.so, may conflict with liblapack.so.3
configure:56553: $? = 0
configure:56553: ./conftest
configure:56553: $? = 0
configure:56563: result: yes
:
:
configure:56948: checking for getpwnam
configure:56948: gcc -o conftest -g -O2 -pthread -L/usr/local/lib conftest.c -lm >&5
configure:56948: $? = 0
configure:56948: result: yes
configure:57167: checking for mode_t
configure:57167: result: yes
configure:57178: checking for off_t
configure:57178: gcc -c -g -O2 -pthread conftest.c >&5
configure:57178: $? = 0
configure:57178: gcc -c -g -O2 -pthread conftest.c >&5
conftest.c: In function 'main':
conftest.c:618:20: error: expected _expression_ before ')' token
configure:57178: $? = 1
configure: failed program was:
| /* confdefs.h */