[torqueusers] Environmental variable within the qsub submission

Philippe Weill Philippe.Weill at aero.jussieu.fr
Thu Jun 17 01:39:09 MDT 2010


Le 16/06/2010 20:34, Claude DEROGNAT a écrit :
> Hello,
>
>
>
> Torque and mpirun work correctly but We have got a another problem now:
>
> Our server run under bash SHELL. We add in the the .bashrc with several environmental variables.
>
> After the reload of the .bashrc file (source .bashrc), they are all implemented but not under a qsub.
>
> A attached you our script submitted to torque through qsub , the result and out .bashrc.
>
> The "env" edition shows us a strange behavior for PATH as exemple:
>
> The PATH specified in the .bashrc is affected to the PATH_O_PBS but the standard PATH is only set to /bin and /usr/bin
>
>
>
> Any idea ?
>

I think the answer is in the beginning your .bashrc with comments ;-)

# If not running interactively, don't do anything
[ -z "$PS1" ] && return







More information about the torqueusers mailing list