Fix a problem noted by Chris Hennes that MPI_INFO_SET would mistakenly
disallow setting long info values. This commit was SVN r11074.
Этот коммит содержится в:
родитель
3b17a9d5ee
Коммит
7784f1a818
2
NEWS
2
NEWS
@ -137,6 +137,8 @@ version 1.0.
|
|||||||
1.0.3
|
1.0.3
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Fix a problem noted by Chris Hennes where MPI_INFO_SET incorrectly
|
||||||
|
disallowed long values.
|
||||||
- Fix a problem in the launch system that could cause inconsistent
|
- Fix a problem in the launch system that could cause inconsistent
|
||||||
launch behavior, particularly when launching large jobs.
|
launch behavior, particularly when launching large jobs.
|
||||||
- Require that the openib BTL find <sysfs/libsysfs.h>. Thanks to Josh
|
- Require that the openib BTL find <sysfs/libsysfs.h>. Thanks to Josh
|
||||||
|
@ -86,7 +86,7 @@ int MPI_Info_set(MPI_Info info, char *key, char *value)
|
|||||||
|
|
||||||
value_length = (value) ? strlen (value) : 0;
|
value_length = (value) ? strlen (value) : 0;
|
||||||
if ((NULL == value) || (0 == value_length) ||
|
if ((NULL == value) || (0 == value_length) ||
|
||||||
(MPI_MAX_INFO_KEY <= value_length)) {
|
(MPI_MAX_INFO_VAL <= value_length)) {
|
||||||
return OMPI_ERRHANDLER_INVOKE (MPI_COMM_WORLD, MPI_ERR_INFO_VALUE,
|
return OMPI_ERRHANDLER_INVOKE (MPI_COMM_WORLD, MPI_ERR_INFO_VALUE,
|
||||||
FUNC_NAME);
|
FUNC_NAME);
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user