Hi,

Am 24.09.2012 um 16:51 schrieb Güllmar, Daniel:

> does anybody know how I can modify the SGE_STDOUT_PATH and SGE_STDERR_PATH 
> using a central function (e.g. within prolog) ...

you can set them by the "-o"/"-e" option to `qsub`, also in the global 
$SGE_ROOT/default/common/sge_request to define it once for all users.

These options accept both: a filename (incl. path) or only the path to a 
directory while keeping the original name.

Have a look at `man qsub` for the pseudo variables you can use with these 
options like $USER; note that you can't use any standard environment variables.


> My motivation for this request is to have all stderr /stdout stuff per User 
> on a central share ( e.g. /data/gridenginelogs/$username/.... )
> 
> Can somebody help me with a solution?
> 
> Just using export or setenv in prolog-script doesn't work.

Correct. Nothing is inherited from the prolog to the executing job script.

-- Reuti


> Regards,
> Daniel
> 
> Universitätsklinikum Jena - Bachstrasse 18 - D-07743 Jena
> Die gesetzlichen Pflichtangaben finden Sie unter 
> http://www.uniklinikum-jena.de/Pflichtangaben.html
> 
> _______________________________________________
> 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