help-octave
[Top][All Lists]
Advanced

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

Re: Installation of octave 3.8.0 on Fujitsu machines having OS RHEL 5.4


From: Mike Miller
Subject: Re: Installation of octave 3.8.0 on Fujitsu machines having OS RHEL 5.4 and RHEL6.3
Date: Fri, 11 Apr 2014 11:05:41 -0400

I already replied to this directly, but thanks for posting to the
list, I'm repeating my reply here so others can benefit.

On Fri, Apr 11, 2014 at 11:31:21 +0530,
address@hidden wrote:
> We are trying to install Octave 3.8.0 on our Fujitsu WS R670 machine.
>
> We tried installing with OS  RHEL 5.4 as well as RHEL 6.3
>
> We have attached config.log  file as well as the checking list generated
> after giving the configure command.
>
> Other details regarding various versions we use are given below.
>
> We solicit your help with this installation.

Here is the relevant error in config.log:

  configure:31658: checking for sgemm_ in -lblas
  configure:31691: gcc -o conftest -g -O2 -pthread   conftest.c -lblas
 -lm    -L/usr/lib/gcc/x86_64-redhat-
linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64 -lgfortranbegin -lgfortran -lm >&5
  /usr/local/lib/libblas.a(xerbla.o): In function `xerbla_':
  xerbla.f:(.text+0x23): undefined reference to `s_wsfe'
  xerbla.f:(.text+0x2f): undefined reference to `G77_lnblnk_0'
  xerbla.f:(.text+0x40): undefined reference to `do_fio'
  xerbla.f:(.text+0x54): undefined reference to `do_fio'
  xerbla.f:(.text+0x5b): undefined reference to `e_wsfe'
  xerbla.f:(.text+0x69): undefined reference to `s_stop'

This should have passed if you have BLAS and LAPACK properly installed.
The error above tells me you have a libblas in /usr/local/lib (probably
compiled locally yourselves) that was probably built with g77, not
gfortran. The two are incompatible.

If you have blas-devel and lapack-devel installed from yum, or can
install them, simply move this library out of /usr/local/lib if you
don't need it for anything else.

If you built and installed this library in /usr/local/lib because of
Octave, or you can't install blas-devel and lapack-devel from yum, then
you will need to rebuild it properly with gfortran.

The same goes for liblapack, if it's also in /usr/local/lib.

HTH,

-- 
mike



reply via email to

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