1. Installing QUAC

QUAC can be installed on most UNIX-based systems, though installation is easiest on OS X and Debian/Ubuntu. Patches to increase portability are very welcome.

1.2. Self-compile

This installation method is useful when internet access is available and/or system libraries are insufficient. Root access is not required.

Warning

This installation method is unsupported and poorly tested. Use it only as a last resort.

1.2.1. Prerequisites

  • A staging machine with git, pip (either Python 2 or 3 is fine), wget, and internet access.
  • Target machine needs basic dependencies such as GNU Make 3.81 and C/C++/Fortran compilers. Exactly what is currently unknown, but it “Works For Me™” on a RHEL6.6 box.

1.2.2. Install pip2pi

It’s OK if you install pip2pi using a different Python version than you will be using for QUAC, as it’s only used to build a pip repository on the staging machine.

$ pip install pip2pi

1.2.3. Prepare the dependency package

In this step, you will download source code for QUAC’s dependencies and create a package that can be transferred elsewhere. After unpacking QUAC into $QUACBASE:

$ deactivate          # if you have a virtualenv active
$ cd $QUACBASE
$ ./misc/manual-download

The script will create a file deps.tar.gz. Copy this to your target QUAC working directory.

1.2.4. Compile and install

On the target machine:

$ cd $QUACBASE
$ tar xf deps.tar.gz
$ ./misc/manual-install

1.2.5. Test

$ ./runtests