Download and build the current Synergia release on most Linux machines:¶
git clone http://bitbucket.org/fnalacceleratormodeling/contract-synergia2 synergia2-devel cd synergia2-devel git checkout -b devel origin/devel ./bootstrap
If you have a lot of cores, you can give the following command to speed things up (adjust the number according to how many cores you have):
./contract.py --configure default_parallel=8
continue with
./contract.py
System packages for RHEL 6/CentOS 6/SL 6¶
On RHEL 6 compatible systems (CentOS 6, Scientific Linux 6), installation can be streamlined by installing packages from the epel (https://fedoraproject.org/wiki/EPEL) repository. Install the epel-release package in CentOS or Scientific Linux to access to this repository. Installing the following packages will speed up installation by satisfying external dependencies:
yum install --enablerepo=epel python-devel hdf5-devel eigen3-devel pyparsing python-nose
System packages for Ubuntu¶
On Ubuntu, installation can be streamlined by installing system packages for almost all of the dependencies with this command:
sudo apt-get install libboost-dev libboost-python-dev libboost-regex-dev libboost-serialization-dev libboost-system-dev libboost-test-dev libboost-filesystem-dev python-dev libopenmpi-dev python-matplotlib python-numpy python-mpi4py python-tables libeigen3-dev python-pyparsing libgsl0-dev cmake libhdf5-dev python-nose g++ cmake git