Hi Tiago:

For example:

----------------

import graph_tool.all as gt

overlap_blocks = gt.minimize_blockmodel_dl(g, overlap = True, parallel = True)

----------------

where g is a instance of gt.Graph. When I remove the parameter parallel = True (since default value is False), everything works well. However, setting parallel = True generates the segmentation fault like I mentioned in my last email. Thanks.

Best Regards~

Hao


-------------------------------------------------------------------------------
Hao Wu
Discovery Analytics Center, Virginia Tech
Bradley Department of Electrical and Computer Engineering
Virginia Tech, Arlington, VA 22203, USA
-------------------------------------------------------------------------------

On Thu, Feb 25, 2016 at 10:58 AM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 25.02.2016 16:18, Hao WU wrote:
> Hi Tiago:
>
> I update the graph-tool to the latest stable version ('2.12 (commit 1d6bf978, Fri Nov 6 15:54:18 2015 +0100)'). However, when I try to use minimize_blockmodel_dl to discover communities in parallel, I still get segmentation fault as shown below.
> ---------------------------
>
> *** Error in `python': double free or corruption (fasttop): 0x000000000419d360 ***
>
> Segmentation fault

Can you give a complete example of how you are calling the function?

Best,
Tiago

--
Tiago de Paula Peixoto <tiago@skewed.de>
_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool