Skip to content
Snippets Groups Projects
Commit cd9ff7d6 authored by Grzegorz Kostkowski's avatar Grzegorz Kostkowski
Browse files

Workaround to avoid unexpected stop of execution

Unfortunatelly, there are some limitations related with using
together: multiprocessing and multithreading (forking, handled by
omp).
As a workaround, graph is not shared, each worker has own instance.
There is also possibility to change multiprocessing mode to 'spawn'
(and this case was checked) and it works with omp multithreading,
but it results in same bahavior: model is copied in memory (because
OS cannot postpone copying according copy-on-write strategy - which
is available in 'fork' mode).
parent 49600add
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment