
Hello, I try to install the numerical bindings for my boost, but I can't compile the examples. I had installed and compilde the Atlas Lib 3.9.23 with Lapack support and the Boost 1.42 with MPI Support under OS X Leo. I take a look at http://www.opentissue.org/wikitissue/index.php/Boost_bindings but I had checked out the bindungs with and without the -v1 prefix and try to compile the examples under the lib directory. How can I work with the boost uBlas structures and the Atlas lib, so I can use the Cholesky factorisation with a uBlas matrix? Can you help me to install the bindings correctly? Thanks Phil

Kraus Philipp wrote:
Hello,
I try to install the numerical bindings for my boost, but I can't compile the examples. I had installed and compilde the Atlas Lib 3.9.23 with Lapack support and the Boost 1.42 with MPI Support under OS X Leo.
I take a look at http://www.opentissue.org/wikitissue/index.php/Boost_bindings but I had checked out the bindungs with and without the -v1 prefix and try to compile the examples under the lib directory.
How can I work with the boost uBlas structures and the Atlas lib, so I can use the Cholesky factorisation with a uBlas matrix? Can you help me to install the bindings correctly?
Sure, I can help with the one without the -v1 suffix. The regressions tests should work for 98%, the examples however aren't ported yet to the newer bindings structure. One of the major changes in the newer bindings is that if you would like to use atlas, it's still blas, so bindings::atlas::gemm( ... ) becomes bindings::blas::gemm( ... ) and if you would like to compile and link against ATLAS, define BOOST_NUMERIC_BINDINGS_BLAS_CBLAS Hope this helps, please let me know if I can help further. Cheers, Rutger

Am 12.03.2010 um 18:20 schrieb Rutger ter Borg:
Kraus Philipp wrote:
Hello,
I try to install the numerical bindings for my boost, but I can't compile the examples. I had installed and compilde the Atlas Lib 3.9.23 with Lapack support and the Boost 1.42 with MPI Support under OS X Leo.
I take a look at http://www.opentissue.org/wikitissue/index.php/Boost_bindings but I had checked out the bindungs with and without the -v1 prefix and try to compile the examples under the lib directory.
How can I work with the boost uBlas structures and the Atlas lib, so I can use the Cholesky factorisation with a uBlas matrix? Can you help me to install the bindings correctly?
Sure, I can help with the one without the -v1 suffix. The regressions tests should work for 98%, the examples however aren't ported yet to the newer bindings structure. One of the major changes in the newer bindings is that if you would like to use atlas, it's still blas, so
bindings::atlas::gemm( ... )
becomes
bindings::blas::gemm( ... )
and if you would like to compile and link against ATLAS, define
BOOST_NUMERIC_BINDINGS_BLAS_CBLAS
Hope this helps, please let me know if I can help further.
Thank a lot, but I run into errors, because I can't see my error.
1. I had checked out svn co http://svn.boost.org/svn/boost/sandbox/numeric_bindings/boost/numeric/bindin...
but there isn't a "atlas" subdirectory
2. I had compiled my atlas like http://math-atlas.sourceforge.net/atlas_install/atlas_install.html#SECTION00...
without fortran and the lapack. I had got 4 libs
3. I have took the example on http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Linear_Algebr...
but without the atlas subdir I can't compile it.
4. Then I try to write my own example:
#define BOOST_NUMERIC_BINDINGS_BLAS_CBLAS
#include

Kraus Philipp wrote:
I don't understand how to use the bindings, because I can't find a documentation with a working example like on the boost main page.
Documentation is still in progress, we're rewriting everything to quickbook format. Meanwhile, please find attached your test case, hopefully it makes it a bit clearer. If you run into further difficulty, please let me know. Cheers, Rutger

Am 12.03.2010 um 20:28 schrieb Rutger ter Borg:
Kraus Philipp wrote:
I don't understand how to use the bindings, because I can't find a documentation with a working example like on the boost main page.
Documentation is still in progress, we're rewriting everything to quickbook format. Meanwhile, please find attached your test case, hopefully it makes it a bit clearer.
If you run into further difficulty, please let me know.
Thanks everthing works fine, that's clear now Phil
participants (2)
-
Kraus Philipp
-
Rutger ter Borg