I set prolog :
sge@/root/test/prolog.sh $job_name
user02 sumitted a job but setting prolog ran!
I expect  prolog script run for jobs of just " sge" user. why? I 'm wrong?

Thx

On Wed, Dec 14, 2011 at 11:47 AM, William Hay <w....@ucl.ac.uk> wrote:

> On 14 December 2011 07:50, mahbube rustaee <rust...@gmail.com> wrote:
> > Hi ,
> >
> > 1) By default prolog output  is output of user's job.
> > How  can I set other path/filename for prolog output?
> Well since your prolog appears to be shell.
> Add a line at the top of the script
> exec >/location/of/prolog/output
>
> >
> > 2) I set prolog :
> > /root/test/epilog.sh $job_name
> > I prefixed above with "sge@ ":
> > /root/test/epilog.sh "sge@ " $job_name  . any error doesn't occur.
> They syntax you want is more like
> sge@/root/test/epilog.sh $job_name
> >  after command "qacct  -A  sge" , accounting is empty!
> > what is missing?
> Why would you expect something there?   The accounting file records
> info against the user the job ran as not the prolog.
>
> >     How can I execute prolog script under sge username ?
> By prefixing the prolog script name with sge@ as above.
>
> William
> >
> > Thx
>
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to