Since revision 6593, the assembly benchmark (bench/fem/assembly/cpp) has been broken and fails with the error below. The attached patch fixes the problem. Or should we modify the benchmark?
johannr@debian-t420s:cpp$ ./bench_assembly
Assembly for various forms and backends
Form: poisson1
Backend: uBLAS
terminate called after throwing an instance of 'std::runtime_error'
what():
*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
*** https://answers.launchpad.net/dolfin
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------------------------------------------------------------------------
*** Error: Unable to extract timing for task.
*** Reason: No timings registered for task "uBLASDelete sparsity"..
*** Where: This error was encountered inside Logger.cpp.
*** -------------------------------------------------------------------------
[debian-t420s:20937] *** Process received signal ***
[debian-t420s:20937] Signal: Aborted (6)
[debian-t420s:20937] Signal code: (-6)
[debian-t420s:20937] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xf030) [0x7fdec7f95030]
[debian-t420s:20937] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fdec7c31475]
[debian-t420s:20937] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x180) [0x7fdec7c346f0]
[debian-t420s:20937] [ 3] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x11d) [0x7fdec867f8cd]
[debian-t420s:20937] [ 4] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8a76) [0x7fdec867da76]
[debian-t420s:20937] [ 5] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8aa3) [0x7fdec867daa3]
[debian-t420s:20937] [ 6] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8b9e) [0x7fdec867db9e]
[debian-t420s:20937] [ 7] /home/johannr/dev/fenics/src/dolfin/trunk/local/lib/libdolfin.so.1.0(_ZNK6dolfin6Logger12dolfin_errorESsSsSs+0x81b) [0x7fded374cbeb]
[debian-t420s:20937] [ 8] /home/johannr/dev/fenics/src/dolfin/trunk/local/lib/libdolfin.so.1.0(_ZN6dolfin6Logger6timingESsb+0x3e3) [0x7fded374d413]
[debian-t420s:20937] [ 9] /home/johannr/dev/fenics/src/dolfin/trunk/local/lib/libdolfin.so.1.0(_ZN6dolfin6timingESsb+0x28) [0x7fded3753e28]
[debian-t420s:20937] [10] ./bench_assembly(main+0x7da) [0x43e0ca]
[debian-t420s:20937] [11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fdec7c1dead]
[debian-t420s:20937] [12] ./bench_assembly() [0x43fae1]
[debian-t420s:20937] *** End of error message ***
Aborted
Go ahead and apply the patch.
Garth
On 2 Mar 2012, at 14:00, Johannes Ring <email address hidden> wrote:
> ** Patch added: "bench- assembly. patch" /bugs.launchpad .net/bugs/ 944817/ +attachment/ 2801119/ +files/ bench-assembly. patch /bugs.launchpad .net/bugs/ 944817 /bugs.launchpad .net/dolfin/ +bug/944817/ +subscriptions
> https:/
>
> --
> You received this bug notification because you are a member of DOLFIN
> Core Team, which is subscribed to DOLFIN.
> https:/
>
> Title:
> Assembly benchmark broken: Unable to extract timing for task
>
> To manage notifications about this bug go to:
> https:/