From e282ca59bfff485d0532e66f9efbd8c8c58c60f4 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 12 Sep 2017 02:10:00 +0000 Subject: Show GSL and Eigen versions in .log output --- src/gemma.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/gemma.cpp b/src/gemma.cpp index 5983461..e3fb005 100644 --- a/src/gemma.cpp +++ b/src/gemma.cpp @@ -30,6 +30,7 @@ #include "gsl/gsl_linalg.h" #include "gsl/gsl_matrix.h" #include "gsl/gsl_vector.h" +#include "gsl/gsl_version.h" #include "bslmm.h" #include "bslmmdap.h" @@ -3102,6 +3103,8 @@ void GEMMA::WriteLog(int argc, char **argv, PARAM &cPar) { outfile << "##" << endl; outfile << "## GEMMA Version = " << version << endl; + outfile << "## GSL Version = " << GSL_VERSION << endl; + outfile << "## Eigen Version = " << EIGEN_WORLD_VERSION << "." << EIGEN_MAJOR_VERSION << "." << EIGEN_MINOR_VERSION << endl; outfile << "##" << endl; outfile << "## Command Line Input = "; -- cgit v1.2.3