Hello everyone,
I encountered a TBB issue when I was testing two deal.II programs that worked very well on the Linux OS. The programs don't stop at the first time step. Instead, after several time steps, the programs stopped.
The errors occurred randomly. They were killed by different failed TBB assertions during testing.
I'm using dealii-9.5.0 on a Macbook Pro with an M2 max chip. The OS version is 14.2.1. Xcode version is Version 15.1.
Some errors printed on the console by program 1 are like:
Timestep 250
Assertion false failed on line 541 of file ../../src/tbb/custom_scheduler.h
Detailed description: task is in READY state upon return from method execute()
or
Timestep 40
Assertion 1L<<t->state() & (1L<<task::allocated|1L<<task::ready|1L<<task::reexecute) failed on line 407 of file ../../src/tbb/custom_scheduler.h
or
Timestep 109
Assertion t->state()==task::freed failed on line 351 of file ../../src/tbb/scheduler.cpp
or
Timestep 10
Assertion 1L << t.state() & (1L << task::executing | 1L << task::allocated) failed on line 748 of file ../../src/tbb/scheduler.h
Some errors printed on the console by program 2 are like:
Timestep 12:
......
Adaptive refinement-9:
Assertion 1L<<t->state() & (1L<<task::allocated|1L<<task::ready|1L<<task::reexecute) failed on line 407 of file ../../src/tbb/custom_scheduler.h
or
Timestep 12:
......
Adaptive refinement-10:
Assertion 1L << t.state() & (1L << task::executing | 1L << task::allocated) failed on line 748 of file ../../src/tbb/scheduler.h
I've been stuck on this TBB issue for a while. Would you be able to give me some hints on solving this problem? I would really appreciate it.
Best Regards,
Zhao