Am 30.06.20 um 17:13 schrieb Ronaldo Alves: > Sorry about that. I tried to reduce it to the maximum so that it could > be possible to simulate this behavior. > https://pastebin.com/cyCwAX0z > > If I remove line 18, everything goes normally. This behavior does not > occur on smaller networks (if reduce a number of nodes on graph, > everything is ok). > > Note that cpu is not used at all.
Thanks for the working example. graph-tool uses OpenMP internally to perform computations in parallel, and this does not mix well with the processing library, at least not if it's using fork(). You should disable OpenMP in the beginning of your code with: import graph_tool as gt gt.openmp_set_num_threads(1) Best, Tiago -- Tiago de Paula Peixoto <ti...@skewed.de>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool