Process 0: Memory error detected in tbb::task::wait_for_all (task.h:763):null pointer dereference or unaligned memory access. I have attached the pic of the stacktrace from ddt. The error is coming from deall/base/thread_management.h:
void join () const
{
AssertThrow (joinable(), ExcNoTask());
task_descriptor->join ();
}
I am not able to post a minimal example for the above error as it doesn't occur when I compile main.cc standalone, but if I compile main.cc along with other .cc files in my application I get the above error. I suspect that when main.cc is compiled standalone it links to the dealii's bundled tbb, but when it is compiled with other .cc files it links to intel's tbb as seen from the stacktrace. I have checked my dealii installation and it uses bundled tbb. I am using intel/18.0.1, openmpi/3.0.0/intel/18.0.1 and cmake/3.5.2 for dealii installation, with petsc, slepc and p4est as external libraries.
Thanks,
Out of curiosity, can you please attach the detailed.log file so that we
can have a look at the full link interface? :-) I am curious where tbb
comes in.
You have to recompile deal.II to use the external TBB library
instead. [1]