Installation
============
**NB**: This documentation page is about the legacy/command-line usage. We believe it is much easier to learn the Python library, please see its :doc:`../library/fundamentals` and :doc:`../library/installation`.
To install RascalC, simply clone the Github repository and compile the C++ code (see :ref:`dependencies` below). This is done as follows::
git clone https://github.com/oliverphilcox/RascalC.git
cd RascalC
make
**NB**: RascalC can be run in various modes by adding compiler flags in the ``Makefile``. See :doc:`getting-started` and :doc:`main-code` for more information.
Once RascalC is installed, see the :doc:`getting-started` and :doc:`tutorial` sections.
.. _dependencies:
Dependencies
-------------
RascalC requires the following packages:
- `C compiler `_: Tested with 5.4 or later
- `Gnu Scientific Library (GSL) `_: Any recent version
- `Corrfunc `_: 2.0 or later
- (*Optional but encouraged*) `OpenMP `_: Any recent version (required for parallelization)
Corrfunc can be installed using ``pip install corrfunc`` and is used for efficient pair counting.
For the Python pre- and post-processing we require:
- `Python `_: 2.7 or later, 3.4 or later
- `Numpy `_: 1.10 or later
- (*Optional*) `Healpy `_: any recent version. (Necessary if using HealPix jackknife regions)
These can be simply installed with pip or conda.
.. _acknowledgements:
Acknowledgements
-----------------
Main Authors:
- Oliver H. E. Philcox (Princeton / Harvard)
- Daniel J. Eisenstein (Harvard)
- Ross O'Connell (Pittsburgh)
- Alexander Wiegand (Garching)
- Misha Rashkovetskyi (Harvard)
Please cite `O'Connell et al. 2016 `_, `O'Connell & Eisenstein 2018 `_ , `Philcox et al. 2019 `_ and `Philcox & Eisenstein 2019 `_ when using this code in your research.
Note that many of the code modules and convenience functions are shared with the small-scale power spectrum estimator code `HIPSTER `_, developed by Oliver Philcox and Daniel Eisenstein.