forked from open-mpi/ompi
-
Notifications
You must be signed in to change notification settings - Fork 4
MCAParamLevels
Jeff Squyres edited this page Sep 2, 2014
·
3 revisions
The MCA parameter registration system accepts a "level" parameter; an enum ranging from OPAL_INFO_LVL_1 to OPAL_INFO_LVL_9. Note that these levels correspond to the MPI-3 MPI_T interface levels:
- OPAL_INFO_LVL_1: End user / basic
- OPAL_INFO_LVL_2: End user / detailed
- OPAL_INFO_LVL_3: End user / all
- OPAL_INFO_LVL_4: Application tuner / basic
- OPAL_INFO_LVL_5: Application tuner / detailed
- OPAL_INFO_LVL_6: Application tuner / all
- OPAL_INFO_LVL_7: MPI developer / basic
- OPAL_INFO_LVL_8: MPI developer / detailed
- OPAL_INFO_LVL_9: MPI developer / all
Here's some general guidelines for choosing which of the three main categories to use:
- End user: Generally, these are parameters that are required for correctness, meaning that someone may need to set these just to get their MPI application to run correctly. For example, BTL "if_include" and "if_exclude" parameters fit into this category. We should put as few parameters as possible in this category in an effort to stem the learning curve for newbies.
- Application tuner: Generally, these are parameters that can be used to tweak MPI application performance. This even includes parameters that control resource exhaustion levels (e.g., number of free list entries, size of buffers, etc.), and could be considered "correctness" parameters if they're set too low. But, really -- they're tuning parameters.
- MPI developer: Put parameters in this category that either don't fit in the other two, or are specifically intended for debugging / development of Open MPI itself.
For choosing the finer-grained "basic" / "detailed" / "all" sub-categories, this is mainly a judgement call. But here's a few guidelines:
- Basic: Use this sub-category for parameters that everyone in this category will want to see -- even less-advanced end users / application tuners / new OMPI developers.
- Detailed: Use this sub-category for parameters that are "useful, but you won't need to change them often."
- All: Use this sub-category for all other parameters. Such parameters are likely fairly esoteric.