darksusy is hosted by Hepforge, IPPP Durham

DarkSUSY tutorial @ TOOLS, 2020-11-02

In preparation for the DarkSUSY tutorial on November 02, 2020, here are some instructions on how to install DarkSUSY 6.

It is important that you install DarkSUSY before the tutorial so that we can start with physics problems right away. We will use the newest version, DarkSUSY 6.2.3. If you have any troubles with the installation, please send an e-mail to Torsten Bringmann at any time before the tutorial (but feel free to do so afterwards, too). See also the final comments further down. The preferred way to install DarkSUSY is locally on your machine. This gives you the best performance and easy access to both DarkSUSY and other tools you may need on your computer. It should work on most Linux/Unix systems and on Mac OS X. You need to make sure to have compiler tools installed (make, gfortran, gcc, g++ etc).

On Linux systems

On most Linux systems you typically have part of this installed already out of the box, but on some systems you need to install them. This is usually done with a pacakge manager (e.g. apt-get on Ubuntu). You also need perl. For some of the tutorials you also need to have autoconf installed.

On Mac OS X

On Mac OS X you need to install Xcode and the command-line tools (xcode-select --install). You also need to install gcc, g++ and gfortran. This can be done from either MacPorts or homebrow or by downloading the binary tar-files from here.

DarkSUSY installation

Download darksusy-6.2.3.tgz from darksusy.org (click 'Downloads' and then select the current release).

Unpack it, configure and install

tar zxvf darksusy-6.2.3.tar.gz
cd darksusy-6.2.3
./configure
make

and then test the installation by

cd examples/test
./dstest

It takes about a minute to run and should end with

    ====================================
Summary of performed DarkSUSY tests
====================================
Number of errors reported by dstest_mssm: 0
Number of errors reported by dstest_silveira_zee: 0
Number of errors reported by dstest_genWIMP: 0
====================================

In the configure step above, you can also provide further options to improve compiler performance (e.g. by running ./conf.gfortran instead of configure in case you use gfortran). If something went wrong, you can undo only the make step with 'make clean', or undo the full installation with 'make distclean'.

Final comments

If you have managed to get DarkSUSY up and running by following the above steps you are well prepared for the DarkSUSY tutorial. If you have any troubles, please contact me by e-mail.

Technically, DarkSUSY is a library of routines written in FORTRAN (mostly following FORTRAN77 standard, but this is not strictly enforced). In order to use it, some basic knowledge of FORTRAN is thus very helpful. If you have never used FORTRAN before, you should thus seriously consider to spend additional 15 minutes before the tutorial to write your first little program by following the instructions in section 4.4 of this short intro. A next good step might be to look at a very brief overview of the basics of FORTRAN, but there are of course many more (and more detailed) tutorials online available.

If you want to know more about DarkSUSY 6 before the school, please also take a look at the DarkSUSY article ( JCAP 07 (2018) [arXiv:1802.03399] ) and the manual.

Torsten Bringmann, 2020-10-30 (building on earlier instructions by Joakim Edsjö)