[GE users] Restart job on suspend

Alexandre Barras Alexandre.Barras at cerfacs.fr
Wed Aug 11 08:48:53 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. ]

ok, it works now!
I have found something a "little" bit easy:

#!/bin/sh
. /usr/sge/default/common/settings.sh
qmod -rj $1   # for rescheduling

thank you very much for your help


Reuti wrote:

> 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
>
>
>

-- 
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	     Alexandre Barras - Computing Support Group
        CERFACS, 42 Av. Coriolis, F-31057 TOULOUSE Cedex 1, FRANCE
        Tel.: (+33) [0]5 61 19 30 75   Fax: (+33) [0]5 61 19 30 00

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




---------------------------------------------------------------------
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