help-octave
[Top][All Lists]
Advanced

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

Re: octave 64-bit and multi-threading


From: Dmitri A. Sergatskov
Subject: Re: octave 64-bit and multi-threading
Date: Tue, 21 Jul 2015 11:15:41 -0500

On Tue, Jul 21, 2015 at 7:24 AM, Grothausmann, Roman Dr. <address@hidden> wrote:


My self-compiled octave is not using: Qhull HDF5 GLPK cURL gl2ps OSMesa qrupdate ARPACK:

./configure --prefix /opt/octave-4.0.0/ --disable-docs --enable-64


Even when also linking against SuiteSparse (also compiled with 64-bit giving AMD CAMD COLAMD CCOLAMD CHOLMOD CXSparse UMFPACK) the performance of the matrix multiplication does not increase significantly:

ss=/opt/SuiteSparse-4.4.4/  LD_LIBRARY_PATH="$ss/lib" CPPFLAGS="-I$ss/include" LDFLAGS="-L$ss/lib" \
./configure --prefix /opt/octave-4.0.0/ --disable-docs --enable-64 \
--with-amd="-lamd -lsuitesparseconfig -lrt" \
--with-camd="-lcamd -lamd -lsuitesparseconfig -lrt" \
--with-colamd="-lcolamd -lcamd -lamd -lsuitesparseconfig -lrt" \
--with-ccolamd="-lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig -lrt" \
--with-cholmod="-lcholmod -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig -lrt" \
--with-umfpack="-lumfpack -lcholmod -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig -lrt -llapack"


Thanks for any help or hints
Roman


​If I want to link a specific atlas library I use

--with-blas="-L/usr/lib64/atlas/libtatlas.so"  --with-lapack="-L/usr/lib64/atlas/libtatlas.so"

(perhaps one of them is redundant).
 

​Also you do not need to re-compile every time -- you can override the library with
LD_PRELOAD magic, e.g.:

​LD_PRELOAD=/usr/lib64/atlas/libtatlas.so octave-cli

​Hope this helps.

Dmitri.
--


reply via email to

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