Hello,
The short answer is:
No.
The long answer is:
You could probably hack the mpirun source code to check the value given to
the "-np" option against the integer of your choice, and then either
terminate the program or reduce the number of processes. A disadvantage,
of course, is that this value is hard coded, not to mention that some
crafty individual could easily compile their own mpirun without the
limitation.
If what you really want is to limit the number of execution hosts, then
you should look into hacking lamboot or hboot, again with the same
limitation as above.
What you are really trying to do is called "resource management", for
which it is best to use a resource manager like PBS, Maui, or GridEngine.
On Fri, 21 Jan 2005, Siva Bandhamravuri wrote:
> Hi,
> Is there any way that I can restrict the number of LAM-MPI processes
> in a LAM environment.
>
> thanks
> Siva
>
>
>
------------------------------------------------------------
Anthony Ciani (aciani1_at_[hidden])
Computational Condensed Matter Physics
Department of Physics, University of Illinois, Chicago
http://ciani.phy.uic.edu/~tony
------------------------------------------------------------
|