ADMB-11.6
Released December 20, 2016
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.
Supported C++ compiler 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.6-ubuntu14-64bit.zip
For Ubuntu 16 (64Bit),
[~]$ unzip admb-11.6-ubuntu16-64bit.zip
For Fedora 25 (64Bit),
[~]$ unzip admb-11.6-fedora25-gcc5.1-64bit.zip
For Fedora 25 (32Bit),
[~]$ unzip admb-11.6-fedora25-gcc5.1-32bit.zip
For Centos 6 and Oracle Solaris Studio 12.5 (64Bit),
[~]$ unzip admb-11.6-centos6-solarisstudio12.5-64bit.zip
For Centos 6 and Intel C++ Compiler 2017 (64Bit),
[~]$ unzip admb-11.6-centos6-intelicpc2017-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.
ADMB Foundation © 2007–2024