1
1
openmpi/orte/tools
Jeff Squyres 32e71e5c6c Fix a problem where orterun itself would not receive MCA parameters
that were set on the command line.  This was techinically exactly the
way the code was designed, but it certainly violated the Law of Least
Astonishment (even to its designer ;-) ).  So now if you execute
something like this:

   mpirun -mca pls_rsh_debug 1 -np 4 hello

You'll see debugging output from the rsh pls component, as you would
expect (this was not previously the case -- the MCA pls_rsh_debug
parame would be set to 1 in the 4 spawned hello processes, but *not*
in the orterun process).

More specifically, MCA parameters will be set in the orterun process
in the following cases:

- The new command line switch "--gmca" (or "-gmca") is used,
  indicating that the MCA parameter is "global".  --gmca also means
  that that MCA parameter will be applied to all context app's.  For
  example:

      mpirun -gmca foo bar -np 1 hello : -np 2 goodbye

  The foo MCA param will be set in both the hello and goodbye
  processes.

- If there is only one context app.  For example:

      mpirun -mca pls_rsh_debug 1 -np 4 hello

  will set pls_rsh_debug to 1 in both the orterun process and the 4
  spawned hello processes.

Also added a few more comments inside orterun to document a somewhat
confusing use of a state variable in a recursive case.

This commit was SVN r6764.
2005-08-08 16:42:28 +00:00
..
console Properly set the MCA parameter to indicate these functions are infrastructure so that the singleton flag does not get set. 2005-08-07 04:17:10 +00:00
openmpi * rename orte_os_create_dirpath to opal_os_create_dirpath 2005-07-04 01:59:52 +00:00
orted Properly set the MCA parameter to indicate these functions are infrastructure so that the singleton flag does not get set. 2005-08-07 04:17:10 +00:00
orteprobe Added missing help file. 2005-08-04 17:40:22 +00:00
orterun Fix a problem where orterun itself would not receive MCA parameters 2005-08-08 16:42:28 +00:00
Makefile.am First cut of OMPI Makefile.am's, plus a few more catchup updates in orte 2005-07-02 15:06:47 +00:00