dune-grid issueshttps://gitlab.dune-project.org/core/dune-grid/-/issues2017-12-30T00:27:52Zhttps://gitlab.dune-project.org/core/dune-grid/-/issues/12checkpartition.hh: failures do not cause test to fail2017-12-30T00:27:52ZAnsgar Burchardtansgar.burchardt@tu-dresden.decheckpartition.hh: failures do not cause test to failThe checks in dune/grid/test/checkpartition.hh only write to `std::cerr` when they fail.
Test programs making use of checkpartition.hh thus don't fail, see https://gitlab.dune-project.org/core/dune-grid/merge_requests/54#note_16818The checks in dune/grid/test/checkpartition.hh only write to `std::cerr` when they fail.
Test programs making use of checkpartition.hh thus don't fail, see https://gitlab.dune-project.org/core/dune-grid/merge_requests/54#note_16818DUNE 3.0.0https://gitlab.dune-project.org/core/dune-grid/-/issues/9test-loadbalancing does not work in parallel2018-03-09T09:20:10ZSteffen Müthingsteffen.muething@iwr.uni-heidelberg.detest-loadbalancing does not work in parallelWhile testing for the 2.4.1 release, I tried to run test-loadbalancing in parallel (2 or 4 processes). As it turns out, that fails on both my system (OS X 10.11, GCC 5.3, MPICH 3.2, ParMETIS 4.0.3) and Ubuntu 14.04 (GCC 4.8.4, OpenMPI 1....While testing for the 2.4.1 release, I tried to run test-loadbalancing in parallel (2 or 4 processes). As it turns out, that fails on both my system (OS X 10.11, GCC 5.3, MPICH 3.2, ParMETIS 4.0.3) and Ubuntu 14.04 (GCC 4.8.4, OpenMPI 1.6.5, ParMETIS 3.1). I have no idea whether it is just the test or the partitioner (the test uses UG, and I haven't really looked at what it does. AFAIK there are problems when trying to do multiple loadbalances on a UG grid).
I really have no idea what's wrong there, but it seems kind of pointless to have a load balancing test that only works in sequential mode...
Anyway, here are the outputs:
## OS X 10.11
```
[smuething@Steffens-MBP test]$ mpirun -np 2 ./test-loadbalancing
Using 2 Processes.
Step 0 on 0 ...
Refining level 0 on 0 ...
Step 0 on 1 ...
Refining level 0 on 1 ...
Refining level 1 on 1 ...
Refining level 1 on 0 ...
Coarsening level 0 on 0 ...
Coarsening level 0 on 1 ...
Coarsening level 1 on 1 ...
Coarsening level 1 on 0 ...
Step 1 on 0 ...
Refining level 0 on 0 ...
Step 1 on 1 ...
Refining level 0 on 1 ...
0: ERROR, copying changed the object type!
0: was: Edge, becomes: Node
0: ERROR, copying changed the object type!
0: was: IVertex, becomes: Edge
0: ERROR, copying changed the object type!
0: was: Node, becomes: Edge
0: ERROR, copying changed the object type!
0: was: Edge, becomes: IVertex
0: ERROR, copying changed the object type!
0: was: Edge, becomes: Node
0: ERROR, copying changed the object type!
0: was: IVertex, becomes: Edge
0: ERROR, copying changed the object type!
0: was: Node, becomes: IVertex
1: ERROR, copying changed the object type!
1: was: Edge, becomes: IVertex
1: ERROR, copying changed the object type!
1: was: Edge, becomes: Node
1: ERROR, copying changed the object type!
1: was: IVertex, becomes: Edge
1: ERROR, copying changed the object type!
1: was: Node, becomes: Edge
1: ERROR, copying changed the object type!
1: was: Edge, becomes: IVertex
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 93513 RUNNING AT Steffens-MBP.fritz.box
= EXIT CODE: 11
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault: 11 (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
[smuething@Steffens-MBP test]$
```
## Ubuntu 14.04
```
smuething@ubuntu1404:~/dune/build/default/dune-grid/dune/grid/test$ mpirun -np 2 ./test-loadbalancing
Using 2 Processes.
Step 0 on 0 ...
Refining level 0 on 0 ...
Step 0 on 1 ...
Refining level 0 on 1 ...
Refining level 1 on 0 ...
Refining level 1 on 1 ...
Coarsening level 0 on 1 ...
Coarsening level 0 on 0 ...
Coarsening level 1 on 1 ...
Coarsening level 1 on 0 ...
test-loadbalancing: refine.cc:5842: int AdaptLocalGrid(UG::D2::GRID*, UG::INT*): Assertion `0' failed.
[ubuntu1404:06391] *** Process received signal ***
[ubuntu1404:06391] Signal: Aborted (6)
[ubuntu1404:06391] Signal code: (-6)
test-loadbalancing: refine.cc:5842: int AdaptLocalGrid(UG::D2::GRID*, UG::INT*): Assertion `0' failed.
[ubuntu1404:06392] *** Process received signal ***
[ubuntu1404:06392] Signal: Aborted (6)
[ubuntu1404:06392] Signal code: (-6)
[ubuntu1404:06392] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7efc4ffc5340]
[ubuntu1404:06391] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f06bcc1e340]
[ubuntu1404:06391] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f06bc87fcc9]
[ubuntu1404:06391] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f06bc8830d8]
[ubuntu1404:06391] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x2fb86) [0x7f06bc878b86]
[ubuntu1404:06391] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x2fc32) [0x7f06bc878c32]
[ubuntu1404:06391] [ 5] /home/smuething/dune/external/ug-parallel/lib/libugS2-3.12.1.so(+0x779eb) [0x7f06bea979eb]
[ubuntu1404:06391] [ 6] /home/smuething/dune/external/ug-parallel/lib/libugS2-3.12.1.so(_ZN2UG2D214AdaptMultiGridEPNS0_9multigridEiii+0xaf5) [0x7f06bea98605]
[ubuntu1404:06391] [ 7] ./test-loadbalancing(_ZN4Dune6UGGridILi2EE5adaptEv+0xc8) [0x5ad81e]
[ubuntu1404:06391] [ 8] ./test-loadbalancing(main+0xb1f) [0x551d47]
[ubuntu1404:06391] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f06bc86aec5]
[ubuntu1404:06391] [10] ./test-loadbalancing() [0x5507f9]
[ubuntu1404:06391] *** End of error message ***
[ubuntu1404:06392] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7efc4fc26cc9]
[ubuntu1404:06392] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7efc4fc2a0d8]
[ubuntu1404:06392] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x2fb86) [0x7efc4fc1fb86]
[ubuntu1404:06392] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x2fc32) [0x7efc4fc1fc32]
[ubuntu1404:06392] [ 5] /home/smuething/dune/external/ug-parallel/lib/libugS2-3.12.1.so(+0x779eb) [0x7efc51e3e9eb]
[ubuntu1404:06392] [ 6] /home/smuething/dune/external/ug-parallel/lib/libugS2-3.12.1.so(_ZN2UG2D214AdaptMultiGridEPNS0_9multigridEiii+0xaf5) [0x7efc51e3f605]
[ubuntu1404:06392] [ 7] ./test-loadbalancing(_ZN4Dune6UGGridILi2EE5adaptEv+0xc8) [0x5ad81e]
[ubuntu1404:06392] [ 8] ./test-loadbalancing(main+0xb1f) [0x551d47]
[ubuntu1404:06392] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7efc4fc11ec5]
[ubuntu1404:06392] [10] ./test-loadbalancing() [0x5507f9]
[ubuntu1404:06392] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 6392 on node ubuntu1404 exited on signal 6 (Aborted).
--------------------------------------------------------------------------
smuething@ubuntu1404:~/dune/build/default/dune-grid/dune/grid/test$
```DUNE 3.0.0