Ok, I make change, but still have sometime 2 nodes instead 4.

If i run a simple script mpihello.pbs, my job run over the 4 nodes.

However, I meet always trouble with our Ocean Model. Even if i keep same PBS variable like test program Mpihello, my job run over 2 nodes instead 4. By hand, lamboot, mpirun, lamhalt, all nodes compute.

Can you tell me about this :

pbs_script include 2 lines : echo My hostname is : $HOSTNAME and echo My environnement: /usr/bin/env
If i qsub my_env.pbs, result is : node3.cluster.ird.nc !!
Why not my hostname "editr.cluster.ird.nc"


This is important to know how to modify this PBS variable, because i.e. if i edit a more complex PBS script, which make file transfert (like CP, MV, RM ...) before to execute the job, and files location is a NFS partition mounted on HOSTNAME = "editr.cluster.ird.nc", then these files are not found. Because after PBS evocation, HOSTNAME is "node3.cluster.ird.nc"

???

Many thanks !!

MY_ENV :
------------------------------------------------------------------------
My hostname is node3.cluster.ird.nc
My environnement:
MODULE_VERSION_STACK=3.1.6
MANPATH=/opt/intel_fc_80/man:/opt/lam-7.0-ifort/man:/opt/modules/default/man:/opt/pvm3/man:/opt/env-switcher/man
HOSTNAME=node3.cluster.ird.nc
_MODULESBEGINENV_=/home/umr65/.modulesbeginenv
PVM_RSH=ssh
SHELL=/bin/bash
HISTSIZE=1000
PBS_JOBNAME=my_env.pbs
PBS_ENVIRONMENT=PBS_BATCH
MODULE_SHELL=sh
PBS_O_WORKDIR=/home/umr65/tmp
USER=umr65
PBS_TASKNUM=1
MODULE_OSCAR_USER=umr65
LS_COLORS=
LD_LIBRARY_PATH=/opt/intel_fc_80/lib
PBS_O_HOME=/home/umr65
ENV=/home/umr65/.bashrc
PVM_ROOT=/opt/pvm3
PBS_MOMPORT=15003
PVM_ARCH=LINUX
PBS_O_QUEUE=workq
PATH=/opt/intel_fc_80/bin:/opt/lam-7.0-ifort/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/pvm3/lib:/opt/pvm3/lib/LINUX:/opt/pvm3/bin/LINUX:/opt/env-switcher/bin:/opt/pbs/bin:/opt/pbs/lib/xpbs/bin:/home/umr65/bin
PBS_O_LOGNAME=umr65
MAIL=/var/spool/mail/umr65
MODULE_VERSION=3.1.6
PBS_O_LANG=fr_FR.UTF-8
PBS_JOBCOOKIE=14703647226541987950E349850D8A14
PWD=/home/umr65
INPUTRC=/etc/inputrc
_LMFILES_=/opt/modules/oscar-modulefiles/pvm/3.4.4+11:/opt/env-switcher/share/env-switcher/mpi/lam-oscar-7.0-ifort:/opt/modules/oscar-modulefiles/switcher/1.0.13:/opt/modules/modulefiles/oscar-modules/1.0.5
LANG=C
PBS_NODENUM=0
MODULEPATH=/opt/env-switcher/share/env-switcher:/opt/modules/oscar-modulefiles:/opt/modules/version:/opt/modules/$MODULE_VERSION/modulefiles:/opt/modules/modulefiles:
LOADEDMODULES=pvm/3.4.4+11:mpi/lam-oscar-7.0-ifort:switcher/1.0.13:oscar-modules/1.0.5
PBS_O_SHELL=/bin/bash
PBS_JOBID=174.editr.cluster.ird.nc
ENVIRONMENT=BATCH
HOME=/home/umr65
SHLVL=2
PBS_O_HOST=editr.cluster.ird.nc
LOGNAME=umr65
PBS_QUEUE=workq
MODULESHOME=/opt/modules/3.1.6
PBS_O_MAIL=/var/spool/mail/root
LESSOPEN=|/usr/bin/lesspipe.sh %s
PBS_NODEFILE=/var/spool/pbs/aux/174.editr.cluster.ird.nc
G_BROKEN_FILENAMES=1
PBS_O_PATH=/opt/intel_fc_80/bin:/opt/intel_fc_80/bin:/opt/intel_fc_80/bin:/opt/intel_fc_80/bin:/opt/intel_fc_80/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/opt/lam-7.0-ifort/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/kernel_picker/bin:/opt/pvm3/lib:/opt/pvm3/lib/LINUX:/opt/pvm3/bin/LINUX:/opt/env-switcher/bin:/opt/c3-4/:/opt/pbs/bin:/opt/pbs/lib/xpbs/bin:/root/bin
_=/usr/bin/env






------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Oscar-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to