DSPSR configure and make

configure

After unpacking the source code, run the configure script in the root of the source directory; e.g.
gunzip -c dspsr-5.1.tar.gz | tar xvf -
cd dspsr-5.1
./configure
By default, all products will be installed in sub-directories of $PSRHOME/$LOGIN_ARCH or, if the PSRHOME environment variable is not set, /usr/local. This can be modified using the --prefix option; e.g.
./configure --prefix=$PSRHOME/$LOGIN_ARCH
The configure script will end by producing a Makefile in each of the required sub-directories. If the configure script fails, please read common configuration problems.

make

After successfully running configure the software may be compiled, tested, and installed by running
make
make check
make install
If any of these steps fails, please read common compilation problems.

The make check step tests a number of runtime features in the software, and can expose a variety of potential problems; for example, differences in how compilers handle the code, how FFT libraries scale their output, etc.


Building on multiple architectures

If you intend to compile the DSPSR software on multiple architectures or with different compilers using the same source code tree, please read the notes on multiple builds.