← Back to team overview

dolfin team mailing list archive

Re: Gmp compilation errors

 

On Wed, May 20, 2009 21:48, Anders Logg wrote:
> Thanks, I'll try to fix this. Is it possible to add GMP as an
> option/configuration on the buildbots (or at least one of them)?

I added GMP to the hardy-i386 and intrepid-amd64 slaves earlier today.
That is probably why they have failed now.

Johannes

> --
> Anders
>
>
> On Wed, May 20, 2009 at 06:38:08PM +0200, Ilmar Wilbers wrote:
>> I don't know what state the Gmp support in Dolfin is in, but I thought
>> I'd report the following error (none of the buildbots have Gmp, or
>> rather, Gmp is turned off for Dolfin, so these errors are undetected):
>>
>> demo/ode/tentusscher/cpp/main.cpp: In function ?int main()?:
>> demo/ode/tentusscher/cpp/main.cpp:25: error: cannot declare variable
>> ?ode? to be of abstract type ?tentusscher?
>> demo/ode/tentusscher/cpp/tentusscher.h:4: note: because the following
>> virtual functions are pure within ?tentusscher?:
>> ./dolfin/ode/ODE.h:83: note: virtual void dolfin::ODE::u0(dolfin::real*)
>> scons: *** [demo/ode/tentusscher/cpp/main.o] Error 1
>> In file included from demo/ode/stiff/cpp/main.cpp:17:
>> demo/ode/stiff/cpp/TestProblem5.h: In member function ?double
>> TestProblem5::r1(const double*)?:
>> demo/ode/stiff/cpp/TestProblem5.h:55: error: cannot convert
>> ?__gmp_expr<__mpf_struct [1], __gmp_binary_expr<__gmp_expr<__mpf_struct
>> [1], __gmp_binary_expr<double, __gmp_expr<__mpf_struct [1], __mpf_struct
>> [1]>, __gmp_binary_multiplies> >, double, __gmp_binary_multiplies> >? to
>> ?double? in return
>> demo/ode/stiff/cpp/TestProblem5.h: In member function ?double
>> TestProblem5::r4(const double*)?:
>> demo/ode/stiff/cpp/TestProblem5.h:70: error: cannot convert
>> ?__gmp_expr<__mpf_struct [1], __gmp_binary_expr<double,
>> __gmp_expr<__mpf_struct [1], __mpf_struct [1]>, __gmp_binary_multiplies>
>>  >? to ?double? in return
>> demo/ode/stiff/cpp/TestProblem5.h: In member function ?double
>> TestProblem5::r5(const double*)?:
>> demo/ode/stiff/cpp/TestProblem5.h:75: error: cannot convert
>> ?__gmp_expr<__mpf_struct [1], __gmp_binary_expr<__gmp_expr<__mpf_struct
>> [1], __gmp_binary_expr<double, __gmp_expr<__mpf_struct [1], __mpf_struct
>> [1]>, __gmp_binary_multiplies> >, double, __gmp_binary_multiplies> >? to
>> ?double? in return
>> demo/ode/stiff/cpp/main.cpp: In function ?int main(int, char**)?:
>> demo/ode/stiff/cpp/main.cpp:64: error: cannot declare variable
>> ?test_problem? to be of abstract type ?TestProblem1?
>> demo/ode/stiff/cpp/TestProblem1.h:12: note: because the following
>> virtual functions are pure within ?TestProblem1?:
>> ./dolfin/ode/ODE.h:83: note: virtual void dolfin::ODE::u0(dolfin::real*)
>> <snip>
>> scons: *** [demo/ode/stiff/cpp/main.o] Error 1
>> scons: building terminated because of errors.
>> demo/ode/tentusscher/cpp/main.o failed: Error 1
>> demo/ode/stiff/cpp/main.o failed: Error 1
>>
>>
>> ilmar
>> _______________________________________________
>> DOLFIN-dev mailing list
>> DOLFIN-dev@xxxxxxxxxx
>> http://www.fenics.org/mailman/listinfo/dolfin-dev
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>




Follow ups

References