~esys-p-dev/esys-particle/gengeo-1.1

44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
1
#############################################################
2
##                                                         ##
124 by Vince Boros
Copyright, Centre name, Centre address updates
3
## Copyright (c) 2007-2014 by The University of Queensland ##
4
## Centre for Geoscience Computing                         ##
5
## http://earth.uq.edu.au/centre-geoscience-computing      ##
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
6
##                                                         ##
7
## Primary Business: Brisbane, Queensland, Australia       ##
8
## Licensed under the Open Software License version 3.0    ##
9
## http://www.opensource.org/licenses/osl-3.0.php          ##
10
##                                                         ##
11
#############################################################
12
13
14
INSTALLATION
112 by Vince Boros
Name change for GenGeo documentation
15
The following instructions describe how to install GenGeo on an Ubuntu distribution of Linux.
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
16
112 by Vince Boros
Name change for GenGeo documentation
17
1/ Download the GenGeo source code from the Bazaar repository:
18
bzr branch lp:esys-particle/gengeo gengeo
19
cd gengeo/build
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
20
21
2/ Create a configure script for your distribution:
22
./autogen.sh
23
112 by Vince Boros
Name change for GenGeo documentation
24
3/ Create the Makefiles for GenGeo:
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
25
./configure
26
27
If you are using gcc-4.3 or later, use the following configure command:
28
./configure CCFLAGS="-fpermissive" CXXFLAGS="-fpermissive"
29
30
To install in a location other than the default /usr/local, include the switch "--prefix=" followed by the location in which you want to install the libraries; for example:
112 by Vince Boros
Name change for GenGeo documentation
31
./configure --prefix=/home/username/gengeo/install
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
32
112 by Vince Boros
Name change for GenGeo documentation
33
4/ Build GenGeo:
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
34
make
35
112 by Vince Boros
Name change for GenGeo documentation
36
5/ Install the GenGeo libraries:
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
37
sudo make install
38
112 by Vince Boros
Name change for GenGeo documentation
39
6/ Update your environment variables (replace "2.6" with your version of Python, and replace "dist-packages" with "site-packages" if this is where your version of Python wants to install the GenGeo python scripts):
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
40
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
57 by vboros
LSMGenGeo installation update.
41
export PYTHONPATH=/usr/local/lib/python2.6/dist-packages/gengeo:$PYTHONPATH
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
42
112 by Vince Boros
Name change for GenGeo documentation
43
If you have installed in another location, e.g., /home/username/gengeo/install (replace 2.6 with your version of python):
44
export LD_LIBRARY_PATH=/home/myname/gengeo/install/lib:$LD_LIBRARY_PATH
45
export PYTHONPATH=/home/myname/gengeo/install/lib/python2.6/site-packages/gengeo:$PYTHONPATH
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
46
98 by Dion Weatherley
Multiple changes prior to lsmgengeo-1.0 release:
47
Set these variables permanently by adding the lines to your shell's initialization file in your home directory.  For example, if you are using the Bourne-Again Shell (bash), then add the lines to ~/.bashrc.
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
48
49
50
REINSTALLATION
51
To rebuild and reinstall the source code from a clean distribution:
52
sudo make uninstall
53
make distclean
102 by Dion Weatherley
Minor changes to ancillary help files and addition of doc/README.
54
./configure /* Add other arguments as needed from step 3 above. */
44 by vboros
There is now a build/ directory in which LSMGenGeo will be built, keeping the build files separate from the source tree.
55
make
56
sudo make install
57
58