List Info

Thread: ublas atlas bindings




ublas atlas bindings
user name
2006-09-12 13:09:53
Atlas bindings available on

http://news.tiker.net/filebrowser/software/boost-bindin
gs

and described in

http://www.crystalclears
oftware.com/cgi-bin/boost_wiki/wiki.pl?Linear_Algebra_With_U
BLAS

are rising a lot of problems on my debian box.

- they are searching for ublas.h and clapack.h in the wrong
place
- if I correct their includes, I still get

/tmp/ccW4mZZR.o: In function
`boost::numeric::bindings::atlas::detail::getrf(CBLAS_ORDER,
int, int,
double*, int, int*)':
a.cpp:(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6deta
il5getrfE11CBLAS_ORDERiiPdiPi[boost::numeric::bindings::atla
s::detail::getrf(CBLAS_ORDER,
int, int, double*, int, int*)]+0x30): undefined reference to
`clapack_dgetrf'
/tmp/ccW4mZZR.o: In function
`boost::numeric::bindings::atlas::detail::getri(CBLAS_ORDER,
int,
double*, int, int const*)':
a.cpp:(.gnu.linkonce.t._ZN5boost7numeric8bindings5atlas6deta
il5getriE11CBLAS_ORDERiPdiPKi[boost::numeric::bindings::atla
s::detail::getri(CBLAS_ORDER,
int, double*, int, int const*)]+0x29): undefined reference
to
`clapack_dgetri

with the example source code

#include <boost/numeric/bindings/atlas/clapack.hpp>
#include
<boost/numeric/bindings/traits/ublas_matrix.hpp>
#include
<boost/numeric/bindings/traits/std_vector.hpp>

namespace ublas = boost::numeric::ublas;
namespace atlas = boost::numeric::bindings::atlas;

int main() {
     std::size_t n = 5;
     ublas::matrix<double> A (n, n);
     // fill matrix A

     std::vector<int> ipiv (n);   // pivot vector
     atlas::lu_factor (A, ipiv);  // alias for getrf()
     atlas::lu_invert (A, ipiv);  // alias for getri()
 }

How could I use ATLAS (I need SVD) with uBLAS?

Thanks,
Marco
_______________________________________________
ublas mailing list
ublaslists.boost.org
htt
p://lists.boost.org/mailman/listinfo.cgi/ublas
KompoZer RPM
user name
2006-09-12 13:09:22
I've created a kompozer rpm on my CentOs 4.4 machine

it is available on:
http://fabiwan.kenobi.free.fr/zip/KompoZer-0.77-0.1.
i386.rpm

Binary package is here:

http://fabiwan.kenobi.free.fr/zip/KompoZer-0.77-ce
ntos4.tar.bz

If there is interest I can upload srpm to a developper
(follow the procedure.....)

------------------------------------------------------------
-----
vbox7.com - Забавни видео клипове!
_______________________________________________
CentOS-devel mailing list
CentOS-develcentos.org
http://lists.centos.org/mailman/listinfo/centos-devel
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )