Currently the installation is manual. Please feel free to contact T R Jaffe if you are having trouble with the hammurabi compilation itself. Also, if you find any bugs, please let us know!
Installing Hammurabi:
1) Install the following necessary dependencies (if you don't have them already):
2) Expand (e.g., gunzip) the hammurabi_v3.tar.gz package in a separate directory.
3) Make sure your HEALPix environment is set correctly, e.g.
> setenv HEALPIX_TARGET generic_gcc > setenv HEALPIX /Users/tj/space/sw/healpix/Healpix_3.20
4) Edit the Makefile to select the correct options for your compilers and point to the installed dependencies. This version has been tested on: linux with gcc 4.4.7 (using the included gfortran for NE2001); Mac OSX with MacPorts gcc 4.3 (using the included gfortran).
5) > make hammurabi
Even if you wish to build one of the other executables, first make the basic C++ hammurabi to test before trying the others.
The executables are placed in a subdirectory called run.
6) Then for each compilation of a different executable, run, e.g.,
> make clean; make hammurabi.ne2001
to cleanup any previous run. (Note that this cleans .o and .a files but leaves the resulting executables in the run subdirectory. So you can do, e.g., 'make hammurabi; make clean; make hammurabi.ne2001" and you'll have both executables in the run directory at the end.
Or if you think they'll all work,
> make all
7) For a simple test, use the test_params.txt parameter file, which will produce a synchrotron map of a trivial case.