Latest distribution is on github. You can clone the repository, or download the latest .tar.gz distribution.
The source code follows the standard GNU build process. On linux:
./configure
make
make install
On OS X you need to use gcc-mp-5 for opemMP.
autoconf configure.ac.macosx > configure; chmod +x configure
./configure "CC=/opt/local/bin/gcc-mp-5" CPPFLAGS="-I/usr/include/malloc/ -I/opt/local/include/readline" LDFLAGS="-L/opt/local/lib/"
(Replace "/opt/local/" is the location of your installed libraries. ) make make install
Please consult the documentation :
src/PIAACMCsimul/doc/PIAACMCsimul.html
The following libraries are used:
- readline, for reading the command line input
- flex, for parsing the command line input
- bison, to interpret the command line input
- fftw, for performing Fourier Transforms
- gsl, for math functions and tools
- fitsio, for reading and writing FITS image files
If you use NVIDIA GPUs, install cuda and magma libraries, and add "--enable-cuda and --enable-magma" options to the configure command.
Written in C. The main is a command line interface (CLI). Source code is in CLIcore.c and CLIcore.h. Key data structures (such as the image data structure) are declared in CLIcore.h.