Segmentation Fault in StatInit()
From: H. S. (g_reate_xcalibur_at_yahoo.com)
Date: 03/29/05
- Next message: Lester Zick: "Re: Distinct linear orderings on Z"
- Previous message: yarondav_at_gmail.com: "Looking for an algorithm - image analysis"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 29 Mar 2005 17:22:02 -0500
I installed ARPACK++ (from here:
http://www.ime.unicamp.br/~chico/arpack++/)and compiled it. After
installing ARPACK and SuperLU packages, I tried compiling the examples
in ARPACK++ packages.
When I try to run the exampes after they compile, only asymreg runs
successfully. But all others end with Segmentation Fault. I tried to run
them in gdb and noticed that all of them segfault in a "StatInit()"
function (see an example below).
Anybody have any idea what could be going wrong or even seen this before?
I am using gcc 3.2.
Thanks,
->HS
PS: Here is a gdb session for "asymgbkl" program in "examples/sym"
directory:
{sym}> gdb asymgbkl
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) r
Starting program:
/home/cirrus/hs/include/arpack++_chico/examples/areig/sym/asymgbkl
Program received signal SIGSEGV, Segmentation fault.
0x08059766 in StatInit ()
(gdb) bt
#0 0x08059766 in StatInit ()
#1 0x0804d3be in ARluSymPencil<double>::FactorAsB(double) (this=0xbfffbbd4,
sigma=1)
at /home/cirrus/hs/include/arpack++/include/arlspen.h:407
#2 0x0804c6fc in ARluSymGenEig<double>::ChangeShift(double)
(this=0xbfffbbd0,
sigmap=1)
at /home/cirrus/hs/include/arpack++/include/arlgsym.h:120
#3 0x0804ac26 in ARluSymGenEig (this=0xbfffbbd0, InvertModep=66 'B',
nevp=4,
A=@0xbfffbe30, B=@0xbfffbd40, sigmap=1,
whichp=0x8086f61 "LM", ncvp=0, tolp=0, maxitp=0, residp=0x0,
ishiftp=true)
at /home/cirrus/hs/include/arpack++/include/arlgsym.h:211
#4 0x0804a21c in int AREig<double>(double*, double*, int, int, double*,
int*,
int*, int, double*, int*, int*, char, char, double, int, char*, int, double,
int, double*, bool) (EigVal=0xbfffdf10, EigVec=0xbfffbfc0, n=100, nnzA=199,
A=0x8091920,
irowA=0x8091f60, pcolA=0x8092280, nnzB=199, B=0x8092418,
irowB=0x8092a58,
pcolB=0x8092d78, uplo=85 'U',
InvertMode=66 'B', sigma=1, nev=4, which=0x8086f61 "LM", ncv=0, tol=0,
maxit=0, resid=0x0, AutoShift=true)
at areig.h:1100
#5 0x08049c80 in main () at asymgbkl.cc:89
#6 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
-- Please remove the underscores ( the '_' symbols) from my email address to obtain the correct one. Apologies, but the fudging is to remove spam.
- Next message: Lester Zick: "Re: Distinct linear orderings on Z"
- Previous message: yarondav_at_gmail.com: "Looking for an algorithm - image analysis"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|