Project

General

Profile

Building on Ubuntu 1604

Synergia can be built on the Ubuntu 16.04 platform using the following steps.

Install the pre-dependency packages by executing following command apt-get command:

sudo apt-get install git g++ cmake python-dev python-numpy python-pyparsing python-nose python-mpi4py python-h5py openmpi-bin libopenmpi-dev libhdf5-dev libfftw3-dev libfftw3-mpi-dev libeigen3-dev libgsl-dev libboost-dev libboost-python-dev libboost-regex-dev libboost-system-dev libboost-filesystem-dev libboost-iostreams-dev libboost-test-dev libboost-serialization-dev

If you will be using interactive tools, also install these packages:

sudo apt-get install python-matplotlib python-tables

Clone and bootstrap the contract:

git clone -b devel http://bitbucket.org/fnalacceleratormodeling/contract-synergia2 synergia2-devel
cd synergia2-devel
./bootstrap

Some details have changed on Ubuntu 16.04 that are not yet handled properly in the build system. (This will be fixed in the future) The workaround commands are:

./contract.py --configure hdf5_internal=0
./contract.py --configure eigen3_internal=0

Then start the build up until the synergia2 source is checked out:

./contract.py synergia2/git-clone

Then execute:

cd build/synergia2
git checkout 60ac68daad4d01f03959b765c262a800a7ab759c -- CMakeLists.txt synergia-local.in CMake/AddPythonExtension.cmake
cd ../..
./contract.py