|
Ublas : |
From: Paul C. Leopardi (leopardi_at_[hidden])
Date: 2005-08-24 10:36:43
Hi Michael,
Sorry for the late reply. I have now tried GluCat 0.1.9 (as yet unreleased)
with gcc 3.3.4, 4.0.1, 4.0.2 (snapshot), 4.1.0 (snapshot) and Boost 1.31.0,
1.32.0, 1.33.0. Results are summarised below.
Summary of the summary is that Boost 1.33.0 works. Thanks.
Best regards
On Wed, 20 Jul 2005 04:26 am, Michael Stevens wrote:
> On Tuesday 19 July 2005 16:38, Paul C. Leopardi wrote:
> > Hi Michael, my responses below. Best regards
> >
> > On Tue, 19 Jul 2005 06:23 pm, Michael Stevens wrote:
> > > I am a bit confused. It would good if we could test against the pending
> > > Boost 1.33 release
> >
> > I am a little confused myself. GluCat 0.1.9 works with Boost 1.31 and
> > works with the uBLAS directory of Boost CVS, but does not work with Boost
> > 1.32.
>
> Now I understand. Only Boost 1.32 is causing problems. In itself tha that
> is bad.
>
> > But Boost CVS is later than Boost 1.32.
>
> Correct, and Boost CVS is the pending Boost 1.33. So at least it is good
> that it is causing no problems.
>
> There are certainly many bug fixes between 1.32 and what we have now. I
> wish I could get CVS to give me a log of commit comments for the who of
> boost/numeric/ublas. That would give us a useful basis to work on.
>
> Do you see the failure on a variety of compilers?
Summary of GluCat compilation and test results
g++ Boost result
3.3.4 1.31.0 OK
4.0.1 1.31.0 compilation error
4.0.2 1.31.0 compilation error
4.1.0 1.31.0 compilation error
3.3.4 1.32.0 incorrect results
4.0.1 1.32.0 incorrect results
4.0.2 1.32.0 incorrect results
4.1.0 1.32.0 incorrect results
3.3.4 1.33.0 OK
4.0.1 1.33.0 compilation warning, runs OK
4.0.2 1.33.0 compilation warning, runs OK
4.1.0 1.33.0 compilation warning, runs OK
The compilation errors with Boost 1.31.0 and g++ 4.X.Y are of the type:
../boost/numeric/ublas/matrix_sparse.hpp:3880: error: dependent-name
âboost::numeric::ublas::compressed_matrix<T,F,IB,IA,TA>::value_typeâ is
parsed as a non-type, but instantiation yields a type
../boost/numeric/ublas/matrix_sparse.hpp:3880: note: say âtypename
boost::numeric::ublas::compressed_matrix<T,F,IB,IA,TA>::value_typeâ if a type
is meant
The compilation warnings with Boost 1.33.0 and g++ 4.X.Y are of the type:
../boost/numeric/ublas/operation_sparse.hpp:42: warning:
âtemporary$data_$data_â may be used uninitialized in this function