[torqueusers] Environmental variable within the qsub submission

Claude DEROGNAT cderognat at aria.fr
Thu Jun 17 08:42:13 MDT 2010


Houps ... thanks.

Regards,

Ing. Claude DEROGNAT, PhD
ARIA TECHNOLOGIES SA
8-10, rue de la Ferme - 92100  Boulogne-Billancourt  - France
tél. / phone: 33 (0)1 46 08 68 60
ligne directe / direct line: 33 (0)1 46 08 68 65
fax: 33 (0)1 41 41 93 17
e-mail: cderognat at aria.fr - http : www.aria.fr 
 Avant d'imprimer ce courriel, réfléchissez à l'impact sur l'environnement, et dans la mesure du possible éditez les documents en recto verso, merci!


-----Message d'origine-----
De : Philippe Weill [mailto:Philippe.Weill at aero.jussieu.fr] 
Envoyé : jeudi 17 juin 2010 09:39
À : Torque Users Mailing List
Cc : Claude DEROGNAT
Objet : Re: [torqueusers] Environmental variable within the qsub submission

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