Skip to content

Installation

damocles-code edited this page Aug 3, 2020 · 4 revisions

Installation

Requirements

Damocles is installed using free gfortran compilers. It is parallelised using OpenMP. Both will need to be installed in order for Damocles to install and run. Please edit the make-file to suit the path of the compiler and mpi libraries on your system. Some compilers may require different/additional optimisation flags.

There is no reason that Damocles shouldn't run with Intel compilers but it has not been developed and tested on Intel compilers. If you wish to run with Intel compilers, the Makefile can be suitably adjusted.

Installation instructions

To install Damocles:

  • Download the repository from the master branch here.

  • Move the .zip to the desired location, expand the zip and cd into the expanded directory

  • Type:

    make install

This will create an executable called damocles saved in the /usr/bin directory (Linux) or the /usr/local/bin directory (MacOS). A directory called dustData will also be created in the same location which contains optical constants (n and k values) for a range of commonly used dust species including glassy, crystalline and dirty silicates and carbonaceous species. Further details are given here.