Mercurial > hg > cfcfd3
annotate doc/sphinx/getting-started.rst @ 16:a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Have rescued the Theses and Reports content from the old web pages
and found a new home for it in the new order of things.
The actual PDF files for theses are not in the repository but
are in my ~/papers/theses directory and get copied over to the
web server after the Sphinx build is done.
author | Peter Jacobs <peterj@mech.uq.edu.au> |
---|---|
date | Tue, 31 Jan 2012 18:51:05 +1000 |
parents | 663bc627945e |
children | a54503138206 |
rev | line source |
---|---|
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
1 Getting the codes and preparing to run them |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
2 =========================================== |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
3 |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
4 The code repository |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
5 ------------------- |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
6 The codes are available for download from a Mercurial repository. |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
7 To make a clone of the repository: |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
8 |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
9 | $ cd $HOME |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
10 | $ hg clone https://cfcfdlocal@triton.pselab.uq.edu.au/cfcfd3-hg/cfcfd3-hg/ cfcfd3 |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
11 |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
12 This takes about 40 seconds on campus at UQ. |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
13 It may take much longer, depending on your internet connection. |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
14 |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
15 To see what's changed: |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
16 |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
17 | $ cd cfcfd3 |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
18 | $ hg incoming https://cfcfdlocal@triton.pselab.uq.edu.au/cfcfd3-hg/cfcfd3-hg/ |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
19 | ... |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
20 | $ hg pull -u https://cfcfdlocal@triton.pselab.uq.edu.au/cfcfd3-hg/cfcfd3-hg/ |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
21 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
22 Notes |
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 #. You will need a password for any access. Please ask. |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
25 #. You can read but not write with the "cfcfdlocal" username. |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
26 #. Some usernames (by negotiation) may push changesets back to the repository. |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
27 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
28 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
29 Your computational environment |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
30 ------------------------------ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
31 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
|
32 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
|
33 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
34 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
|
35 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
36 * 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
|
37 * 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
|
38 * 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
|
39 * 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
|
40 * SWIG |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
41 * 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
|
42 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
43 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
|
44 (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
|
45 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
46 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
|
47 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
|
48 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
|
49 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
50 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
|
51 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
52 * awk |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
53 * 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
|
54 * GNUplot |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
55 * 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
|
56 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
57 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
|
58 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
59 #. bzr |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
60 #. gcc |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
61 #. gcc-c++ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
62 #. m4 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
63 #. gcc-gfortran |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
64 #. swig |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
65 #. python-devel |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
66 #. 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
|
67 #. popt-devel |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
68 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
69 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
|
70 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
71 #. bzr |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
72 #. bzrtools |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
73 #. g++ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
74 #. m4 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
75 #. mpi-default-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
76 #. gfortran |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
77 #. swig |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
78 #. python-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
79 #. python-numpy |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
80 #. libreadline-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
81 #. libpopt-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
82 #. tk |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
83 #. bwidget |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
84 #. gnuplot |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
85 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
86 |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
87 SSH access to the repository for developers |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
88 ------------------------------------------- |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
89 Alternative access to the Mercurial repository for developers is possible via ssh. |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
90 You will need the password or your public key installed for any access. Please ask. |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
91 |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
92 | $ cd ~ |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
93 | $ hg clone ssh://cfcfd3@triton/cfcfd3-hg cfcfd3 |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
94 | $ cd cfcfd3/extern/ |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
95 | $ hg clone ssh://cfcfd3@triton/cea2-hg cea2 |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
96 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
97 |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
98 |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
99 |