DarkSUSY tutorial @ TOOLS, 2021-11-24In preparation for the DarkSUSY tutorial on November 24, 2021, 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.6. 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). Furthermore, you also need perl, curl (libcurl), autoconf, aclocal and cmake for all contributed code to compile successfully. On Linux systems On most Linux systems you already have part of the above requirements installed out of the box, but some you typically still need to install. This is usually done with a pacakge manager (e.g. apt-get on Ubuntu). 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.6.tgz from darksusy.org (click 'Downloads' and then select the current release). Unpack it, configure and install tar zxvf darksusy-6.2.6.tar.gz cd darksusy-6.2.6 ./configure make and then test the installation by cd examples/test ./dstest It takes about a minute to run and should end with ====================================
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 commentsIf 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 therefore seriously consider to spend additional 15 minutes before the tutorial to write your first little program, e.g. 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 learn more about DarkSUSY 6 already before the school, consider taking a closer look (in roughly this order) at the DarkSUSY webpage , the example programs in the /examples folder, the DarkSUSY article ( JCAP 07 (2018) [arXiv:1802.03399] ) and the manual. Torsten Bringmann, 2021-11-22 (building on earlier instructions by Joakim Edsjö)
|