Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #99334

Multiprocessing PyPy-CPython

X-Received by 10.140.156.71 with SMTP id c68mr28875315qhc.3.1448373854665; Tue, 24 Nov 2015 06:04:14 -0800 (PST)
X-Received by 10.50.79.233 with SMTP id m9mr146594igx.8.1448373854591; Tue, 24 Nov 2015 06:04:14 -0800 (PST)
Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!enother.net!enother.net!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!f78no2004922qge.1!news-out.google.com!l1ni7483igd.0!nntp.google.com!mv3no2139338igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Tue, 24 Nov 2015 06:04:14 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=108.48.145.57; posting-account=Aj9uXAoAAAA0nMb_ZmsN7l2jO5N9nwiY
NNTP-Posting-Host 108.48.145.57
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <a2205fed-2a08-41f0-bfca-85811b65d569@googlegroups.com> (permalink)
Subject Multiprocessing PyPy-CPython
From LJ <luisjosenovoa@gmail.com>
Injection-Date Tue, 24 Nov 2015 14:04:14 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Received-Bytes 1579
X-Received-Body-CRC 1643218274
Xref csiph.com comp.lang.python:99334

Show key headers only | View raw


Hi everyone.

Im trying to solve some problems in parallel using the multiprocessing module in Python 2.7. A general model is built using CPython and then the subproblems are solved in parallel returning results in a queue. This is currently working fine. I would like to solve the subproblems using PyPy to increase speed.
I found http://project-trains.tumblr.com/post/102076598295/multiprocessing-pypy , but there it says that the procedure only works with CPython 3.4.

I wonder is there is any clean direct way to do this.

Appreciate any help.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Multiprocessing PyPy-CPython LJ <luisjosenovoa@gmail.com> - 2015-11-24 06:04 -0800

csiph-web