NONMEM Tips #22 - June 20, 2005 - Upgrading to Intel 9.0Fortran for Windows

From: William Bachman Date: June 20, 2005 technical Source: cognigencorp.com
From: "Bachman, William (MYD)" bachmanw@iconus.com Subject: [NMusers] NONMEM Tips #22 - June 20, 2005 - Upgrading to Intel 9.0Fortran for Windows Date: Mon, June 20, 2005 3:46 pm The most difficult part of upgrading your NONMEM and/or Pdx-Pop Installations to use Intel 9.0 Fortran for Windows is the installation of Intel's new compiler. For some reason, the instructions they provide are never quite clear (IMO) and the licensing issue compounds the problems. Once the new compiler is installed however, installation and running of NONMEM and PDx-Pop are trivial. The initial problem I encountered with the Intel installation was using the option to use a serial number. I kept getting "you have used an invalid serial number" no matter how many times I contacted Intel support and verified the number. Once I switched to the option to use a license file (supplied as an email attachment by Intel), installation proceeded without further issues. The other issue you may encounter is if you have previous versions of Intel Fortran installed on your system. The environmental variables may still have settings that point to previous versions of the compiler so that if you run the compiler command ("ifort") from a DOS window, it may tell you that you are running version 8.0 instead of 9.0. To circumvent this issue, manually edit your system environment variables. (Remove paths to version 8.0 from the PATH, LIB & INCLUDE variables and replace, as necessary, with the correct paths for version 9.0.) The ifortvars.bat (found in the "C:\Program Files\Intel\Compiler\Fortran\9.0\IA32\Bin" directory (for my installation) will provide the information you need for the variables for version 9.0. Once you have modified your environment, test that you are getting version 9.0 by running "ifort" from a DOS window. The response should look something like: C:\nmi9\run>ifort Intel(R) Fortran Compiler for 32-bit applications, Version 9.0 Build 20050430Z Package ID: W_FC_P_9.0.018 Copyright (C) 1985-2005 Intel Corporation. All rights reserved. ifort: Command line error: no files specified; for help type "ifort -help" I then ran the following tests: (1) setup.bat (version 4.0 )to test installing NONMEM using the new compiler (no problems were encountered with the installation of NONMEM): setup a c nmi9 ifort y link (Similarly, no problems were encountered with the CDsetup.bat found on the CD-ROM distribution of NONMEM. "D:> cdsetup d c nmi9cd ifort y link") (2) running the control5 test problem: C:\nmi9\run> nmfe5 control5 report5.txt or (3) running PDx-Pop with the new compiler (the nonmemdir entry was changed in the PDx-Pop.ini to reflect the new directory that I used). Tests were done on a system running Microsoft Windows 2000 Professional. No compatibility problems with Windows XP are anticipated. William J. Bachman, Ph.D. Manager, Pharmacometrics Research and Development GloboMax The Strategic Pharmaceutical Development Division of ICON plc 7250 Parkway Drive, Suite 430 Hanover, MD 21076 410-782-2212 bachmanw@iconus.com
Jun 20, 2005 William Bachman NONMEM Tips #22 - June 20, 2005 - Upgrading to Intel 9.0Fortran for Windows
Jun 25, 2005 Leonid Gibiansky Re: NONMEM Tips #22 - June 20, 2005 - Upgrading to Intel9.0 Fortran for Windows