help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arpack problems


From: Sergei Steshenko
Subject: Re: Arpack problems
Date: Sat, 19 May 2012 07:46:07 -0700 (PDT)





>________________________________
> From: Doug Stewart <address@hidden>
>To: Sergei Steshenko <address@hidden> 
>Cc: Help-Octave List <address@hidden> 
>Sent: Saturday, May 19, 2012 5:35 PM
>Subject: Re: Arpack problems
> 
>
>
>
>
>On Sat, May 19, 2012 at 9:59 AM, Sergei Steshenko <address@hidden> wrote:
>
>
>>
>>
>>
>>
>>>________________________________
>>> From: Doug Stewart <address@hidden>
>>>To: Help-Octave List <address@hidden>
>>>Sent: Saturday, May 19, 2012 4:47 PM
>>>Subject: Arpack problems
>>>
>>>
>>[snip]
>>
>>>
>>>Anyone know what to do now????
>>>
>>[snip]
>>
>>
>>
>>You need to analyze contents of 'config.log' file and to understand what 
>>'configure' check failed and why.
>>
>>You can also build 'arpack' from source and specify paths to it on 'octave' 
>>'configure' command line.
>>
>>Regards,
>>  Sergei.
>>
>>
>Thanks Sergei,
>
>
>Here is the part.
>I am on ubuntu-64 system.
>What does this mean?
>
>
>
>
>
>
>configure:56048: checking for dseupd in -larpack
>configure:56055: gfortran -o conftest -O   conftest.f -larpack -llapack -lblas 
> -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 
>-L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib -L/lib/../lib 
>-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../.. 
>-L/usr/lib/x86_64-linux-gnu -lgfortranbegin -lgfortran -lm -lm   >&5
>configure:56055: $? = 0
>configure:56060: result: yes
>configure:56071: checking whether the arpack library works
>configure:56226: g++ -o conftest -O2     conftest.cpp -larpack -llapack -lblas 
> -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 
>-L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib -L/lib/../lib 
>-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../.. 
>-L/usr/lib/x86_64-linux-gnu -lgfortranbegin -lgfortran -lm -lm   >&5
>configure:56226: $? = 0
>configure:56226: ./conftest
>*** glibc detected *** ./conftest: free(): invalid next size (fast): 
>0x0000000000871d00 ***
>======= Backtrace: =========
>/lib/libc.so.6(+0x77806)[0x7f154baa5806]
>/lib/libc.so.6(cfree+0x73)[0x7f154baac0d3]
>/usr/lib/atlas/libblas.so.3gf(ATL_dgemv+0x318)[0x7f154ca12298]
>/usr/lib/atlas/libblas.so.3gf(atl_f77wrap_dgemv_+0xae)[0x7f154c8b041e]
>/usr/lib/atlas/libblas.so.3gf(dgemv_+0x1b8)[0x7f154cfa1d08]
>/usr/lib/libarpack.so.2(dnaitr_+0x1d0)[0x7f154de016d0]
>/usr/lib/libarpack.so.2(dnaup2_+0x72d)[0x7f154de04a2d]
>/usr/lib/libarpack.so.2(dnaupd_+0x187)[0x7f154de05a77]
>./conftest[0x400ae2]
>./conftest[0x400de0]
>/lib/libc.so.6(__libc_start_main+0xfd)[0x7f154ba4cc4d]
>./conftest[0x400769]
>======= Memory map: ========
>00400000-00401000 r-xp 00000000 08:05 10225850                           
>/home/doug/octave-comp/octave/conftest
>00601000-00602000 r--p 00001000 08:05 10225850                           
>/home/doug/octave-comp/octave/conftest
>00602000-00603000 rw-p 00002000 08:05 10225850                           
>/home/doug/octave-comp/octave/conftest
>0086c000-0088d000 rw-p 00000000 00:00 0                                  [heap]
>7f1544000000-7f1544021000 rw-p 00000000 00:00 0 
>7f1544021000-7f1548000000 ---p 00000000 00:00 0 
>7f154ba2e000-7f154bba8000 r-xp 00000000 08:05 16389109   
>
>-- 
>
>DAS
>
>https://linuxcounter.net/user/206392.html
>


I think the key line is this:

*** glibc detected *** ./conftest: free(): invalid next size (fast): 
0x0000000000871d00 ***

and I think it indicates a bug in 'arpack'.

I think you need a newer 'arpack' version - you'll have to follow either 
Jordi's or my suggestion.


For me arpack-ng_3.1.0 compilation from source tarball wasn't difficult.

Regards,
  Sergei.






>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]