Installation ============ The software has been tested in * Scientific Linux 6.0 * Arch Linux If you are brave enough to try it out in OSX or Windows, please share your thoughts! Requirements -------------- +--------------------------+------------------------+---------------------------------+ | Library/Software | Version | Reason | +--------------------------+------------------------+---------------------------------+ |`GCC`_ | ``v4.4.7`` or greater | Compiler | +--------------------------+------------------------+---------------------------------+ |`boost::program_options`_ | ``v1.52.0`` or greater | command-line options. | +--------------------------+------------------------+---------------------------------+ |`OpenMPI`_ | ``v1.8.8`` or greater | MPI implementation. | +--------------------------+------------------------+---------------------------------+ |`CUDA`_ | ``v5.5`` or greater | GPU implementation. | +--------------------------+------------------------+---------------------------------+ .. _`GCC`: https://gcc.gnu.org/ .. _`boost::program_options`: http://www.boost.org .. _`CUDA`: https://developer.nvidia.com/cuda-downloads .. _`OpenMPI`: http://www.open-mpi.org/software Installation -------------- After download the code, enter the ``src`` directory and proceed to edit the ``Makefile`` with the Boost, CUDA and OpenMPI paths if they are not installed on the system, otherwise the flags are not needed. Every version can be generated by: * ``make cpu``, CPU version * ``make mpi``, MPI version * ``make gpu``, GPU version (Remember to include the option ``-jX`` where ``X`` is the amount of available cores to compile in parallel, i.e. ``make -j4 gpu``) Input submodule ---------------- The initial conditions are in a different `git repository`_, that you can obtain by executing the script *setup-submodule*, in the root of the repository. .. _`git repository`: https://gitlab.com/cmaureir/gravidy-input