2. Installation
Warning
These commands should be done in the root directory.
2.1. Installation with Cmake
Get pybind11
bash Installation/Pre-install.sh
Building RSA MPI
bash Installation/Install.sh
Testing
source Env.sh
cd build
ctest
cd ../
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