Hi Warner. The simplest way would certainly be to launch your job with with the mpirun --nolocal option. If you're sure you want a hostfile-based way to set this, simply removing the headnode from the hostfile would also work.
-- --Kris 叶ってしまう夢は本当の夢と言えん。 [A dream that comes true can't really be called a dream.] Warner Yuen <wy...@apple.com> wrote > Date: Wed, 9 Jan 2008 12:50:09 -0800 > From: Warner Yuen <wy...@apple.com> > Subject: Re: [OMPI users] Open MPI v1.2.5 released > To: us...@open-mpi.org > Message-ID: <c524e178-912c-461b-a864-19454c31e...@apple.com> > Content-Type: text/plain; charset="us-ascii" > > Thanks to Brian Barrett, I was able to get through some ugly Intel > compiler bugs during the configure script. I now have OMPI v1.2.5 > running nicely under Mac OSX v10.5 Leopard! > > However, I have a question about hostfiles. I would like to manually > launch MPI jobs from my headnode, but I don't want the jobs to run on > the head node. In LAM/MPI I could add a "hostname schedule=no" to the > hostfile, is there an equivalent in OpenMPI? I'm sure this has come up > before, but I couldn't find an answer in the archives. > > Thanks, > > -Warner > > Warner Yuen > Scientific Computing Consultant > Apple Computer > email: wy...@apple.com > Tel: 408.718.2859 > Fax: 408.715.0133