[GE users] Restart job on suspend

Reuti reuti at staff.uni-marburg.de
Tue Aug 10 15:55:58 BST 2004


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Alexandre Barras wrote:

> In fact, my jobs doesn't stop at all when I suspend them (with or 
> without suspension method)
> They go on running
>
> It seems to be the issue ...


But anyway: I just tried it, and it's working.

- your suspend script must be executable
- your nodes must be also submit hosts
- it may be, that you have to source the settings.sh

suspend_method       /home/reuti/mysuspend.sh $job_id

#!/bin/sh
. /usr/sge/default/common/settings.sh
qresub $1
qdel $1


Cheers - Reuti


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list