Installing DarkSusy: Difference between revisions

From ift
(Created a page with installation experience w/ DarkSusy)
No edit summary
Line 1: Line 1:
To install DarkSusy, make sure to download both the latest version and the galprop patch from the DarkSusy [http://www.physto.se/~edsjo/darksusy/ page].
To install DarkSusy, make sure to download both the latest version and the galprop patch from the DarkSusy [http://www.physto.se/~edsjo/darksusy/ page].
Unpack darksusy-5.0.5.tar.gz, and move the patch into the resulting folder(darksusy-5.0.5). Now, unpack the patch as well with: ''tar zxvf galprop-patch.tar.gz''
Unpack darksusy-5.0.5.tar.gz, and move the patch into the resulting folder(darksusy-5.0.5). Now, unpack the patch as well with: ''tar zxvf galprop-patch.tar.gz''
If you are running linux, run ''./configure'' if you wish to compile with g77 or ''./conf.gfortran'' for gfortran, then ''make'' and ''sudo make install''
If you run run mac osx 10.6, the c++ and fortran compilers will not compile for the same architecture together unless you modify the configure command to ''CFLAGS="-m32"''.
In the end, move to the ''test'' directory, and run ''./dstest''. You should receive output similar to the file ''dstest.output''.


[[Category:Installing]]
[[Category:Installing]]

Revision as of 08:52, 12 January 2012

To install DarkSusy, make sure to download both the latest version and the galprop patch from the DarkSusy page. Unpack darksusy-5.0.5.tar.gz, and move the patch into the resulting folder(darksusy-5.0.5). Now, unpack the patch as well with: tar zxvf galprop-patch.tar.gz

If you are running linux, run ./configure if you wish to compile with g77 or ./conf.gfortran for gfortran, then make and sudo make install

If you run run mac osx 10.6, the c++ and fortran compilers will not compile for the same architecture together unless you modify the configure command to CFLAGS="-m32".

In the end, move to the test directory, and run ./dstest. You should receive output similar to the file dstest.output.