It always helps to initialize a variable before you try to use it
(vs. only initializing it in some cases). This commit was SVN r19796.
Этот коммит содержится в:
родитель
d96b78fee1
Коммит
ae34fd150a
@ -2037,8 +2037,8 @@ btl_openib_component_init(int *num_btl_modules,
|
|||||||
Right now, ptmalloc2 is the only memory manager that we have on
|
Right now, ptmalloc2 is the only memory manager that we have on
|
||||||
OS's that support OpenFabrics that provide both FREE and MUNMAP
|
OS's that support OpenFabrics that provide both FREE and MUNMAP
|
||||||
support, so the following test is [currently] good enough... */
|
support, so the following test is [currently] good enough... */
|
||||||
#if !OMPI_HAVE_THREADS
|
|
||||||
value = opal_mem_hooks_support_level();
|
value = opal_mem_hooks_support_level();
|
||||||
|
#if !OMPI_HAVE_THREADS
|
||||||
if ((OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT) ==
|
if ((OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT) ==
|
||||||
((OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT) & value)) {
|
((OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT) & value)) {
|
||||||
orte_show_help("help-mpi-btl-openib.txt",
|
orte_show_help("help-mpi-btl-openib.txt",
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user