[gridengine users] FW: How to edit batch file of running job
rayrayson at gmail.com
Mon May 30 05:18:41 UTC 2011
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.
On Mon, May 30, 2011 at 1:02 AM, Beadles, Jeff <jeff_beadles at mentor.com> wrote:
> From: users-bounces at gridengine.org [users-bounces at gridengine.org] on behalf of Rayson Ho [rayrayson at gmail.com]
> Sent: Sunday, May 29, 2011 8:57 PM
> To: Sangmin Park
> Cc: users at gridengine.org
> Subject: Re: [gridengine users] How to edit batch file of running job
> On Sun, May 29, 2011 at 9:36 PM, Sangmin Park <dorimosiada at gmail.com> 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
> ... 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.
> users mailing list
> users at gridengine.org
More information about the users