PRODUCTS: NONMEM® USER TIPS

These tips are brought to you as information of interest from experiences in using NONMEM. All tips can also be found in the tips folder on the NONMEM Repository@GloboMax.

Tip # 23 - Installing NONMEM VI on a MacBook Pro under OS X (UPDATED March 26, 2007):

Marc Gastonguay (Metrum) has reported that there is a version of g95
specific to the MacBook Pro under OS X available that uses the Intel
machine constants (g95-x86-osx.tgz). (We originally reported a version
that originated for the Power PC and used the IEEE constants).

It is our recommendation that the g95 version specific to the MacBook
Pro under OS X available (using the Intel machine constants) should be
used for running NONMEM and PDx-Pop for the Mac (g95-x86-osx.tgz).

nmconsult@iconus.com
Icon Development Solutions
6031 University Blvd., Suite 300
Ellicott City, MD 21043
Phone 410-696-3098

-----Original Message-----
From: Gastonguay, Marc
Sent: Friday, January 05, 2007 12:15 PM
To: Bachman, William (MYD)
Subject: Re: [NMusers] NONMEM Tips #23 - December 21, 2006 - Installing
NONMEM VI on a MacBook Pro under OS X

Bill,
We successfully implemented your suggested options for a NMVI
installation on Intel MacBook Pro (similar specs to yours, but 2 GHz and
2GB RAM) with the following differences:
1) Intel constants
2) x86 OSX g95 compiler (g95-x86-osx.tgz) found at ftp.g95.org

NONMEM installation was run using the SETUP utility, although we also
plan to try this with NMQUAL.

We've only run a couple of models, but looks good so far. We were also
successful with an INFN subroutine (older tests with gfortran indicated
a bug with include statements in the INFN, but that is not a problem
with g95). We'll let you know if we come across anything else as we
gain experience on this platform.

Thanks for your help.
Marc

Bachman, William (MYD) wrote:
> In order to extend our body of knowledge of platforms used by our
> NONMEM users, we have investigated installation of NONMEM VI on a
> MacBook Pro. Much to our delight, it was a relatively easy
> experience. Essentially, we followed the Linux installation
> instructions given in Section III of the readme_6.1.0.doc found on the

> NONMEM VI installation CD-ROM with ONE notable exception. Despite the
> fact that the MacBook Pro uses an Intel Core 2 Duo processor, the IEEE
> machine constants were used and NOT the Intel machine constants
> (this can be done by not specifying an argument for the machine
> constants as IEEE is the default).
>
> The setup command used was:
> ./SETUP /opt/nmvi g95 '-O -fsloppy-char' /usr/bin/ar
>
> (This specifies an installation directory of /opt/nmvi, the g95
> compiler using the -O -fsloppy-char optimization options (enclosed in
> single quotes), the archive command path and, by default, the IEEE
> constants. The "./" before the command is required if your csh shell
> environment does not include the current directory, ".", in the PATH
> variable to execute any program in the current directory.)
>
> System Specifics:
> MacBook Pro 2,2
> Intel Core 2 Duo, 2.16 GHz
> 1 GB Memory
> Mac OS X 10.4.8 (Tiger)
> Installation and NONMEM runs done using the Mac Terminal Utility >
> Required additional software:
> g95 Fortran compiler (g95-powerpc-osx.tar obtained from
> http://ftp.g95.org)
> Xcode 2.4.1 Developers Tools (free from Apple)
>
> A particularly helpful website for high performance computing on the
> Mac (with respect to computation tools for the Mac) can be found at
> http://hpc.sourceforge.net, ). This report represents preliminary
> results of our Mac investigations. Additional Mac-related information
> will be reported at a later date. Other NONMEM users have reported
> that the commercial Intel compiler is also a viable Fortran compiler
> for the Mac. Any additional Mac information that other nmusers would
> like to share will be greatly appreciated.
>
>
> William J. Bachman, Ph.D.
> Director, Pharmacometrics R&D
> Icon Development Solutions
> 6031 University Blvd., Suite 300
> Ellicott City, MD 21043