optimad / bitpit

Open source library for scientific HPC
http://optimad.github.io/bitpit/
GNU Lesser General Public License v3.0
117 stars 33 forks source link

Bitpit Debug MPI : assertion fails in PatchKernel::getOwner method #311

Closed roccoarpa closed 2 years ago

roccoarpa commented 2 years ago

In MPI, debug mode, integration_test_volunstructured_00004 crashes with a failed assertion while calling PatchKernel::setPartition method. The problem is caused by assert at row 211 of patchkernel_parallel.cpp (getOwner).

Question: is this assert even useful? Logical if from row 212 seems robust enough to me. As it is, this assert is a booby trap, best to remove it.