Hi,

I'm using Rocks 5.4.3 with SGE 6.1 I installed
a new version of openMPI 1.6.5 when I run
a script using SGE+openMPI (1.6.5) in a single node
I don't have any problems but when I try to use more nodes
I get this error:


A hostfile was provided that contains at least one node not
present in the allocation:

  hostfile:  /tmp/21202.1.parallel.q/machines
  node:      compute-2-4

If you are operating in a resource-managed environment, then only
nodes that are in the allocation can be used in the hostfile. You
may find relative node syntax to be a useful alternative to
specifying absolute node names see the orte_hosts man page for
further information.
--------------------------------------------------------------------------
rm: cannot remove `/tmp/21202.1.parallel.q/rsh': No such file or directory
--------------------------------------------------------------------------


I send also my SGE script:

#!/bin/bash
#$ -S /bin/bash
#$ -pe mpi 64
#$ -cwd
#$ -o ./file.out
#$ -e ./file.err

export LD_LIBRARY_PATH=/home/SWcbbc/openmpi-1.6.5/lib:$LD_LIBRARY_PATH
export OMP_NUM_THREADS=1

CPMD_PATH=/home/tanzi/myroot/X86_66intel-mpi/
PP_PATH=/home/tanzi

/home/SWcbbc/openmpi-1.6.5/bin/mpirun -np 64 -machinefile 
$TMPDIR/machines  
${CPMD_PATH}cpmd.x  input ${PP_PATH}/PP/ > out


I don't understand my mistake

Regards D.

Reply via email to