NONMEM Users Network Archive

Hosted by Cognigen

RE: IntelVisualFortran Compiler 11.1, 64bit-systems, NONMEM7

From: Rik Schoemaker <Rik.Schoemaker>
Date: Tue, 23 Mar 2010 08:42:57 +0100

Dear Markus,
This is a well recognised problem with Intel Visual Fortran to do with
environment variables, and the general solution was documented by Bill
Bachman in the following post:
I've documented a setup (Win 7 64 bit) for my own system which might provide
additional help. Please note that these instructions are Visual Fortran
version specific! (file locations have changed from 11.0 to 11.1 for

Intel Visual Fortran 11.1 under Windows 7 64 bit

If you want to use a functionality like "start command prompt here" you need
to make and update a number of environment variables. This is a fairly
complex set of variables that can be found by examining what variables the
"Fortran Build Environment for applications running on Intel(R) 64" command
prompt that is generated during the installation creates. Check out the
properties of the command prompt and be aware that several batch files are
called in sequence.

The environment variables below were found to work with 11.1.048 on a 64 bit
Windows machine. Go to Control panel/System/Advanced system
settings/Advanced/Environment variables and modify (Edit..) or create
(New..) the variables below.


The following environment variables are needed and automatically created
during install if you use the default settings:



Value: C:\Program Files (x86)\Intel\Compiler\11.1\048\



Value: C:\Program Files (x86)\Common Files\Intel\Licenses


These need to be created manually:


Value: C:\Program Files (x86)\Microsoft Visual Studio 9.0\


Variable: LIB



Variable: INCLUDE



The PATH variable is updated during a full install with something like:

%IFORT_COMPILER11%lib\Intel64;%IFORT_COMPILER11%lib\ia32;C:\Program Files

but these additions are useless and can be removed if you like. Edit the
PATH variable and add at the beginning of the existing PATH:




The c:\nm710b\run\ addition is for NONMEM7 when installed in c:\nm710b
(saves you doing it later on)



Installing NONMEM VII under Windows 7 64 bit

For Windows 7, an edited SETUP7.bat file is required. The original
SETUP7.bat contains a line that states:


call .\util\dotest.bat %f%


This line should do a test of the compiler but does not work in Windows 7
and causes the installation procedure to crash. The entire line should be
removed (commenting out is not enough).


Assuming your installation files are located at c:\downloads\nonmem7, open a
command prompt and type:


setup7 c:\downloads\nonmem7 c:\nm710b ifort y link big norec i


this will install the Big version of NONMEM VII in directory nm710b.


Makes sure the annually updated license file is in C:\nm710b\license.
Nonmem7 can now be run from anywhere using the nmfe7 infile outfile command.


From: owner-nmusers
Behalf Of markus joerger
Sent: 23 March 2010 12:45 AM
Subject: [NMusers] IntelVisualFortran Compiler 11.1, 64bit-systems, NONMEM7

dear NONMEM-users,

It is one month that I try installing NONMEM on a 64-bit WIN7 system. First
I understood that IntelVisualFortran Compiler 11.1 was necessary because
good-old CompaqVisualFotran is not
compatible with 64-bit systems. By installing IntelVisualFortran 11.1, it
became clear that Microsoft
software-development-kits (SDK) have also to be installed. After (seemingly)
successful installation
of SDK and IntelVisualFotran 11.1, the software indicates
installation-command to be "ifort".

However, when trying to install NONMEM7 via MS-DOS and typing:

SETUP7 D: C:\nm7 ifort y link reg norec i unzip.exe

...compiler check fails, and "ifort" is not recognized, respectively.

Since I am not getting further help from ICON, I wonder if other users have
encountered similar problems. Generally, installation with new
IntelVisualFortran Compiler seems rather complex, especially for setting the
environmental properties.

thanks for any idea about how to proceed

best regards


Markus Joerger MD PhD
Department of Medical Oncology
Rorschacherstr. 95
9007 St. Gallen
phone: +41-765591070
fax: +41-714946368

Received on Tue Mar 23 2010 - 03:42:57 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: