Output *all* of the thread settings
This commit was SVN r27623.
Этот коммит содержится в:
родитель
43f883cb42
Коммит
e0ff5d9c05
@ -256,10 +256,14 @@ void ompi_info_do_config(bool want_all)
|
||||
}
|
||||
|
||||
if (OPAL_HAVE_SOLARIS_THREADS || OPAL_HAVE_POSIX_THREADS) { /* should just test OPAL_HAVE_THREADS */
|
||||
asprintf(&threads, "%s (MPI_THREAD_MULTIPLE: %s, progress: %s)", OPAL_HAVE_SOLARIS_THREADS ? "solaris" :
|
||||
asprintf(&threads, "%s (MPI_THREAD_MULTIPLE: %s, OPAL support: %s, OMPI progress: %s, ORTE progress: %s, Event lib: %s)",
|
||||
OPAL_HAVE_SOLARIS_THREADS ? "solaris" :
|
||||
(OPAL_HAVE_POSIX_THREADS ? "posix" : "type unknown"), /* "type unknown" can presumably never happen */
|
||||
OMPI_ENABLE_THREAD_MULTIPLE ? "yes" : "no",
|
||||
OMPI_ENABLE_PROGRESS_THREADS ? "yes" : "no");
|
||||
OPAL_ENABLE_MULTI_THREADS ? "yes" : "no",
|
||||
OMPI_ENABLE_PROGRESS_THREADS ? "yes" : "no",
|
||||
ORTE_ENABLE_PROGRESS_THREADS ? "yes" : "no",
|
||||
OPAL_EVENT_HAVE_THREAD_SUPPORT ? "yes" : "no");
|
||||
} else {
|
||||
threads = strdup("no");
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user