Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] cat: /tmp/174.1.all.q/machines: No such file or directory
From: Reuti (reuti_at_[hidden])
Date: 2008-06-27 14:19:44


Am 27.06.2008 um 20:00 schrieb Azhar Ali Shah:

> Using openmpi-1.2.6 with SGE 6.1u3 when I submit a job script
> containing:
> mpirun -n $NSLOTS -machinefile $TMPDIR/machines ~/openmpi_test
> it produces following error in the output file:
> cat: /tmp/174.1.all.q/machines: No such file or directory
> ----------------------------------------------------------------------
> ----
> Open RTE was unable to open the hostfile:
> /tmp/174.1.all.q/machines
> Check to make sure the path and filename are correct.
> ----------------------------------------------------------------------
> ----
> [comp5...] [0,0,0] ORTE_ERROR_LOG: Not found in file rmgr_urm.c at
> line 358
> [comp5....] mpirun: spawn failed with errno=-13

the file $TMPDIR/machines will be created from the script defined in
start_proc_args in your PE in SGE. But for Open MPI you don't need a
special procedure for start/stop_proc_args at all (hence the file
will never be written). But you can run the application with just:

mpirun -n $NSLOTS ~/openmpi_test

and the to be used machines should be detected by Open MPI on its own.

-- Reuti