From 6687c3de87c80b4026cb52eb64a413735a1a2b67 Mon Sep 17 00:00:00 2001 From: Ben Cumming <louncharf@gmail.com> Date: Mon, 6 Jun 2016 17:43:03 +0200 Subject: [PATCH] Update README.md --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 127377ed..b47b3ac9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,36 @@ # cell_algorithms ```bash +# clone repo +git clone git@github.com:eth-cscs/cell_algorithms.git +cd cell_algorithms/ + +# setup sub modules git submodule init git submodule update + +# setup environment +module load gcc +module load cmake +export CC=`which gcc` +export CXX=`which g++` + +# build modparser +cd modparser +cmake . +make -j +cd .. + +# create mechanisms +cd mechanisms +./generate.sh +cd .. + +# build main project +cmake . +make -j + +# test +cd tests +./test.exe ``` -- GitLab