← Back to team overview

dolfin team mailing list archive

[Bug 426374] [NEW] ODE collection demo fails

 

Public bug reported:

./../../demo/ode/collection/cpp (C++)

Creating ODE of size 2.
*** Warning: Extended precision not initialized. Use dolfin_set_precision(uint decimal_prec) before declaring any real variables and instansiating ODE
Creating ODE collection of size 3 x 2.
Solving ODE collection on interval [0, 10].
  Time-stepping ODE system number 0.
    Initializing continuous Galerkin method cG(1).
    Calling u0() to get initial data
    Using mono-adaptive fixed-point solver (default for c/dG(q)).
    Using discrete tolerance tol = 0.0001....
    Time-stepping over the time interval [0, 10]
  Time-stepping ODE system number 1.
    Time-stepping over the time interval [0, 10]
terminate called after throwing an instance of 'std::runtime_error'
  what():  *** Error: ODESolution initialized twice
[386:23623] *** Process received signal ***
[386:23623] Signal: Aborted (6)
[386:23623] Signal code:  (-6)
[386:23623] [ 0] [0xf57fe440]
[386:23623] [ 1] /lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb59eca01]
[386:23623] [ 2] /usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x150) [0xb5c13480]
[386:23623] [ 3] /usr/lib/libstdc++.so.6 [0xb5c10d05]
[386:23623] [ 4] /usr/lib/libstdc++.so.6 [0xb5c10d42]
[386:23623] [ 5] /usr/lib/libstdc++.so.6 [0xb5c10e6a]
[386:23623] [ 6] /opt/fenics/lib/libdolfin.so.0(_ZNK6dolfin6Logger5errorESs+0x155) [0xb7a253d5]
[386:23623] [ 7] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin5errorESsz+0x1b3) [0xb7a10993]
[386:23623] [ 8] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin11ODESolution4initEjRKNS_8LagrangeEPK10__gmp_exprIA1_12__mpf_structS6_E+0x8b) [0xb7bc772b]
[386:23623] [ 9] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin11TimeStepper5solveERNS_11ODESolutionE10__gmp_exprIA1_12__mpf_structS5_ES6_+0x34c) [0xb7b5fa7c]
[386:23623] [10] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin3ODE5solveERNS_11ODESolutionE10__gmp_exprIA1_12__mpf_structS5_ES6_+0x78d) [0xb7ba9cdd]
[386:23623] [11] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin13ODECollection5solveE10__gmp_exprIA1_12__mpf_structS3_ES4_+0x621) [0xb7bdbeb1]
[386:23623] [12] ./demo(main+0x33b) [0x805a13b]
[386:23623] [13] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb59d6450]
[386:23623] [14] ./demo(_ZN6dolfin3ODE2JTEPK10__gmp_exprIA1_12__mpf_structS3_EPS4_S6_S4_+0x101) [0x8059cb1]
[386:23623] *** End of error message ***
Aborted

** Affects: dolfin
     Importance: High
     Assignee: Benjamin Kehlet (benjamik)
         Status: New

** Changed in: dolfin
   Importance: Undecided => High

** Changed in: dolfin
    Milestone: None => 0.93

** Changed in: dolfin
     Assignee: (unassigned) => Benjamin Kehlet (benjamik)

-- 
ODE collection demo fails
https://bugs.launchpad.net/bugs/426374
You received this bug notification because you are subscribed to DOLFIN.

Status in DOLFIN: New

Bug description:
./../../demo/ode/collection/cpp (C++)

Creating ODE of size 2.
*** Warning: Extended precision not initialized. Use dolfin_set_precision(uint decimal_prec) before declaring any real variables and instansiating ODE
Creating ODE collection of size 3 x 2.
Solving ODE collection on interval [0, 10].
  Time-stepping ODE system number 0.
    Initializing continuous Galerkin method cG(1).
    Calling u0() to get initial data
    Using mono-adaptive fixed-point solver (default for c/dG(q)).
    Using discrete tolerance tol = 0.0001....
    Time-stepping over the time interval [0, 10]
  Time-stepping ODE system number 1.
    Time-stepping over the time interval [0, 10]
terminate called after throwing an instance of 'std::runtime_error'
  what():  *** Error: ODESolution initialized twice
[386:23623] *** Process received signal ***
[386:23623] Signal: Aborted (6)
[386:23623] Signal code:  (-6)
[386:23623] [ 0] [0xf57fe440]
[386:23623] [ 1] /lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb59eca01]
[386:23623] [ 2] /usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x150) [0xb5c13480]
[386:23623] [ 3] /usr/lib/libstdc++.so.6 [0xb5c10d05]
[386:23623] [ 4] /usr/lib/libstdc++.so.6 [0xb5c10d42]
[386:23623] [ 5] /usr/lib/libstdc++.so.6 [0xb5c10e6a]
[386:23623] [ 6] /opt/fenics/lib/libdolfin.so.0(_ZNK6dolfin6Logger5errorESs+0x155) [0xb7a253d5]
[386:23623] [ 7] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin5errorESsz+0x1b3) [0xb7a10993]
[386:23623] [ 8] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin11ODESolution4initEjRKNS_8LagrangeEPK10__gmp_exprIA1_12__mpf_structS6_E+0x8b) [0xb7bc772b]
[386:23623] [ 9] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin11TimeStepper5solveERNS_11ODESolutionE10__gmp_exprIA1_12__mpf_structS5_ES6_+0x34c) [0xb7b5fa7c]
[386:23623] [10] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin3ODE5solveERNS_11ODESolutionE10__gmp_exprIA1_12__mpf_structS5_ES6_+0x78d) [0xb7ba9cdd]
[386:23623] [11] /opt/fenics/lib/libdolfin.so.0(_ZN6dolfin13ODECollection5solveE10__gmp_exprIA1_12__mpf_structS3_ES4_+0x621) [0xb7bdbeb1]
[386:23623] [12] ./demo(main+0x33b) [0x805a13b]
[386:23623] [13] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb59d6450]
[386:23623] [14] ./demo(_ZN6dolfin3ODE2JTEPK10__gmp_exprIA1_12__mpf_structS3_EPS4_S6_S4_+0x101) [0x8059cb1]
[386:23623] *** End of error message ***
Aborted


Follow ups

References