re-send

---------- Forwarded message ---------
From: lpanl . <lpan...@gmail.com>
Date: Tue, May 26, 2020 at 10:57 AM
Subject: error running your python example
To: <dmtcp-forum@lists.sourceforge.net>


Hi,

I am trying to run your python example under
dmtcp/contrib/python/hookexample.py
but I saw the following error. I made sure that
I have write/read permission under /tmp/
I even tried using python 2.7 to make sure
that your python programs were written assuming
python 3.

So I cannot think of any other things to try.
Is it because I did not configure anything related to
runtime environment properly? Or you have a version
of dmtcp in which you fixed this error? Please help me!
Thank you very much!
-Lei

-------------------------------------------------------------------
(base) [leipan@higgs python]$ dmtcp_launch ~/anaconda3/bin/python
hookexample.py
1
Calling my_ckpt()
About to checkpoint.
Checkpoint done.
The process is resuming from a checkpoint.
12
(base) [leipan@higgs python]$ sh dmtcp_restart_script.sh
[71267] mtcp_restart.c:404 restore_brk:
  error: new/current break (0x60e000) != saved break (0x55b149349000)
[40000] NOTE at processinfo.cpp:502 in restoreHeap; REASON='Failed to
restore area between saved_break and curr_break.'
     _savedBrk = 94219925753856
     curBrk = 6348800
     (strerror((*__errno_location ()))) = Cannot allocate memory
[40000] WARNING at fileconnlist.cpp:321 in resume;
REASON='JWARNING(unlink(missingUnlinkedShmFiles[i].name) != -1) failed'
     missingUnlinkedShmFiles[i].name = /tmp/ffiLsXq8v
     (strerror((*__errno_location ()))) = No such file or directory
Message: The file was unlinked at the time of checkpoint. Unlinking it
after restart failed
[40000] WARNING at fileconnlist.cpp:321 in resume;
REASON='JWARNING(unlink(missingUnlinkedShmFiles[i].name) != -1) failed'
     missingUnlinkedShmFiles[i].name = /tmp/ffiLsXq8v
     (strerror((*__errno_location ()))) = No such file or directory
Message: The file was unlinked at the time of checkpoint. Unlinking it
after restart failed
Checkpoint done.
The process is restarting from a previous checkpoint.
12
(base) [leipan@higgs python]$
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to