[cig-commits] [commit] master: More config information (f7855c3)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Oct 29 16:20:20 PDT 2014
Repository : https://github.com/geodynamics/vq
On branch : master
Link : https://github.com/geodynamics/vq/compare/0ca7695073f8b223d815f10653613b02b6c47df8...197914f4e03e55d321cae45161deafb1a5ade706
>---------------------------------------------------------------
commit f7855c3ad169ce912e0a550b61651157b9f50140
Author: Eric Heien <emheien at ucdavis.edu>
Date: Tue Oct 28 14:24:05 2014 -0700
More config information
>---------------------------------------------------------------
f7855c3ad169ce912e0a550b61651157b9f50140
src/core/SimFramework.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/core/SimFramework.cpp b/src/core/SimFramework.cpp
index cdd1830..a0b10e4 100644
--- a/src/core/SimFramework.cpp
+++ b/src/core/SimFramework.cpp
@@ -297,9 +297,13 @@ void SimFramework::init(void) {
console() << "# *** Version " << VQ_VERSION_STR << " ***" << std::endl;
#ifdef MPI_C_FOUND
console() << std::setw(width) << std::left << "# *** MPI process count" << ": " << getWorldSize() << std::endl;
+#else
+ console() << std::setw(width) << std::left << "# *** MPI not enabled" << std::endl;
#endif
#ifdef _OPENMP
console() << std::setw(width) << std::left << "# *** OpenMP Threads" << ": " << omp_get_max_threads() << std::endl;
+#else
+ console() << std::setw(width) << std::left << "# *** OpenMP not enabled" << std::endl;
#endif
// Do the dry run or normal initialization
More information about the CIG-COMMITS
mailing list