Skip to content

jmert/almpure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

almpure

almpure is a set of bindings to the S2HAT and PS2HAT libraries.

Getting Started

Downloading

Either download a release tarball from https://github.com/jmert/almpure/releases or clone the git repository:

$ git clone https://github.com/jmert/almpure

Prerequisites

If starting from git sources, the following will be required to bootstrap the build system:

  • The GNU Autotools
  • pkg-config

Generic build dependencies then include:

  • A make build tool.
  • An MPI library implementation.
  • The FFTW3 library.
  • C and Fortran compilers.

At present, only OpenMPI has been tested, though other compliant MPI implementations should work as well.

Optional components include:

  • Matlab to build MEX “all-in-one” function wrappers.
    • A static FFTW3 library is required for MEX compilation.

Compiling

To bootstrap the build system from git sources,

$ autoreconf -vi

Next (or for a release tarball), configure and build the library. For example, for home directory install without the Matlab MEX bindings:

$ ./configure --without-matlab --prefix=$HOME/local/almpure
$ make && make install

More options can be discovered via

$ ./configure --help

which will show other available configuration options and variables.