Installation

From enGrid Wiki

Revision as of 16:57, 22 July 2011 by Oliver (Talk | contribs)
Jump to: navigation, search

Recommended Method (Linux)

The recommended installation method is to use the automatic build script which can be found on the SourceForge download page; alternatively you can use this direct link: build.bash.

This script offers easy configuration for the following systems:

  1. Fedora
    1. Fedora 14
    2. Fedora 15
  2. openSUSE
    1. openSUSE 11.2
    2. openSUSE 11.3
    3. openSUSE 11.4
  3. Ubuntu
    1. Ubuntu 10.10
    2. Ubuntu 11.04

Put the script into the folder where you want to install enGrid. When you execute the script, it will create a sub-folder named engrid where all sources, binaries, and scripts will be installed. For example: If your webrowser automatically put the script into the folder /home/jonny/Download, and you want enGrid to be inthe folder /home/jonny/Software/, put the script into the folder /home/jonny/Software you need to issue the following commands to kick off the installation (provided that the folder /home/jonny/Software does not exist yet:

cd /home/jonny
mkdir Software
cd Software
mv /home/jonny/Download/build.bash .
source build.bash

Afterwards the script will print a list of available configurations. Assuming you are installing enGrid onto an Ubuntu system, please type the following:

source build.bash ubuntu

Afterwards the script will ask you for the root password, because it needs to launch the system's package manager in order to install the required dependencies. The steps performed by this script are:

  1. install dependencies
    1. VTK >= 5.4
    2. Qt >= 4.5
    3. standard build environment (gcc, make, ...)
  2. fetch enGrid sources from GIT
  3. compile Netgen library
  4. compile enGrid library
  5. compile enGrid executable

Afterwards an optional set-up script can be called in order to create a start script in /usr/bin and a desktop file to be able to start enGrid from the graphical menu system.

source engrid/setup_generic.bash

Please not that this script is the same for all Linux distributions. The dedicated script (e.g. setup_opensuse.bash) are intended for binary packages.

Personal tools