Boost logo

Ublas :

Subject: Re: [ublas] How to enable boost numeric binding
From: Nasos Iliopoulos (nasos_i_at_[hidden])
Date: 2011-09-22 08:55:32


Did you try to compile with -DNDEBUG?:

g++ -O3 -DNDEBUG goUBLAS.cpp
-I/home/tarek/go/boost-bindings/include/boost-numeric-bindings/

On 09/22/2011 03:23 AM, Tarek Elsayed wrote:
> Hello,
> I noticed that ublas is very slow in sparse matrix matrix and matrix
> vector multiplications compared to Mathematica, Eigen and MTL4. I
> recently found the boost-numeric-binding, followed the steps mentioned
> here <http://mathema.tician.de/node/391>, but gained no speed !
>
>
> I compile my program as:
> g++ -O3 goUBLAS.cpp
> -I/home/tarek/go/boost-bindings/include/boost-numeric-bindings/
>
> Do I have to change the path of the boost header files in my program?
>
> By the way, When I installed the bindings, I got this message
> for header in `find boost -name '*.hpp' -o -name '*.h'`; do \
> tgt_dir=~/go/boost-bindings/include/boost-numeric-bindings; \
> mkdir -p `dirname $tgt_dir/$header`; \
> cp $header $tgt_dir/$header ; \
> done
>
> Does it tell me to do extra steps to let the bindings work?
>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: athanasios.iliopoulos.ctr.gr_at_[hidden]