[torqueusers] Environmental variable within the qsub submission

Claude DEROGNAT cderognat at aria.fr
Wed Jun 16 12:34:53 MDT 2010



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 ?




Ing. Claude DEROGNAT, PhD
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 <mailto:cderognat at aria.fr>  - http : www.aria.fr 

P 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!


De : torqueusers-bounces at supercluster.org [mailto:torqueusers-bounces at supercluster.org] De la part de Christopher Samuel
Envoyé : jeudi 6 mai 2010 20:46
À : torqueusers at supercluster.org
Objet : Re: [torqueusers] mpirun doesn't take into accountthe qsub argument.


On 06/05/10 14:39, Claude DEROGNAT wrote:

> This the correct option for Open-MPI,  It works perfectly


> Thank you very much for your help �

Not a problem, glad it was that easy! ;-)

  Christopher Samuel - Senior Systems Administrator
  VLSCI - Victorian Life Sciences Computational Initiative
  Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20100616/d4415a0e/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .bashrc
Type: application/octet-stream
Size: 3902 bytes
Desc: .bashrc
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20100616/d4415a0e/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script-essai
Type: application/octet-stream
Size: 220 bytes
Desc: script-essai
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20100616/d4415a0e/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script-essai.o56
Type: application/octet-stream
Size: 1227 bytes
Desc: script-essai.o56
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20100616/d4415a0e/attachment-0002.obj 

More information about the torqueusers mailing list