From 423fd280b83590f5fd86ea427decd4d9e568ad10 Mon Sep 17 00:00:00 2001
From: Debolskiy Andrey <and.debol@gmail.com>
Date: Tue, 23 Jun 2020 02:10:53 +0300
Subject: [PATCH] Update README.md

---
 README.md | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index e95f9f0..ca18c20 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,3 @@
-
                               INM ParLib v2.2
 -------------------------------------------------------------------------------
 authors: Val Gloukhov
@@ -7,9 +6,13 @@ authors: Val Gloukhov
          (gluhoff@inm.ras.ru)
          Evgeny Mortikov
          Research Computing Center of Lomonosov Moscow State University
+         (evgeny.mortikov@gmail.com)
+         Andrey Debolskiy
+         Research Computing Center of Lomonosov Moscow State University
+         (and.debol@srcc.msu.ru)
 
 
-latest update: 11/30/2001
+latest update: 22/06/2020
 -------------------------------------------------------------------------------
 
 INM ParLib is a high level library facilitating the coding of finite 
@@ -37,6 +40,23 @@ then run cmake to configure build
 ```
 cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/parlib/to -s ../parlib
 ```
-on some clusters higher versions of cmake are aliased with cmake3 (f.ex. Lomonosov-1,2), so use `cmake3` in that case
+on some clusters higher versions of cmake are aliased with cmake3 
+(f.ex. Lomonosov-1,2), so use `cmake3` in that case.
+
+then compile,test and install parlib into directory specified by `CMAKE_INSTALL_PREFIX`
+```
+make all
+make test
+make install
+```
+By default cmake will build both shared and static libraries as well
+as fortran wrapper libraries. to toggle which libraries to build use these 
+cmake variables: `BUILD_SHARED_LIBS`,`BUILD_STATIC_LIBS`,`BUILD_FORT_LIBS`.
+For example:
+```
+cmake  -DBUILD_SHARED_LIBS=OFF -BUILD_STATIC_LIBS=ON -DBUILD_FORT_LIBS=OFF -s ../parlib
+```
+will build only C static library. You can check other configuration options either 
+by using cmake-gui or using `cmake -LAH `.
 
 
-- 
GitLab