you can try using execnet?
On Tue, Nov 24, 2015 at 10:35 PM, Luis José Novoa <luisjoseno...@gmail.com> wrote: > Hi Maciej, > > Thanks for your reply. The problem is that Im using gurobipy (for the > interaction with the mathematical programming solver Gurobi) to solve a > master problem and then using the output to solve the subproblems. Now, > gurobipy is not compatible wiith PyPy. > > > On Tue, Nov 24, 2015 at 3:23 PM, Maciej Fijalkowski <fij...@gmail.com> > wrote: >> >> Hi Luis. >> >> Multiprocessing works under pypy, so just run your program under pypy >> with no changes and see what happens >> >> On Tue, Nov 24, 2015 at 7:30 PM, Luis José Novoa >> <luisjoseno...@gmail.com> wrote: >> > 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. >> > >> > -- >> > Luis J. Novoa >> > >> > _______________________________________________ >> > pypy-dev mailing list >> > pypy-dev@python.org >> > https://mail.python.org/mailman/listinfo/pypy-dev >> > > > > > > -- > Luis J. Novoa _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev