Revision 1364

trunk/QuickStartUnix.txt (revision 1364)
1
#ADMB Project  
2
*ADMB-11.1*  
3
*Released May 10, 2013*  
4

  
5
Describe ADMB build and installation procedures for Unix operating systems such as Linux, MacOS, Solaris and BSD.
6

  
7
---
8

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

  
12
The following programs should be installed on the local computer.
13
_**Note**: For MacOS, install XCode with command line tools._
14

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

  
21
Quick Start Unix
22
----------------
23

  
24
1. Open a **Terminal** window
25

  
26
2. Download ADMB
27

  
28
   To get the most current code, download from directly from 
29
   ADMB version control using the command below.
30

  
31
       [~]$ svn checkout http://www.admb-project.org/svn/trunk admb
32

  
33
   This will download admb trunk folder to _~/admb/_.
34

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

  
39
   Use the command below to extract to _~/admb/_. 
40

  
41
       [~]$ unzip admb.zip
42

  
43
3. Change to admb directory
44

  
45
       [~]$ cd admb
46

  
47
4. Build ADMB distribution
48

  
49
   To build ADMB, use the commands below.
50

  
51
       [~/admb/]$ make
52

  
53
   _**Note**: ADMB will be built in ~/admb/build/dist/._
54

  
55
   If debug symbols are needed, use the commands below.
56

  
57
       [~/admb/]$ make debug
58

  
59
5. Test ADMB
60

  
61
   The following commands build and run the simple example.
62

  
63
       [~/admb/]$ cd examples/admb/simple
64
       [~/admb/examples/admb/simple/]$ ~/admb/admb simple.tpl
65
       [~/admb/examples/admb/simple/]$ ./simple
66

  
67
6. **[OPTIONAL]** Installation
68

  
69
   Avoids the need the to include path with the admb script.
70

  
71
   Copy entire distribution folder.
72

  
73
       [~]$ sudo cp -Rvf admb /usr/local/admb
74

  
75
   Create symlink to main admb script.  Directory _/usr/local/bin/_ should 
76
   already exist.
77

  
78
       [~]$ sudo ln -sf /usr/local/admb/admb /usr/local/bin/admb
79

  
80
   After copying, build and run the simple example.
81

  
82
       [~]$ cd admb/examples/admb/simple
83
       [~/admb/examples/admb/simple/]$ admb simple.tpl
84
       [~/admb/examples/admb/simple/]$ ./simple
85

  
86
--------------------------------------------------------------------------------
87
For help and support, email <users@admb-project.org>.
88

  
89
$Id$
trunk/QuickStartWindows.txt (revision 1364)
1
#ADMB Project 
2
*ADMB-11.1*  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff