Update INSTALL.md

This commit is contained in:
Faruk D 2017-11-16 16:13:07 +01:00 committed by GitHub
parent 24abfc6b6c
commit ab2b1d66f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 15 deletions

View File

@ -1,7 +1,8 @@
vr 2 dec 2016 23:07:19 CET vr 2 dec 2016 23:07:19 CET
# SAGECal Installation # SAGECal Installation
====================
0) Prerequsites: ## 1 Prerequsites:
- CASACORE http://casacore.googlecode.com/ - CASACORE http://casacore.googlecode.com/
- glib http://developer.gnome.org/glib - glib http://developer.gnome.org/glib
- BLAS/LAPACK - BLAS/LAPACK
@ -15,12 +16,13 @@ vr 2 dec 2016 23:07:19 CET
-- Intel MKL and other libraries -- Intel MKL and other libraries
- Get the source for SAGECal : git clone git://git.code.sf.net/p/sagecal/code sagecal-code - Get the source for SAGECal : git clone git://git.code.sf.net/p/sagecal/code sagecal-code
1) The basic way to build is ## 2 The basic way to build is
1.a) go to ./src/lib and run make (which will create libsagecal.a) 1.a) go to ./src/lib and run make (which will create libsagecal.a)
1.b) go to ./src/MS and run make (which will create the executable) 1.b) go to ./src/MS and run make (which will create the executable)
2) In ./src/lib and ./src/MS you MUST edit the Makefiles to suit your system. Some common items to edit are: ## 3 Build settings
In ./src/lib and ./src/MS you MUST edit the Makefiles to suit your system. Some common items to edit are:
- LAPACK: directory where LAPACK/OpenBLAS is installed - LAPACK: directory where LAPACK/OpenBLAS is installed
- GLIBI/GLIBL: include/lib files for glib - GLIBI/GLIBL: include/lib files for glib
- CASA_LIBDIR/CASA_INCDIR/CASA_LIBS : casacore include/library location and files: - CASA_LIBDIR/CASA_INCDIR/CASA_LIBS : casacore include/library location and files:
@ -39,23 +41,23 @@ vr 2 dec 2016 23:07:19 CET
SAGECAL-MPI Installation # SAGECAL-MPI Installation
========================
0) Prerequsites: ## 1 Prerequsites:
- Same as above - Same as above
- MPI (e.g. OpenMPI) - MPI (e.g. OpenMPI)
1) Build ./src/lib as above (using mpicc -DMPI_BUILD) ## 2 Build ./src/lib as above (using mpicc -DMPI_BUILD)
2) Build ./src/MPI using mpicc++ ## 3 Build ./src/MPI using mpicc++
BUILDSKY Installation ## BUILDSKY Installation
=====================
1) See INSTALL in ./src/buildsky - See INSTALL in ./src/buildsky
RESTORE Installation ## RESTORE Installation
=====================
1) See INSTALL in ./src/restore - See INSTALL in ./src/restore