Project

General

Profile

Building on Ubuntu 1804

Synergia can be built on the Ubuntu 18.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 openmpi-bin libopenmpi-dev libhdf5-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

Then start the build:

./contract.py