Hi, Am 15.10.2013 um 18:18 schrieb Joseph Farran:
> Reading the man page for checkpoint, There is also `man sge_ckpt` besides `man checkpoint`. > it sounds like "ckpt_command" & "migr_command" can > be called multiple times a) Yes, b) No. > and Grid Engine will not wait for the previous call to end before calling it > again? > So if GE calls ckpt_command and the previous ckpt_command has not yet exited, > will GE still make a > call to ckpt_command at specified time set by min_cpu_interval if checkpoint > m flag is set? a) Yes. b) But *not* for the migrate command (unless you use some tricky scripting). The migrate command is a child of the shepherd of the job, and only if this shepherd returns, the job will be rescheduled at all. It's also the duty of the script to kill all processes belonging to the job in question. > Am I understanding it correctly? > > Trying to figure out if I need to do file locking since I don't want two > "ckpt_command" processes running > at the same time. I would check if the old one finished already, and if not return instantly. > Is "clean_command" called only once? Yes, there are also these two Howtos: http://arc.liv.ac.uk/SGE/howto/checkpointing.html http://arc.liv.ac.uk/SGE/howto/APSTC-TB-2004-005.pdf (nice state diagrams) -- Reuti > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
