aboutsummaryrefslogtreecommitdiff
path: root/src/gemma.cpp
diff options
context:
space:
mode:
authorPjotr Prins2017-10-14 06:00:55 +0000
committerPjotr Prins2017-10-14 06:00:55 +0000
commit0fe6d1332bf21a6be2c1beeb9fada6eb1a1ff244 (patch)
treea7699cf08b0547ea01ac1be82b15c55b1abecf69 /src/gemma.cpp
parentfdb48997ee3ed2b326a92f8e0cc7f72a4b38d8c8 (diff)
downloadpangemma-0fe6d1332bf21a6be2c1beeb9fada6eb1a1ff244.tar.gz
More disabling of eigenlib (faster compilation) and avoid OPENBLAS_CONST which does not work on older cblas.h
Diffstat (limited to 'src/gemma.cpp')
-rw-r--r--src/gemma.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp
index e2881a4..a1aeaa3 100644
--- a/src/gemma.cpp
+++ b/src/gemma.cpp
@@ -3087,6 +3087,9 @@ void GEMMA::BatchRun(PARAM &cPar) {
return;
}
+#include "Eigen/Dense"
+// using namespace Eigen;
+
void GEMMA::WriteLog(int argc, char **argv, PARAM &cPar) {
string file_str;
file_str = cPar.path_out + "/" + cPar.file_out;
@@ -3103,6 +3106,7 @@ void GEMMA::WriteLog(int argc, char **argv, PARAM &cPar) {
outfile << "## GSL Version = " << GSL_VERSION << endl;
outfile << "## Eigen Version = " << EIGEN_WORLD_VERSION << "." << EIGEN_MAJOR_VERSION << "." << EIGEN_MINOR_VERSION << endl;
#ifdef OPENBLAS
+
outfile << "## OpenBlas = " << openblas_get_config() << " - " << openblas_get_corename() << endl;
outfile << "## threads = " << openblas_get_num_threads() << endl;