Mercurial > hg > cfcfd3
annotate doc/sphinx/getting-started.rst @ 8:663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
author | Peter Jacobs <peterj@mech.uq.edu.au> |
---|---|
date | Wed, 25 Jan 2012 15:02:56 +1000 |
parents | |
children | a587197c464d |
rev | line source |
---|---|
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
1 Getting Started |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
2 =============== |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
3 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
4 Getting the current code collection |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
5 ----------------------------------- |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
6 The codes are available for download via a Mercurial repository. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
7 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
8 | $ cd ~ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
9 | $ hg clone ssh://cfcfd3@triton/cfcfd3-hg cfcfd3 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
10 | $ cd cfcfd3/extern/ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
11 | $ hg clone ssh://cfcfd3@triton/cea2-hg cea2 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
12 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
13 Notes |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
14 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
15 #. You will need a password for any access. Please ask. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
16 #. To push code changes, you will need access via ssh. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
17 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
18 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
19 Your computational environment |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
20 ------------------------------ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
21 The code collection comes as source code only so, |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
22 to use any of them, you will need to compile and install them. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
23 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
24 To build and run the newer codes, you will need the following: |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
25 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
26 * a Unix-like system with GNU-make, C and C++ compilers |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
27 * popt (command-line parser) library and development files |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
28 * readline library (including the header files, libreadline5-dev on Ubuntu) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
29 * Python + (with the numpy extension) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
30 * SWIG |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
31 * Tcl/Tk + the BWidget library (to run the GUI program e3console.tcl) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
32 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
33 We have been able to get the programs to build on Linux, MacOS-X |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
34 (with a recent Xcode development environment) and Cygwin 1.7 (on MS-Windows). |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
35 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
36 On MS-Windows, install the full kit of Cygwin (Python, X-Windows and all) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
37 and be careful not to have another Python installed outside of Cygwin. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
38 The multiple installations of Python seem not to play well together. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
39 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
40 Some other things that are useful: |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
41 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
42 * awk |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
43 * MetaPost (mpost) or, more recently, InkScape (for looking at and editing svg files) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
44 * GNUplot |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
45 * Paraview or MayaVi or VisIt |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
46 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
47 To a basic Fedora 16 installation, you should add the following packages: |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
48 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
49 #. bzr |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
50 #. gcc |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
51 #. gcc-c++ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
52 #. m4 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
53 #. gcc-gfortran |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
54 #. swig |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
55 #. python-devel |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
56 #. readline-devel (for Lua) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
57 #. popt-devel |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
58 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
59 To a basic Ubuntu 10.04 installation, you should add the following packages and their dependencies: |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
60 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
61 #. bzr |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
62 #. bzrtools |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
63 #. g++ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
64 #. m4 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
65 #. mpi-default-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
66 #. gfortran |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
67 #. swig |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
68 #. python-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
69 #. python-numpy |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
70 #. libreadline-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
71 #. libpopt-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
72 #. tk |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
73 #. bwidget |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
74 #. gnuplot |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
75 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
76 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
77 Getting the cfcfd2 (old) codes |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
78 ------------------------------ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
79 The older cfcfd2 code collection is still available using bazaar-ng. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
80 To get (read-only) access via http, use the command: |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
81 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
82 | cd $HOME |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
83 | bzr branch http://cfcfdlocal@triton.pselab.uq.edu.au/bzr-cfcfd2 cfcfd2 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
84 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
85 Notes |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
86 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
87 #. You will need a password for bzr access. Please ask. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
88 #. To push code changes, you will need access via ssh. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
89 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
90 |