Installation

The current stable version of the Tamasis/PACS package is 4.2.
The project is hosted at github and there are two ways to obtain it.

$ git clone git://github.com/pchanial/tamasis-pacs.git tamasis-4.2 --branch=v4.2

The second method is more convenient to make updates of the branch (if you’ve just cloned the repository, you will obviously not get anything new) or (without specifying the --branch=v4.2 option) to follow developments on or contribute to the master branch.

$ cd tamasis-4.2
$ git pull
Already up-to-date.

This method is also required if you are to test tamasis’ development branch.

Setting up a scientific Python environment

Installing a Python environment for scientific purposes can be a hassle. I recommend installing a dedicated distribution such as Enthought or Python (x,y). If you’re up to the challenge of setting it up by yourself, you should install the following packages:

Tamasis dependencies

Compiler

External libraries

Python modules

Installation

Once all the dependencies are installed, type

$ ./waf configure --prefix=/path/to/local build install test

Then, to make sure that the stack size of an OpenMP thread is large enough to handle a map, you should add to your .bashrc/.bash_profile file the following lines:

export OMP_STACKSIZE=2g
ulimit -s unlimited

Troubleshooting

export LD_PRELOAD=/usr/local/lib/libfftw3.so:/usr/local/lib/libfftw3f.so
PYTHON=python2 python2 waf configure --prefix=~/local build install test