Skip to content
Snippets Groups Projects
Commit 423fd280 authored by Debolskiy Andrey's avatar Debolskiy Andrey :bicyclist_tone5:
Browse files

Update README.md

parent 449bd231
Branches
Tags
No related merge requests found
INM ParLib v2.2 INM ParLib v2.2
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
authors: Val Gloukhov authors: Val Gloukhov
...@@ -7,9 +6,13 @@ authors: Val Gloukhov ...@@ -7,9 +6,13 @@ authors: Val Gloukhov
(gluhoff@inm.ras.ru) (gluhoff@inm.ras.ru)
Evgeny Mortikov Evgeny Mortikov
Research Computing Center of Lomonosov Moscow State University 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 INM ParLib is a high level library facilitating the coding of finite
...@@ -37,6 +40,23 @@ then run cmake to configure build ...@@ -37,6 +40,23 @@ then run cmake to configure build
``` ```
cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/parlib/to -s ../parlib 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 `.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment