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

From: Rik Schoemaker Date: March 23, 2010 technical Source: mail-archive.com
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. _____
Quoted reply history
From: [email protected] [mailto:[email protected]] On 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 [email protected] [email protected] phone: +41-765591070 fax: +41-714946368