NONMEM Users Network Archive

Hosted by Cognigen

NONMEM 7.1.0 Known Problems - Update 01OCT09

From: Ludden, Thomas <Thomas.Ludden>
Date: Thu, 1 Oct 2009 11:02:54 -0400

With gfortran on Linux the SETUP7 script on the NONMEM 7.1.0
distribution CD does not provide optimization as the default or when it
is requested. However, the SETUP7 script can be edited to provide an
installation with optimization. (NOTE: The SETUP7.bat batch file for
installation of NONMEM 7.1.0 on Windows does provide optimization as the
default and if requested. No changes are needed to this file.)

1) Copy the contents of the NONMEM 7.1.0 distribution CD to a directory,
e.g. nm7CD, and change to that directory.

2) Edit the SETUP7 script by adding the statements between #***'s to the
section of SETUP7 code shown below.

# options for compile
op=" "
if [[ $o == y ]]; then
#*** Change IDS#1 30 Sept 2009
if [[ $ftail == gfortran ]]; then
op="-O3 -ffast-math "
if [[ $os == Darwin && $ftail == ifort ]]; then
op="-Gs -nologo -nbs -w -Ob1gyti -Qprec_div -4Yportlib -traceback
if [[ $os != Darwin && $ftail == ifort ]]; then
op="-static -Gs -nologo -nbs -w -Ob1gyti -Qprec_div -4Yportlib
-traceback -vec-report0"
if [[ $ftail == g95 && $os != "SunOS" ]]; then
op="-O3 -ffast-math -fsloppy-char"

3) Save the modified SETUP7 script.

4) Make a new directory, e.g. ../nm7.

5) Use the following or a similar command, depending upon other options
that are chosen, to perform the installation.

/bin/bash SETUP7 <path>/nm7CD <path>/nm7 gfortran y ar

This will install into nm7 and preserve the nm7CD directory as an image
of the CD but with the edited SETUP7 file.
ICON plc made the following annotations.
This e-mail transmission may contain confidential or legally privileged i=
that is intended only for the individual or entity named in the e-mail ad=
dress. If you
are not the intended recipient, you are hereby notified that any disclosu=
re, copying,
distribution, or reliance upon the contents of this e-mail is strictly pr=
ohibited. If
you have received this e-mail transmission in error, please reply to the =
sender, so that
ICON plc can arrange for proper delivery, and then please delete the mess=
Thank You,
ICON plc
South County Business Park
Dublin 18
Registered number: 145835

Received on Thu Oct 01 2009 - 11:02:54 EDT

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to:

Once subscribed, you may contribute to the discussion by emailing: