I couldn't figure out what antonio cuni was trying to do with the dmtcp
python api here:
https://bitbucket.org/antocuni/misc/src/73621b70935f/hack/checkpointing/dmtcp_sum.py

anyways,
Running the pypy interpreter in dmtcp seems to work out of the box.
This works even with the sandboxed interpreter.
I did:
1. translate the sandbox using instructions here:
http://doc.pypy.org/en/latest/sandbox.html
2. mv pypy-c ~/bin/pypy/bin/pypy-c-sandbox
bash1> dmtcp_coordinator
bash2> dmtcp_checkpoint python pypy_interact.py --tmp=myexported
~/bin/pypy/bin/pypy-c-sandbox

bash1> c<enter>  # save checkpoint
bash2> <ctrl>-c  # crash pypy sandbox
bash2> dmtcp_restart_script.sh   # revive pypy sandbox
:) profit
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to