Hello, Tiago Thanks for the quick reply. Here is a small example to reproduce the problem #!/usr/bin/env python2 # -*- coding: utf-8 -*- import multiprocess as mp import graph_tool.all as gt from numpy import * import multiprocess as mp import graph_tool.all as gt import numpy as np g = gt.price_network(20, m = 2, directed = False) valid_paths = g.new_vertex_property("object") g.vertex_properties["valid_paths"] = valid_paths Cloudlet = [] Gateway = [] for v in g.vertices(): if np.random.rand() > 0.5: Cloudlet.append(v) else: Gateway.append(v) pool = mp.Pool(processes=4) for v in Gateway: valid_paths[v] = pool.map(lambda x: gt.all_shortest_paths(g = g, source = g.vertex_index[v], target = x),[g.vertex_index[c] for c in Cloudlet]) Now, the python compiler says, MaybeEncodingError: Error sending result: '[<graph_tool.libgraph_tool_core.CoroGenerator object at 0x7f344b5f4f80>]'. Reason: 'RuntimeError('Pickling of "graph_tool.libgraph_tool_core.CoroGenerator" instances is not enabled (http://www.boost.org/libs/python/doc/v2/pickle.html)',)' The version of graph-tool is 2.25 Best regards, Boxi -- Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/