Obtaining and Compiling Synergia
Obtaining Synergia
Synergia is available through the authors. Please contact Panagiotis Spentzouris and James Amundson. You may be given
cvs access or a tarball.
Downloading Synergia with cvs
(Please substitute your NERSC CVS username for "goofus" in the
following:)
Two modules are needed: mxyzptlk and Impact3d/Layer. The Synergia code
is in the fnal-branch of Impact3d/Layer.
cvs -d goofus@cvs.nersc.gov:/cvs/accel checkout mxyzptlk
cvs -d goofus@cvs.nersc.gov:/cvs/accel checkout -r fnal-branch
Impact3d/Layer
Downloading the Synergia tarball
The authors will provide instructions.
Compiling Synergia
Autotools
Compiling Synergia requires automake version 1.6.1 or later, which, in
turn, requires automake 2.53 or later. If an appropriate version of
automake/autoconf is not available on your system, installing a local
copy is a straightforward exercise. (This step should be skipped if
automake >= 1.6.1 is already available.)
A) The simplest thing to do is to just use my installation. I have them
installed in ~amundson/opt on both fnal afs and seaborg. To use them,
just type
setenv PATH ~amundson/opt/bin:$PATH
or
export PATH=~amundson/opt/bin:$PATH
depending on your shell.
B) It is also easy to install the current versions of autoconf and
automake in your own area.
1) Get the tarballs.
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.53.tar.gz
ftp://ftp.gnu.org/gnu/automake/automake-1.6.1.tar.gz
They are also in my home area in fnal afs space,
module inconsequential
differences in version number.
2) Unpack with tar zxf.
3) Build and install autoconf in your local area. I
suggest $HOME/opt,
but any directory will do.
cd autoconf-2.53
./configure --prefix=$HOME/opt
make
make install
4) Add the bin directory from step 3) to your path
setenv PATH $HOME/opt/bin:$PATH
or
export PATH=$HOME/opt/bin:$PATH
5) Build and install automake with the same prefix
you used for
autoconf.
cd automake-1.6.1
./configure --prefix=$HOME/opt
make
make install
Compiling mxyzptlk
cd mxyzptlk
./bootstrap
./configure --prefix=$HOME/mxyzptlk
make
make install
Compiling IMPACT
cd Impact3d/Layer
./bootstrap
./configure
make
Note that there is no install step for IMPACT.