--
You received this message because you are subscribed to the Google Groups "networkx-discuss" group.
To post to this group, send email to networkx...@googlegroups.com.
To unsubscribe from this group, send email to networkx-discu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/networkx-discuss?hl=en.
You can find Ben's example for computing betweenness centrality in parallel at:
https://networkx.lanl.gov/trac/ticket/594
On the other hand I've used parallel python
(http://www.parallelpython.com/) to parallelize the computation of
null models. You can also find an example at:
https://networkx.lanl.gov/trac/ticket/593
It is not a parallel version of an algorithm already implemented, but
the parallelization of the same computation applied to slightly
different inputs (random networks). So it is not exactly what you want
but maybe you can adapt the code to suit your needs.
Hope that helps.
Salut!
2011/9/3 Tim Howard <tgho...@gmail.com>:
I'm not sure, but I think that you will have to duplicate the network
in memory in order to do parallel computations. Maybe someone on the
list with a better knowledge of python implementations for parallel
computing (multiprocessing module and parallel python) could add more
information.
Salut!
Jordi
2011/9/5 Tim Howard <tgho...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "networkx-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/networkx-discuss/-/dRM755PZaj0J.
--
You received this message because you are subscribed to the Google Groups "networkx-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/networkx-discuss/-/tXzsl4Qcdo0J.
Exception in thread Thread-2:
Traceback (most recent call last):
File "/n/sw/python-3.2/lib/python3.2/threading.py", line 736, in _bootstrap_inner
self.run()
File "/n/sw/python-3.2/lib/python3.2/threading.py", line 689, in run
self._target(*self._args, **self._kwargs)
File "/n/sw/python-3.2/lib/python3.2/multiprocessing/pool.py", line 338, in _handle_tasks
put(task)
_pickle.PicklingError: Can't pickle <class 'function'>: attribute lookup builtins.function failed