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 13:49:04 +0100

Dear Bill,
 
This is most obviously a Visual Fortran problem and ICON is in no way to
blame. If only Intel would come up with an automatic (and correct!) update
of environment variables...
 
Cheers,
 
Rik

  _____

From: Bachman, William [mailto:William.Bachman
Sent: 23 March 2010 1:41 PM
To: Rik Schoemaker; markus joerger; NONMEM
Subject: RE: [NMusers] IntelVisualFortran Compiler 11.1, 64bit-systems,
NONMEM7


Dear Rik,
 
Yes, this is indeed Markus' problem which I have communicated to him
directly. Thanks very much for your Version 11 and 64-bit specific input.
Every version of Intel Fortran seems to change the process just enough to
confuse the issue even more. We hope our users see the magnitude of the
issue ICON faces: We have tried for better or worse to design NONMEM 7 to
run with ALL Fortran 95 compilers on ALL possible platforms. We do not have
all possible permutations and combinations in house yet we still try to help
not only with the installation of our products but with third party products
for which we have no part in the design and installation. I personally
regret if we sometimes are less successful than 100% and any frustation that
may result.
 
Best regards,
Bill
 
William J. Bachman, Ph.D.
Director, Pharmacometrics R&D
Icon Development Solutions
6031 University Blvd., Suite 300
Ellicott City, MD 21043
Office 215-616-8699
Cell 301-467-8635
William.Bachman


  _____

From: owner-nmusers
Behalf Of Rik Schoemaker
Sent: Tuesday, March 23, 2010 3:43 AM
To: 'markus joerger'; 'NONMEM'
Subject: RE: [NMusers] IntelVisualFortran Compiler 11.1, 64bit-systems,
NONMEM7


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:
http://www.cognigencorp.com/nonmem/current/2009-October/2077.html
 
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
instance).
 
Cheers,
 
Rik
 

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:

 

Variable: IFORT_COMPILER11

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

 

Variable: INTEL_LICENSE_FILE

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

 

These need to be created manually:

Variable: VSINSTALLDIR

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

 

Variable: LIB

Value:
%IFORT_COMPILER11%\Lib\intel64;%VSINSTALLDIR%\VC\lib\amd64;%VSINSTALLDIR%\VC
\PlatformSDK\lib\x64;

 

Variable: INCLUDE

Value:
%IFORT_COMPILER11%\Include;%IFORT_COMPILER11%\Include\Intel64;%VSINSTALLDIR%
\VC\atlmfc\include;%VSINSTALLDIR%\VC\include;%VSINSTALLDIR%\VC\PlatformSDK\i
nclude;

 

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

%IFORT_COMPILER11%lib\Intel64;%IFORT_COMPILER11%lib\ia32;C:\Program Files
(x86)\Intel\Compiler\11.0\074\fortran\mkl\em64t\bin;

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:

 

c:\nm710b\run\;%IFORT_COMPILER11%\Bin\intel64;%VSINSTALLDIR%\Common7\IDE;%VS
INSTALLDIR%\Common7\Tools;%VSINSTALLDIR%\Common7\Tools\bin;%VSINSTALLDIR%\VC
\BIN\x86_amd64;%VSINSTALLDIR%\VC\PlatformSDK\bin;

 

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
To: NONMEM
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:

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

...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

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

ICON plc made the following annotations.

----------------------------------------------------------------------------
--

This e-mail transmission may contain confidential or legally privileged
information

that is intended only for the individual or entity named in the e-mail
address. If you

are not the intended recipient, you are hereby notified that any disclosure,
copying,

distribution, or reliance upon the contents of this e-mail is strictly
prohibited. 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
message.

Thank You,

ICON plc

South County Business Park

Leopardstown

Dublin 18

Ireland

Registered number: 145835



Received on Tue Mar 23 2010 - 08:49:04 EDT

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to: nmusers-request@iconplc.com.

Once subscribed, you may contribute to the discussion by emailing: nmusers@globomaxnm.com.