From 68475f9b910c488179888e06215d13c099f1fa64 Mon Sep 17 00:00:00 2001 From: Faruk D Date: Wed, 28 Feb 2018 11:39:30 +0100 Subject: [PATCH] add instructions for other distros and temporarily comment out old installation instructions --- INSTALL.md | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 2fcb0bf..7e1820e 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -4,7 +4,8 @@ vr 2 dec 2016 23:07:19 CET ## Cmake Build -### Ubuntu (tested with 16.04) +### Requirements +#### Ubuntu (tested with 16.04) - Add KERN repository. Intructions can also be found at [http://kernsuite.info/](http://kernsuite.info/) ``` sudo apt-get install software-properties-common @@ -17,7 +18,20 @@ vr 2 dec 2016 23:07:19 CET ``` sudo apt-get install -y git cmake g++ pkg-config libcfitsio-bin libcfitsio-dev libopenblas-base libopenblas-dev wcslib-dev wcslib-tools libglib2.0-dev libcasa-casa2 casacore-dev casacore-data casacore-tools ``` +#### Other systems +- Install equivalent packages for your distribution + - g++ + - cmake + - git + - pkg-config + - openblas + - libglib2.0-dev + - follow the instructions at +[https://github.com/casacore/casacore](https://github.com/casacore/casacore) to install casacore. + + +### Building - Clone the repository ``` git clone -b sprint_cmake https://git@github.com/nlesc-dirac/sagecal.git @@ -30,7 +44,8 @@ vr 2 dec 2016 23:07:19 CET cmake .. -DENABLE_CUDA=OFF ``` -      **OPTIONAL:** You can also define a custon casacore path: +**OPTIONAL:** You can also define a custon casacore path: + ``` cmake .. -DCASACORE_ROOT_DIR=/opt/soft/casacore/ -DENABLE_CUDA=OFF ``` @@ -46,12 +61,15 @@ vr 2 dec 2016 23:07:19 CET -### Via Anaconda (not complete) +### Via Anaconda (WIP) ``` - conda install -c conda-forge casacore==2.4.1 + conda install -c sagecal=0.6.0 ``` +