Hi Jeff,

Nice to see you on the list again!

I think in most cases, the script is mapped into memory, rather than
read by the interpreter a few bytes each time a statement executes, so
most likely changing the script has zero effect. But sometimes it can
cause the job to fail, it all depends on how it is submitted and how
the "shebangs" interpreter handles the script.

Rayson



On Mon, May 30, 2011 at 1:02 AM, Beadles, Jeff <[email protected]> wrote:
>
> From: [email protected] [[email protected]] on behalf 
> of Rayson Ho [[email protected]]
> Sent: Sunday, May 29, 2011 8:57 PM
> To: Sangmin Park
> Cc: [email protected]
> Subject: Re: [gridengine users] How to edit batch file of running job
>
> On Sun, May 29, 2011 at 9:36 PM, Sangmin Park <[email protected]> wrote:
>>> I have a question about job script file edition for running job now.
>>> If I want to edit batch file of running job in sge now, is there any method
>>> to do it?
>>
>>You can change the job script but it is not going to affect the job
>>that was submitted to SGE, as SGE has its own copy in the spool
>>directory.
>>
>>Rayson
>
> ... Unless it was submitted with "-b y", where it doesn't make a copy.
>
> Once the job has actually started running, in most cases it can't be changed.
> If it's a compiled scripting language like perl, for example it's parsed at 
> load time.
>
>  -Jeff
>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
>

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to