Rainer --

Can you update the top-level README as appropriate, too? There's a section about ob1 vs. cm priority, etc.

Thanks!


On Aug 18, 2009, at 3:12 PM, <rusra...@osl.iu.edu> <rusra...@osl.iu.edu> wrote:

Author: rusraink
Date: 2009-08-18 15:12:43 EDT (Tue, 18 Aug 2009)
New Revision: 21834
URL: https://svn.open-mpi.org/trac/ompi/changeset/21834

Log:
 - As described in RFC,
   http://www.open-mpi.org/community/lists/devel/2009/08/6618.php
   lower the default priority of PML/cm to allow _defined_ behaviour
for systems, where both MTLs and BTLs are available (Portals and MX).

   Keep the previous behaviour of favoring in case of PSM.
   Still, the user may select --mca pml cm for apps where applicable.


Text files modified:
   trunk/ompi/mca/pml/cm/pml_cm_component.c |    15 ++++++++-------
   1 files changed, 8 insertions(+), 7 deletions(-)

Modified: trunk/ompi/mca/pml/cm/pml_cm_component.c
= = = = = = = = ======================================================================
--- trunk/ompi/mca/pml/cm/pml_cm_component.c    (original)
+++ trunk/ompi/mca/pml/cm/pml_cm_component.c 2009-08-18 15:12:43 EDT (Tue, 18 Aug 2009)
@@ -106,7 +106,7 @@
                            "CM PML selection priority",
                            false,
                            false,
-                           30,
+                           10,
                            &ompi_pml_cm.default_priority);

     return OMPI_SUCCESS;
@@ -139,12 +139,13 @@
     if (OMPI_SUCCESS != ret) {
         *priority = -1;
         return NULL;
- } else if(strcmp(ompi_mtl_base_selected_component- >mtl_version.mca_component_name, "psm") != 0) { - /* if mtl is not PSM then back down priority, and require the user to */ - /* specify pml cm directly if that is what they want priority */ - /* of 1 is sufficient in that case as it is the only pml that */
-        /*  will be considered */
-        *priority = 1;
+ } else if(strcmp(ompi_mtl_base_selected_component- >mtl_version.mca_component_name, "psm") == 0) {
+        /*
+         * If MTL is PSM then up our priority
+ * For every other communication layer having MTLs and BTLs, the user/admin + * may still select PML/ob1 (BTLs) or PML/cm (MTLs) if preferable for the app/site.
+         */
+        *priority = 30;
     }


_______________________________________________
svn-full mailing list
svn-f...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/svn-full



--
Jeff Squyres
jsquy...@cisco.com

Reply via email to