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 initialized.

(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 helpful.)

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

Sanity check?

Reply via email to