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.
[A dream that comes true can't really be called a dream.]
Warner Yuen <wyuen_at_[hidden]> wrote
> Date: Wed, 9 Jan 2008 12:50:09 -0800
> From: Warner Yuen <wyuen_at_[hidden]>
> Subject: Re: [OMPI users] Open MPI v1.2.5 released
> To: users_at_[hidden]
> Message-ID: <C524E178-912C-461B-A864-19454C31EBC3_at_[hidden]>
> 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.
> Warner Yuen
> Scientific Computing Consultant
> Apple Computer
> email: wyuen_at_[hidden]
> Tel: 408.718.2859
> Fax: 408.715.0133