help-octave
[Top][All Lists]
Advanced

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

RE: make check: src/DLD-FUNCTIONS/eigs.cc ..............................


From: RUSS BRENNAN
Subject: RE: make check: src/DLD-FUNCTIONS/eigs.cc .............................. ** On entry to DLASCL parameter number 4 had an illegal value
Date: Thu, 26 Aug 2010 11:30:36 -0500

I'm using the mkl libraries that come with intel compiler 11.1... I also have MKL 10.2 installed but I am not using those.   I had to use -ff2c to get the compile to work, probably due to whatever gcc problems you were mentioning.

I have set up ARPACK as follows:
        ARmake.inc:
                home = /path/to/ARPACK
                DIRS         = $(UTILdir) $(SRCdir)
                ARPACKLIB  = $(home)/libarpack.a
                LAPACKLIB = $MKLPATH/libmkl_lapack.a
                BLASLIB = $MKLPATH/libmkl_ia32.a
                FC=gfortran
                FFLAGS  = -O0
                MAKE    = /usr/bin/make

I guess the problem was that I hadn't converted to a shared lib.  I did so using
ar -x mylib.a
gcc -shared *.o -o mylib.so
And now the eigs.cc test passes!

qr.cc is now failing, so I'm off to figre that one out...
  src/DLD-FUNCTIONS/qr.cc ................................panic: Segmentation fault -- stopping myself...

How can I determine why these are failing? Is there a logfile somewhere?  Thanks!

Russell


> Date: Thu, 26 Aug 2010 07:14:22 +0200
> Subject: Re: make check: src/DLD-FUNCTIONS/eigs.cc .............................. ** On entry to DLASCL parameter number 4 had an illegal value
> From: address@hidden
> To: address@hidden
> CC: address@hidden
>
> On Wed, Aug 25, 2010 at 10:08 PM, RUSS BRENNAN <address@hidden> wrote:
> > Octave finally compiled for me! With gcc 4.1.
>
> Be careful with 4.1, especially the Fortran part was very buggy there.
> 4.2+ is recommended.
>
> > Now running make check
> > produces the following error.  What's the source of this? Thanks,
> >
>
> Hard to tell, without config info, but the most probable guess is that
> you miscompiled ARPACK. I have the impression that almost nobody does
> it right for the first time. The recommended method:
>
> *Don't* follow the advice inside ARPACK's README about compiling
> internal LAPACK2 part. Disable it and link against your normal LAPACK
> 3.x library. After compiling, turn the static (.a) library into a
> shared one (.so) (I can give you a script for that if you like).
> Install the shared library. Run ldconfig (!). reconfigure octave and rebuild.
>
> In case you already did that, we'll need more info.
>
> hth
>
> --
> RNDr. Jaroslav Hajek, PhD
> computing expert & GNU Octave developer
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url: www.highegg.matfyz.cz

reply via email to

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