Revision 1339 trunk/QuickStartUnix.txt

QuickStartUnix.txt (revision 1339)
1
ADMB Project  
2
============
1
#ADMB Project  
3 2
*ADMB-11.1*  
4 3
*Released May 10, 2013*  
5 4

  
6
Describes QuickStart installation procedures for Unix distributions.
5
Describe ADMB build and installation procedures for Unix distributions.
7 6

  
8 7
---
9 8

  
9
Prerequisites
10
-------------
11

  
12
The following programs should be installed on the local computer.
13

  
14
* GNU sed
15
* GNU flex
16
* GNU make
17
* C++ compiler
18
* Subversion Client
19

  
10 20
Quick Start Unix
11 21
----------------
12 22

  
13
1. Download [ADMB source distribution](download).
23
1. Open a **Terminal** window
14 24

  
15
   [download]: http://www.admb-project.org/downloads/
25
2. Download ADMB
16 26

  
17
2. Open a **'Terminal'** window.
27
   To get the most current code, download from directly from 
28
   ADMB version control using the command below.
18 29

  
19
3. Extract downloaded file in **'HOME'** directory.
30
       [~]$ svn checkout http://www.admb-project.org/svn/trunk admb
20 31

  
21
   `[~]$ unzip admb-latest-src.zip`
32
   This will download admb trunk folder to _~/admb/_.
22 33

  
23
4. Change to admb directory.
34
   If **unable** to checkout, download [ADMB source distribution](download).
35
 
36
   [download]: http://www.admb-project.org/buildbot/snapshots/admb-latest.zip
24 37

  
25
   `[~]$ cd admb`
38
   Use the command below to extract to _~/admb/_. 
26 39

  
27
5. Build libraries 
40
       [~]$ unzip admb.zip
28 41

  
29
   `[~/admb/]$ make`
42
3. Change to admb directory.
30 43

  
31
   To build with debug symbols,
44
       [~]$ cd admb
32 45

  
33
   `[~/admb/]$ make debug`
46
4. Build ADMB distribution
34 47

  
35
   To build shared library,
48
       [~/admb/]$ make
36 49

  
37
   `[~/admb/]$ make shared`
50
   Build with debug symbols,
38 51

  
39
   Takes approximately 15-25 minutes to complete.
52
       [~/admb/]$ make debug
40 53

  
41 54
   Use help to show available compiler targets.
42 55

  
43
   `[~/admb/]$ make help`
56
       [~/admb/]$ make help
44 57

  
45
6. Build run the simple example.
58
5. Test ADMB
46 59

  
47
   `[~/admb/]$ cd examples/admb/simple`
60
   The following commands build and run the simple example.
48 61

  
49
   `[~/admb/examples/admb/simple/]$ ~/admb/admb simple`
62
       [~/admb/]$ cd examples/admb/simple
63
       [~/admb/examples/admb/simple/]$ ~/admb/admb simple.tpl
64
       [~/admb/examples/admb/simple/]$ ./simple
50 65

  
51
   `[~/admb/examples/admb/simple/]$ ./simple`
66
6. **[OPTIONAL]** Installation
52 67

  
53
7. *[Optional]* Installation
68
   Avoids the need the to include path with the admb script.
54 69

  
55
   Copy entire distribution.
70
   Copy entire distribution folder.
56 71

  
57
   `[~/admb/]$ sudo cp -Rvf ../admb /usr/local/admb`
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff