| Home | Trees | Indices | Help |
|
|---|
|
|
In order to build the ESyS-Particle software, the following packages are required:
Optional packages include:
ESyS-Particle uses the autotools (autoconf, automake and libtool) build system to compile source code. After the lsmearth-2.1.tar.gz source has been downloaded and unziped/untared, change into the ESyS-Particle top level source directory which contains the configure script. The configure shell script attempts to guess correct values for various system-dependent variables used during compilation. A typical invocation of the configure script on a system with LAM-MPI installed would be:
$ ./configure CC=mpicc CXX=mpic++ --prefix=/opt/pkgs/lsmearth-2.1
On an MPT system (Altix 3700, for example), the invocation of configure would be:
$ ./configure CC=gcc CXX=g++ --prefix=/opt/pkgs/lsmearth-2.1
In both these cases, the CC and CXX configure variables are used to set the C and C++ compilers, respectively. The --prefix=/opt/pkgs/lsmearth-2.1 option sets the root installation path, so that in these cases the ESyS-Particle executables, libraries, etc will be installed under /opt/pkgs/lsmearth-2.1/bin, /opt/pkgs/lsmearth-2.1/lib, etc. Running:
$ ./configure --help
will list the command line options (and brief descriptions) for the configure script.
Once the configure script has been run, and the various Makefile files have been generated, the binaries can be built by issuing the:
$ make
command. Parallel builds are supported, so on multiple (or hyper-threaded) CPU machines:
$ make -j N
will cause N files to compile simultaneously. Issuing the:
$ make install
command installs binary, data and python package and module files. The installation can be tested with:
$ make installcheck
which runs a series of unit-tests using the installed package binaries.
Typically, there are three environment variables which need to be set before being able to run an ESyS-Particle python script: PATH, LD_LIBRARAY_PATH and PYTHONPATH. Assuming that the configure script was run with the --prefix=/opt/pkgs/lsmearth-2.1 option, these environment variables would be set as follows:
$ export PATH=/opt/pkgs/lsmearth-2.1/bin:$PATH $ export LD_LIBRARAY_PATH=/opt/pkgs/lsmearth-2.1/lib:$LD_LIBRARY_PATH $ export PYTHONPATH=/opt/pkgs/lsmearth-2.1/lib/python2.3/site-packages:$PYTHONPATH
|
|||
__installDoc =
|
|||
__doc__ = esys.lsm.doc.Util.setSectionDoc("InstallSection", __
|
|||
__package__ =
|
|||
|
|||
__installDoc
|
__doc__
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 31 09:16:29 2011 | http://epydoc.sourceforge.net |