Hello guys - hope everybody is safe and health during the days of COVID-19.  I 
have a case with a project running Monte Carlo simulations on standalone 
dedicated servers by launching a simulation panel consisting of four different 
displays to control the simulation.  We want to do a system checkpoint right 
before an event occurs on the simulation, about 20 minutes after it started.

I have found that DMTCP doesn't support X-apps by default 
(https://sourceforge.net/p/dmtcp/mailman/message/35038633/) and followed the 
example describing the use of XPRA servers to start the sim panel.  I have 
validated dmtcp_launch can run together with the sim as expected, delays and 
latency involved when interacting with the sim panel but assume due to the 
work-from-home involved challenges.

Terminal 1:
$ dmtcp_launch /usr/bin/dbus-launch /usr/bin/xpra --no-daemon --no-mdns 
--no-pulseaudio start :100 --start-child='./myProgram.exe MyInput.py'

Terminal 2:
$ xpra attach :100


Problem shows up when I detach from server (Terminal 2) to do the checkpoint 
then my sim crashes. Am I missing something in the middle or is there an easier 
way to deal with X-apps and DMTCP?

Again, your input and help is greatly appreciated!

Regards,
-Hugo




"Se seus esforços foram vistos com indeferença, não desanime que o sol faze um 
espectacolo maravilhoso todas as manhãs enquanto a maioria das pessoas ainda 
estão dormindo"

_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to