2. Installation

Warning

These commands should be done in the root directory.

2.1. Installation with Cmake

  1. Get pybind11

bash Installation/Pre-install.sh
  1. Building RSA MPI

bash Installation/Install.sh
  1. Testing

source Env.sh
cd build
ctest
cd ../
  1. Generate doxygen documentation (html in `./doc/’)

cd include
doxygen DoxyDoc
cd ../

2.2. Installation with Spack

Add repository that contains the spack package.

git clone https://github.com/Collab4exaNBody/spack-repos.git
spack repo add spack-repos
spack external find openmpi
spack install rsampi

The executable can be appealed by rsa after writing:

export rsa=`spack location -i rsampi`/bin/rsa