Installation of NONMEM in OS X El Capitan
Colleagues,
Recently, someone described a problem installation NONMEM 7.3 in the new
version of the Mac operating system (El Capitan). Alison Boeckmann and I each
installed successfully and Bob Bauer asked me to explain the procedure.
1. Install ElCapitan in the usual manner
2. Install Xcode
Open the App store
Click on "Updates”
Click on "Xcode Apple Version 7.1"
3. Open Xcode — you will probably be asked to authenticate (provide a
password) — this is critical — if you don’t do this, NONMEM won’t run.
4. Download and install gfortran from
https://gcc.gnu.org/wiki/GFortranBinaries#MacOS
https://gcc.gnu.org/wiki/GFortranBinaries#MacOS
using their installer (I deleted previous versions from before doing this step;
the default location is /usr/local/gfortran). Note that versions of Fortran
installed in previous versions of OS X will probably not work.
To confirm that gfortran works, in a terminal window, type:
gfortran -v
You should receive several lines of text, ending with something like:
gcc version 5.2.0 (GCC)
5. Install NONMEM in the usual manner.
This approach has worked for Alison Boeckmann and myself. If anyone tries it
and fails, please contact me ([email protected]
<mailto:[email protected]>) so that Alison and I can suggest additional
steps.
##################
Alison uses a different approach to install Fortran 5.2:
Download and install gcc and gfortran from
http://hpc.sourceforge.net
sudo tar -xvf gcc-5.2-bin.tar -C /
sudo tar -xvf gfortran-5.2-bin.tar -C /
Regardless of the approach that you use to install gfortran, it is necessary
that the PATH environment variable knows the location of gfortran. As noted
above, gfortran is usually installed in
/usr/local/gfortran.
However, it is symbolically linked to
/usr/local/bin/gfortran
(and /usr/local/bin is almost always in $PATH).
###################
Dennis
Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-866-PLessThan (1-866-753-7784)
www.PLessThan.com http://www.plessthan.com/