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.
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:
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
export LD_PRELOAD=/usr/local/lib/libfftw3.so:/usr/local/lib/libfftw3f.so
LD_LIBRARY_PATH
(Linux) or DYLD_LIBRARY_PATH
(MacOSX) contains the path of these libraries.PYTHON=python2 python2 waf configure --prefix=~/local build install test