Nonpareil binary: Nonpareil requires a C++ compiler. It has been tested on 64-bit machines with GCC versions ≥4.2.1, running Mac OSX and Red Hat Linux.
Nonpareil MPI: If you want to compile Nonpareil with MPI support, you will need OpenMPI (v > 1.4.3 tested). Other implementations of MPI could work, but are yet untested.
Nonpareil utilities: Requires R. No additional libraries are necessary.
Get the source
Clone the repository from GitHub:
git clone git://github.com/lmrodriguezr/nonpareil.git
tar zxvf nonpareil.tar.gz
Change directory into the newly created folder, and compile Nonpareil:
cd nonpareil make
If you want to compile Nonpareil MPI (see also MPI support), just run:
In either case, you can specify the C++ compiler to be used setting the cpp or mpicpp variables, respectively. For example:
make cpp=/usr/local/bin/g++ nonpareil # This compiles nonpareil with /usr/local/bin/g++ make mpicpp=/usr/local/bin/mpic++ nonpareil-mpi # This compiles nonpareil-mpi with /usr/local/bin/mpic++
If you want to make Nonpareil available system-wide, just run:
sudo make install
If you don’t have superuser privileges and/or want to install Nonpareil in a location other than /usr/local, simply set the prefix, for example:
make prefix=$HOME/apps install
You can also change the location of R, if it’s not in the $PATH or you want to use a non-standard installation:
make prefix=$HOME R=~/bin/R install
Other variables you can set explicitly for the install target are bindir (binaries directory) and mandir (documentation directory).