-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
class::bugBugs found in the softwareBugs found in the softwareloc::backendThis issue concerns the C++ backend implementation.This issue concerns the C++ backend implementation.model::abmThis issue concerns any kind of agent-based model.This issue concerns any kind of agent-based model.prio::highThe priority of this task is high.The priority of this task is high.
Description
Bug description
OpenMP multithreaded abm_simulation crashes with a segfault. without OpenMP (or OMP_NUM_THREADS=1) the program runs normal. In Release build the crash happened reliably for me. In Debug builds the crash doesn't always happen or takes a long time to happen, so it's hard to debug
Version
Linux
To reproduce
- build abm_simulation with MEMILIO_ENABLE_OPENMP=ON
export OMP_NUM_THREADS=<N>, higher N seems to increase chance of it happening.- run
abm_simulation 1 <dir>
Relevant log output
No response
Add any relevant information, e.g. used compiler, screenshots.
gcc 11, ubuntu 20Checklist
- Attached labels, especially loc:: or model:: labels.
- Linked to project
Metadata
Metadata
Assignees
Labels
class::bugBugs found in the softwareBugs found in the softwareloc::backendThis issue concerns the C++ backend implementation.This issue concerns the C++ backend implementation.model::abmThis issue concerns any kind of agent-based model.This issue concerns any kind of agent-based model.prio::highThe priority of this task is high.The priority of this task is high.
Type
Projects
Status
Done (Total) 💯