
Most example programs are self-explanatory, A next good step could be to look at a very brief overview of the basics of FORTRAN, but there are of course many more (and more detailed) online tutorials available. If you have never used FORTRAN before, a good stepping stone before looking into DarkSUSY code might be to write your first little program by following the instructions in section 4.4 of this short intro. In order to use it, some basic knowledge of FORTRAN is thus very helpful. Technically, DarkSUSY is a library of routines written in FORTRAN (mostly following FORTRAN77 standard, but this is not strictly enforced). [ If there is a compilation problem with any of the contributed packages that you cannot fix, consider building a 'light' version of DarkSUSY (not making use of any contributed code): Fully uninstall with 'make distclean', followed by './configure' and 'make darksusy_light'. Number of errors reported by dstest_genWIMP: 0 Number of errors reported by dstest_silveira_zee: 0 Number of errors reported by dstest_mssm: 0 This takes about a minute to run and should end with
How to install gfortran mac full#
If something went wrong, you can always undo only the make step with 'make clean', or undo the full installation with 'make distclean'.Īfterwards, you should test the installation by In the configure step above, you can also provide further options to improve compiler performance (e.g. Then unpack the dowloaded file, configure and install: Insufficient disk space during installation leads to an error message that may go unnoticed if that happens, running the example program dstest segfaults on some systems.įirst download the most recent DarkSUSY version, save it locally and cd into that directory. Supplied by homebrew however, Higgssignals and Higgsbounds do not compile with this setupĪnd are hence disabled during the installation process. Installation on the Apple Silicon (M1) architecture is presently only possible with gcc11

This can be done from either MacPorts or homebrew, or by downloading the binary tar-files from here.Ĭompilation with ifort is currently not actively supported (but will be in future releases).

You also need to install gcc, g++ and gfortran - as well as the other packages mentioned above for Linux systems.

How to install gfortran mac mac os x#
On Mac OS X you need to install Xcode and the command-line tools (xcode-select -install). You also need perl, curl (+libcurl!), autoconf, aclocal and cmake for all contributed code to compile successfully. This is usually done with a package manager (e.g. On Linux systems you typically have part of this already installed, out of the box, but on some systems you need to install them. In order to install DarkSUSY, you need standard compiler tools like make, gfortran, gcc, g++ etc.
