Install DIRTY

Code

Start with downloading the latest release of the code from DIRTY releases. The latest development version can be obtained from the github repository instead, but note that your mileage may vary with this version.

DIRTY uses the cfitsio library for FITS I/O. This may already be installed on your system, but maybe not. It can be installed locally, but make sure to set up pkg-config or run ./configure –with-cfitsio[=PATH] appropriately so that the cfitsio library can be found during compilation.

Run make in the DIRTY directory to generate the dirty executable.

Dependencies

Conda

conda create -n dirty -c conda-forge autoconf automake cfitsio compilers pkgconfig sphinx
conda activate dirty

Installation from Source

git clone https://github.com/karllark/DIRTY_dustrt
cd DIRTY_dustrt
./bootstrap
./configure
make

Installation (Release)

git clone https://github.com/karllark/DIRTY_dustrt
cd DIRTY_dustrt
git tag -l -n
git checkout [tag]
./bootstrap
./configure --prefix=$HOME/programs/dirty
make
make install
export PATH=$HOME/programs/dirty/bin:$PATH

Dust Grain Info

The associated dust grain files can be obtained by contacting the DIRTY authors.