Hi, thanks Reuti.

I just want to log job stdout / stderr to some nice job related directories, which I cannot create in prior as I have noNFS on the target machine.

I'll study the JSV.

Thanks!
-Igor


On 02/23/2017 02:25 PM, Reuti wrote:
Hi,

Am 23.02.2017 um 13:55 schrieb Szoke Igor <i...@darkfuture.cz>:

Hi,

I'm running SGE in noNFS mode.
There is obvious problem, that if I submit a job with -e -o pointing to a 
directory, which does not exists, the job fails (Error state).
This will happen in NFS mode too.

So there is also no NFS for the home directories of the user on the nodes? 
Whereto should the stdout/stderr be written then?


I have tried to use prolog, but the result is the same. (it make sense 
according to the documentation)

I'm using a /tmp/ direcotry now, but I would like to use some other one 
directory (depending on job name etc... ).
But it should still be local on the node only?

Essentially this would mean to have one directory per job (unless jobs have the same 
name). The default consisting of the job name and the job number is not sufficient? There 
are some pseudo variables to assemble the proper name on your own at runtime (see `man 
qsub` for the "-e" option).


Is that a way how to:
1] make a -o -e directory for logging prior to SGE tries to make a file there?
2] force SGE to create the directory if it does not exists? (which is an 
interesting feature in my opinion)

(I do not want 2 jobs solution, where I submit 1. job making these directories 
and then submit 2. one with -e -o to these directories).
Depending on the actual need, I could think of putting this logic in an JSV, which will create the 
directory during job submission by reading the the "-e"/"-o" options. Sure, if 
the user deletes the directory before the job starts you are out of luck with this approach.

-- Reuti


Thanks!

-Igor
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to