From 449bd231b828f5f2839f9eacd74ffd165af8727a Mon Sep 17 00:00:00 2001 From: Debolskiy Andrey <and.debol@gmail.com> Date: Tue, 23 Jun 2020 01:54:30 +0300 Subject: [PATCH] updated readme --- ParLib.src/README => README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) rename ParLib.src/README => README.md (55%) diff --git a/ParLib.src/README b/README.md similarity index 55% rename from ParLib.src/README rename to README.md index 2d00726..e95f9f0 100644 --- a/ParLib.src/README +++ b/README.md @@ -16,4 +16,27 @@ INM ParLib is a high level library facilitating the coding of finite difference and spectral approximation weather and climate prediction models on distributed memory parallel computers. +Since version 2.3 parlib is built using cmake +to do so + +first clone this repo: +``` +git clone http://tesla.parallel.ru/debol/parlib.git +``` +to build do: +``` +mkdir build && cd build +``` +then export your compilers +``` +export CC=your_C_compiler +export CXX=your_CXX_compiler +export FC=your_fortran_compiler +``` +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 + -- GitLab