Commits

Ralph Castain committed 449ab95

Have orte-info show thread support as well

Comments (0)

Files changed (1)

orte/tools/orte-info/param.c

     
     /* setup strings that require allocation */    
     if (OPAL_HAVE_SOLARIS_THREADS || OPAL_HAVE_POSIX_THREADS) {        /* should just test OPAL_HAVE_THREADS */
-        asprintf(&threads, "%s (OPAL: %s, progress: %s)", OPAL_HAVE_SOLARIS_THREADS ? "solaris" :
+        asprintf(&threads, "%s (OPAL: %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 */
                  OPAL_ENABLE_MULTI_THREADS ? "yes" : "no",
-                 ORTE_ENABLE_PROGRESS_THREADS ? "yes" : "no");
+                 ORTE_ENABLE_PROGRESS_THREADS ? "yes" : "no",
+                 OPAL_EVENT_HAVE_THREAD_SUPPORT ? "yes" : "no");
     } else {
         threads = strdup("no");
     }
         orte_info_out_int("C double align", "compiler:c:align:double", OPAL_ALIGNMENT_DOUBLE);
     }
     
+    orte_info_out("Thread support", "option:threads", threads);
+
     if (want_all) {
         
-        orte_info_out("Thread support", "option:threads", threads);
         
         orte_info_out("Build CFLAGS", "option:build:cflags", OMPI_BUILD_CFLAGS);
         orte_info_out("Build CXXFLAGS", "option:build:cxxflags", OMPI_BUILD_CXXFLAGS);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.