Fix warnings about setting read-only MCA parameters on bproc systems.
This commit was SVN r9057.
Этот коммит содержится в:
родитель
018a4b98ff
Коммит
b8ae4060b2
1
NEWS
1
NEWS
@ -32,6 +32,7 @@ version 1.0.
|
||||
1.0.2
|
||||
-----
|
||||
|
||||
- Fix warnings about setting read-only MCA parameters on bproc systems.
|
||||
- Change the exit status set by mpirun when an application process is
|
||||
killed by a signal. The exit status is now set to signo + 128, which
|
||||
conforms with the behavior of (almost) all shells.
|
||||
|
@ -664,6 +664,11 @@ int mca_base_param_build_env(char ***env, int *num_env, bool internal)
|
||||
len = opal_value_array_get_size(&mca_base_params);
|
||||
array = OPAL_VALUE_ARRAY_GET_BASE(&mca_base_params, mca_base_param_t);
|
||||
for (i = 0; i < len; ++i) {
|
||||
/* Don't output read-only values */
|
||||
if (array[i].mbp_read_only) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (array[i].mbp_internal == internal || internal) {
|
||||
if (param_lookup(i, &storage, NULL)) {
|
||||
if (MCA_BASE_PARAM_TYPE_INT == array[i].mbp_type) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user