download
Latest Version

The latest version of mangle is mangle2.2. See what's new.

Terms of Use

You are free to use mangle for any purpose whatsoever, under the condition that you cite the following paper: M Swanson, M Tegmark, A J S Hamilton & J C Hill, MNRAS 387, 1391 (2008), arXiv: 0711.4352 [astro-ph].

Linux-Intel Version

MacOSX-Intel Version

Source-Only Version

The above packages contain pre-compiled binaries and several example masks. If you are short on space and interested in compiling mangle yourself, you can try the streamlined versions below, which just have the source code:

We strongly recommend using the real*10 version, which uses 80 bits to store floating point values with 'real*10' in fortran and 'long double' in C. It is nearly as fast as the real*8 version (it uses 64-bit integer arithmetic; the last 16 bits are for the exponent, etc.), and the added precision eliminates annoying dynamic range issues that otherwise afflict (for example) the SDSS mask. Note that if you want to compile the real*10 version yourself, you will need a fortran compiler that supports real*10, such as gfortran or g95.