Simplified Tutorial for New Users

From Einstein Toolkit Documentation
Revision as of 18:32, 22 September 2012 by 131.215.195.89 (talk) (update instructions to use curl and human readable chmod)
Jump to: navigation, search

Here you will find a concise and straightforward guide to downloading, installing, and running the Einstein Toolkit. For a more detailed tutorial, view the Tutorial for New Users.

Prerequisites

You will need a number of packages installed in order to download the Einstein Toolkit components, and if you follow the instructions in this tutorial. On a Debian, Linux-Mint or Fedora-based system, install them as follows:

# Debian
su apt-get install build-essential g++ gfortran libmpich2-dev mercurial git subversion curl gnuplot
# Mint13 (likely Ubuntu oneiric ocelot as well)
sudo apt-get install libmpich2-dev gfortran g++ git mercurial subversion curl gnuplot
# Fedora (incomplete)
yum install git wget

Downloading

A script called GetComponents is used to fetch the components of the Einstein Toolkit. You may download it as follows:

curl -O https://github.com/gridaphobe/CRL/raw/ET_2011_05/GetComponents 
chmod a+x GetComponents

GetComponents accepts a thorn list as an argument. To check out the needed components:

./GetComponents --parallel https://svn.einsteintoolkit.org/manifest/branches/ET_2012_05/einsteintoolkit.th

This checks out Cactus, the Einstein Toolkit, and Simulation Factory.

Configuring

You may proceed to configure Simfactory:

cd Cactus
./simfactory/bin/sim setup

Enter the default values.

Building

Now that you have configured Simfactory, you may build:

./simfactory/bin/sim build --thornlist=manifest/einsteintoolkit.th

This may take a while, as it compiles all the thorns specified in manifest/einsteintoolkit.th.

Running