[ADMB Users] macos weird install
John Sibert
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.
John
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
>
> cd
> nano .bash_profile
>
> ADMB_HOME=/usr/local/admb
> export PATH=$ADMB_HOME/bin:$PATH
>
> hit Control+X then yes to save
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
--
John Sibert
Emeritus Researcher, SOEST
University of Hawaii at Manoa
Visit the ADMB project http://admb-project.org/
More information about the Users
mailing list