[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ARPACK test case for configure.ac
From: |
marco atzeri |
Subject: |
Re: ARPACK test case for configure.ac |
Date: |
Tue, 27 Dec 2011 05:18:46 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
On 12/27/2011 12:21 AM, Rik wrote:
12/26/11
John,
I reduced the work you did in bug #31479 to a simple test case that could
be run by configure to verify the installed ARPACK library. I'm attaching
the file as you can probably insert it more easily into configure.ac.
When I run
g++ -o arpack_libtest -llapack -lblas -larpack arpack_libtest.cc
./arpack_libtest
to compile correctly on windows platforms, the order should be:
g++ arpack_libtest.cc -o arpack_libtest -larpack -llapack -lblas
the test passes on latest cygwin arpack-3.0.1-1
./arpack_libtest
I get a segfault. This is built against a problem version of ARPACK that
is shipped with Ubuntu 10.04 (2.1+parpack96.dfsg-2build1).
If I build against the fixed version of ARPACK in libcruft it works
g++ -o arpack_libtest -L/usr/local/lib/octave/3.4.3 -llapack -lblas -lcruft
arpack_libtest.cc
setenv LD_LIBRARY_PATH /usr/local/lib/octave/3.4.3/
./arpack_libtest
--Rik