ADMB-11.3
Released May 22, 2015
Installing and using ADMB from binary zip distributions for Unix operating systems such as Linux, MacOS, Solaris and BSD.
The following programs are required to be installed on the local computer.
C++ compiler
Supported C++ Compilers for Unix
GNU stream editor (sed)
Note — For MacOS, install XCode with command line tools includes all the prerequistes.
Open a Terminal window
Download ADMB
Download binary zip distribution
Use the command below to extract contents of zip file to ~/admb/.
For Ubuntu 14 (64Bit),
[~]$ unzip admb-11.3-ubuntu14-64bit.zip
For Fedora 20 (64Bit),
[~]$ unzip admb-11.3-fedora20-64bit.zip
For Fedora 20 (32Bit),
[~]$ unzip admb-11.3-fedora20-32bit.zip
For Centos 6 and Oracle Solaris Studio 12.3 (32Bit),
[~]$ unzip admb-11.3-centos6-solarisstudio12.3-32bit.zip
For Centos 6 and Intel C++ Compiler (64Bit),
[~]$ unzip admb-11.3-centos6-intelicpc2013-64bit.zip
Use ADMB
In the Terminal window, use the steps below to build and run the simple example.
Change to simple example directory.
[~]$ cd admb/examples/admb/simple
Build simple example.
[~/admb/examples/admb/simple/]$ ~/admb/admb simple.tpl
For building with MinGW or Cygwin shells, use the 'admb.sh' script.
[~/admb/examples/admb/simple/]$ ~/admb/admb.sh simple.tpl
Run simple example.
[~/admb/examples/admb/simple/]$ ./simple
Read manuals for more information.
Optional — Multi-User Installation
Installs binary distribution folder to /usr/local/ as super-user.
[~/admb/]$ sudo make install
Build and run the simple example without the directory prefix.
[~]$ cd admb/examples/admb/simple
[~/admb/examples/admb/simple/]$ admb simple.tpl
[~/admb/examples/admb/simple/]$ ./simple
If unable to build simple example, then use the Manual Installation below.
Alternative — Manual Installation
Copy binary distribution folder to /usr/local/ as super-user.
[~]$ sudo cp -Rvf admb /usr/local/admb
Create symlink to main admb script. Directory /usr/local/bin/ should already exist.
[~]$ sudo ln -sf /usr/local/admb/admb /usr/local/bin/admb
For help and support, contact users@admb-project.org.
$Id$