Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] orte_odls_base_default_launch_local()
From: Eugene Loh (eugene.loh_at_[hidden])
Date: 2011-07-12 17:35:02

The function orte_odls_base_default_launch_local() has a variable
num_procs_alive that is basically initialized like this:

     if ( oversubscribed ) {
     } else {
         num_procs_alive = ...;

Specifically, if the "oversubscribed" test passes, the variable is not

(Strictly speaking, this is true only in v1.5. In the trunk, the
variable is set to 0 when it is declared, but I'm not sure that's very

I'm inclined to move the num_procs_alive computation ahead of the "if"
block so that this computation is always performed.

Sanity check?