Project

General

Profile

Tips for building Synergia on Ubuntu 12.04

On a minimal text installation of Ubuntu 12.04, Synergia can be easily built by first installing these
packages with aptitude or apt-get:

git
make
flex
bison
libtool
autoconf
cmake
python-dev
libboost-python1.48-dev
libboost-regex1.48-dev
libboost-filesystem1.48-dev
libboost-test1.48-dev
libboost-serialization1.48-dev
libopenmpi-dev
openmpi-bin
libhdf5-serial-dev
libglib2.0-dev
libgsl0-dev
python-numpy
python-mpi4py

Note that the default libboost-dev version is 1.46 which does not work. Version 1.48 must be
explicitly installed.

If you want to be able to use the analysis tools install

python-matplotlib

Then grab the contract files and contractor machinery

git clone -b old_devel_1_0 ssh://compacc.fnal.gov/home/scmuser/git/contract-synergia2 synergia2-refactor
cd synergia2-refactor
./bootstrap

Give the addition configuration command:

./contract.py --configure miniglib_internal=0

Then build with build with the command:

./contract.py