[ADMB Users] macos weird install
sibert at hawaii.edu
Thu Jun 30 10:46:01 PDT 2011
Nice discussion, Mollie. You might want to export ADMB_HOME though
It is possible to have multiple copies of ADMB installed on a single
computer. It is not really necessary to install in /urs/local. It can be
installed anywhere, eg ~/myadmb. All you need to do is to set ADMB_HOME
to point to the directory where it is installed.
On 06/30/2011 06:42 AM, Mollie Brooks wrote:
> This isn't a problem; it's more of a surprise issue that I wanted to
> be sure was documented for the next person...
> I unknowingly had an old version of admb in /usr/local/bin that my
> computer was using. I could have found this out by typing in the terminal
> which admb
> This says where the computer goes to get admb.
> I noticed it the hard way when an old bug wasn't going away when I
> installed the new version. I deleted all existing versions, installed
> from scratch and then my computer didn't recognize the command admb
> because it was looking in the wrong place.
> I had ADMB_HOME=/usr/local/admb and path defined in .bashrc, but the
> default terminal shell window on macs doesn't read .bashrc
> automatically. I had to add the info to a file .bash_profile which
> does get automatically read.
> So if, after correctly installing, your computer doesn't recognize the
> command admb, you may need to do the following in the terminal
> nano .bash_profile
> export PATH=$ADMB_HOME/bin:$PATH
> hit Control+X then yes to save
> Users mailing list
> Users at admb-project.org
Emeritus Researcher, SOEST
University of Hawaii at Manoa
Visit the ADMB project http://admb-project.org/
More information about the Users