Not sure about the answer to this specifically but just to warn you of
another env thing that might trip you up: SGE doesn't like multi-line
env variables (like bash functions).  It his us because we use
environment-modules.

On Wed, Oct 5, 2011 at 12:28 PM, Ed Spittles <[email protected]> wrote:
> Hello
>   we find that environment variables with values longer than 10000
> characters are truncated - we're using qsub with -V.   Is there a
> configuration parameter we can set to change this?   We're running a 32-bit
> SGE 6.2u5 on CentOS 5, and the jobs run in bash.
>
>   (Normally I prefer to keep the environment small, but this has come up as
> various scripts were put together in novel ways.)
>
>   Here's an example in bash:
> $ x=`printf %10000s x`
> $ printenv x | wc -c
>   10001
> $ echo 'printenv x | wc -c > outfile.txt' | qsub -V -sync y
> $ cat outfile.txt
> 9998
>
> Cheers
> Ed
>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
>
>



-- 
Stephen

http://lensframephoto.com

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to