Installation

Nemo is written in Python (3.6+), and requires the following additional modules to be installed (currently used versions are given in brackets, later versions also probably work):

The latest tagged version of Nemo can be installed using pip:

pip install nemo-sz

Dependencies will be installed by pip, except for pyccl and mpi4py.

You may also install using the standard setup.py script, e.g., as root:

sudo python setup.py install

Alternatively,

python setup.py install --user

will install nemo under $HOME/.local (on Ubuntu), and in some other default location on Mac.

You can also use the --prefix option, e.g.,

python setup.py install --prefix=$HOME/local

and then add $HOME/local/bin to $PATH, and e.g., $HOME/local/lib/python3.6/site-packages to $PYTHONPATH (adjust the path according to your Python version number).

export PATH=$HOME/local/bin:$PATH
export PYTHONPATH=$HOME/local/lib/python3.6/site-packages:$PYTHONPATH

If Nemo has installed correctly, then you should find its command line tools are available, for example,

nemo -h

should display a helpful message about the command-line options for the main nemo command.