diff --git a/README.rst b/README.rst index 749cdfa37..aaa65777b 100644 --- a/README.rst +++ b/README.rst @@ -31,6 +31,30 @@ Pre-requisites $ sudo apt-get install libffi-dev +- `casacore `__ and the `measures `__ found in casacore-data. Gijs Molenaar has kindly packaged this on Ubuntu/Debian style systems. + + On Ubuntu 14.04, these packages can be added from the `radio astronomy + PPA `__ : + + .. code:: bash + + $ sudo apt-get install software-properties-common + $ sudo add-apt-repository ppa:radio-astro/main + $ sudo apt-get update + $ sudo apt-get install casacore21 casacore-data + + On Ubuntu 16.04 these packages can be added from the `kernsuite PPA + `__: + + .. code:: bash + + $ sudo apt-get install software-properties-common + $ sudo add-apt-repository ppa:kernsuite/kern-1 + $ sudo apt-get update + $ sudo apt-get install casacore-dev casacore-data + + Otherwise, casacore and the measures tables will need to be manually installed. + Installing the package ~~~~~~~~~~~~~~~~~~~~~~ @@ -91,6 +115,7 @@ Possible Issues to check if your pycuda can talk to the NVIDIA driver. If not, manually download and install `PyCUDA `__. + - `cub 1.5.2 `__. setup.py will attempt to download this from github and install to the correct directory during install. If this fails do the following: @@ -101,19 +126,7 @@ Possible Issues $ mv 1.5.2 cub.zip $ python setup.py install -- Montblanc depends on `python-casacore `__ which depends on - `casacore2 `__. setup.py should install - python-casacore automatically. If this fails then, on Ubuntu 14.04, - these packages can be added from the `radio astronomy - PPA `__ : - - .. code:: bash - - $ sudo apt-get install software-properties-common - $ sudo add-apt-repository ppa:radio-astro/main - $ sudo apt-get update - $ sudo apt-get install python-casacore - +- `python-casacore `__ is specified as a dependency in setup.py. If install fails here, you will need to manually install it and point it at your casacore libraries. Running Tests -------------