[mpich-discuss] How to find out maximum number of processes in mpiexec configuration

Yauheni Zelenko zelenko at cadence.com
Tue Jan 25 17:58:30 CST 2011


Hi!

Is there any way to find out how much MPI processes are allowed to run by current mpiexec configuration inside MPI application?

I want to replicate mpiexec default behavior (when -n is not specified and processes are started on all available hosts) with MPI_Comm_spawn() when only single process starts from mpiexec (-n 1) and all other processes will be spawned from it later.

Eugene.


More information about the mpich-discuss mailing list