[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling Octave with OpenBLAS
From: |
Jake |
Subject: |
Re: Compiling Octave with OpenBLAS |
Date: |
Mon, 12 Nov 2012 18:59:46 -0800 |
Thank you Dmitri and Jordi.
I added /opt/OpenBLAS/lib to a new .conf in /etc/ld.so.conf.d and ran ldconfig,
then ran configure with:
./configure LDFLAGS="-L/opt/OpenBLAS/lib" --with-blas="-lopenblas"
--with-lapack="-lopenblas"
And was able to compile
On Mon, 12 Nov 2012 17:02:33 -0600
"Dmitri A. Sergatskov" <address@hidden> wrote:
> I figure out what is the problem.
>
> In my case I did not "installed" the shared libraries (they were left in
> build directory). So the "conftest" program made by configure script
> cannot find the shared library and fails.
>
> I suspect in Jake's case the /opt/OpenBLAS/lib directory is not
> in the dynamic linker path. So the solution is to add it somewhere to
> /etc/ld.so.conf.d/
> re-run ldconfig and it should work.
>
> Sincerely,
>
> Dmitri.
> --