Reuti <[email protected]> writes:

> You could use thr -V option to `qsub` to export the complete
> environment. But sometimes this leads to strange results to export all
> and everything, if you set something in the interactive shell and jobs
> fail because of this.

You could also use -v with just the relevant variables in sge_request,
or even add them with a JSV.

The qrsh behaviour is consistent with ssh, which doesn't pass them by
default.

>> By the way, if anyone sees "export: command not found" in their STDERR, try 
>> using -S /path/to/shell for qsub when submitting jobs.
>
> It looks like the default shell is /bin/csh in the queue definition in
> your case. You can adjust this to reflect the shell used most often.

[And/or change shell_start_mode and add the right #!... to jobs
scripts.]

Note that there's no LC_CTYPE handling in grid engine itself, which may
matter in some circumstances, like XML output.

-- 
Community Grid Engine:  http://arc.liv.ac.uk/SGE/
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to