diff --git a/README.md b/README.md index e95f9f0ab4887053aa1409d6c5b8e7da73ebe6f3..ca18c20ebe17cfbef2be26d8bead209f71d2264b 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 `.