4faa486ee5
resolution is now (effectively): - read from MPI keyval (if associated) - read from command line - read from environment - read from file More capabilities will be added shortly for developers to programatically set MCA parameter values - Create [empty but commented] system-wide MCA param file that gets installed at $sysconf/openmpi-mca-params.conf (i.e., $prefix/etc/openmpi-mca-params.conf) - The following files are opened and read (in order): 1. $sysconf/openmpi-mca-params.conf 2. $HOME/.openmpi/mca-params.conf Specifically, the values in 2) will override the values in 1) (so users can override system-wide defaults. - Update MCA string params to allow for "~/" in the middle to be expanded to the user's home directory. - Added to default value of MCA parameter component_path to be: $pkglibdir:$HOME/.openmpi/components $pkglibdir is typically $prefix/lib/openmpi. So now both of these directories will be searched for components at run time (in all Open MPI executables, including ompi_info). Note that this is an MCA parameter, so it, too, can be changed at run-time. - Updated all docs to match this behavior -- some is \internal, so it doesn't show unless you tell doxygen to generate internal docs (which is not the default) - update ompi_info to handle new behavior; ompi_info --param now shows the *current* default value (i.e., it will look in the environment and/or files to find out what the default values are -- so if you change a value in $HOME/.openmpi/mca-params.conf, it should be reflected in "ompi_info --param all all") - updated bunches of doxygen docs to match - this diff is slightly artifically large -- some of the changes are converstions to 4 space tabs (I re-indented my own code that previously used 2 space tabs) This commit was SVN r2408.
28 строки
1.0 KiB
Plaintext
28 строки
1.0 KiB
Plaintext
#
|
|
# $HEADER$
|
|
#
|
|
|
|
# This is the system-wide MCA parameters defaults file. It is
|
|
# typically installed in $sysconf/openmpi-mca-params.txt. This file
|
|
# can be used to set system-wide default MCA parameters for all users.
|
|
# Of course, users can override these values if they want, but this
|
|
# file is an excellent location for setting system-specific MCA
|
|
# parameters for those users who don't know / care enough to
|
|
# investigate the proper values for them.
|
|
|
|
# The format is straightforward: one per line, mca_param_name =
|
|
# rvalue. Quoting is ignored (so if you use quotes or escape
|
|
# characters, they'll be included as part of the value). For example:
|
|
|
|
# Disable run-time MPI parameter checking
|
|
# mpi_param_check = 0
|
|
|
|
# Note that the value "~/" will be expanded to the current user's home
|
|
# directory. For example:
|
|
|
|
# Change component loading path
|
|
# component_path = /usr/local/lib/openmpi:~/my_openmpi_components
|
|
|
|
# See "ompi_info --param all all" for a full listing of Open MPI MCA
|
|
# parameters available and their default values.
|