Am 14.12.2011 um 09:17 schrieb William Hay: > 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
And it needs the proper permissons to write thereto. >> 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. The flag "-A <account>"is treated just like a comment. I use it to store information what type of job it was as it's preserved in the accounting file this way. It might vary in other installations of course. Maybe he is looking for something like "-u <user>" to `qsub`, to submit under another user's account. But this is not available. An option could be to use different groups and set the proper group before submitting the job. -- Reuti >> 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 > _______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users