Installing DarkSusy: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
*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 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 | *If you run mac (tested on mac osx 10.6), the c++ and fortran compilers will not compile for the same architecture 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''. | 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:59, 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 mac (tested on mac osx 10.6), the c++ and fortran compilers will not compile for the same architecture 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.