NONMEM Tips #19- Jan 8, 2004 -

From: William Bachman Date: January 08, 2004 technical Source: phor.com
From: "Bachman, William (MYD)" - bachmanw@iconus.com Subject: [NMusers] NONMEM Tips #19- Jan 8, 2004 - Notes of the Installation and use of NONMEM V with Intel Fortran 8.0 for Windows Date: 1/8/2004 4:21 PM NONMEM may successfully be installed and used with Intel Fortran 8.0 for Windows but it is a somewhat problematic process. Some specific comments: 1. Intel Fortran 8.0 requires the purchase and installation of Visual Studio C++ .Net 2003 which in itself is a rather lengthy but relatively trouble-free process. It required the installation of Service Pack 4 on Windows 2000 and other "pre-requisites" which were supplied on a separate CD-ROM. (Installation of IIS and FrontPage Server Extensions was skipped without any repercussions). "Step3" of the Visual Studio C++ .Net installation, the installation of the msdn library and Visual C++ help files may also be omitted in the interest of saving disk space. The Standard Edition of Visual Studio C++ .Net 2003 was sufficient for Intel Fortran 8.0 installation. 2. The second release of Intel Fortran 8.0 (w_fc_bc_8[1].0.036.exe) must be used. The first distribution was released without the ability to compile at the command line using wildcards! C:\nmi8\nm>ifort /c *.for Intel(R) Fortran Compiler for 32-bit applications, Version 8.0 Build 20031017Z Package ID: w_fc_p_8.0.035 Copyright (C) 1985-2003 Intel Corporation. All rights reserved. error: can't open file *.obj for write compilation aborted for *.for (code 1) This was corrected in the second release. 3. Setting the environmental variables is also troublesome. The Intel Fortran 8.0 installation programs allows you to "Automatically define Intel Fortran environmental variables". However, this does NOT set the variables for the system's DOS environment, it sets them for the "Build Environment for Fortran IA-32 applications" that is accessed via the Programs menu. The procedure I used to set the environment for the system's DOS environment was to open a DOS window, record the existing environment, set the environment for Intel Fortran by using the Intel-supplied ifortvars.bat file, re-record the environment, compare the environments before and after running ifortvars.bat with respect to the PATH, LIB and INCLUDE variables, and finally make the necessary changes to these variables in the USER environmental variables (not the SYSTEM environmental variables) using the Control Panel. Thereafter, the DOS environment was correct for running "ifort", the command line instruction for the compiler. (Detailed instructions on this step can be supplied on request.) 4. NONMEM was installed using the currently distributed version of setup.bat (version 4.0) after all 18 instances of "ifl" were replaced with "ifort". The command line arguments used were "setup a c nmv ifort y". The replacement of "ifl" was not strictly necessary, but it supressed the warning message: ifl: warning: The Intel Fortran driver is now named ifort. You can suppress this message with '-quiet' Intel(R) Fortran Compiler for 32-bit applications, Version 8.0 Build 20031211Z Package ID: w_fc_pc_8.0.036 Copyright (C) 1985-2003 Intel Corporation. All rights reserved. 5. The NONMEM installation created in this manner was fully compatible with PDx-Pop use. (This tip is supplied "gratis" and without implicit or explicit support from GloboMax LLC). Previous tips may be found in the NONMEM Repository@GloboMax: ftp://ftp.globomaxnm.com/Public/nonmem/tips/ See the index.txt file for a listing of previous tips. *************************************************************************** If you have a "tip" or a better way to do things, by all means, feel free to post them! One of the reasons for doing this (other than good PR for GloboMax), is to stimulate discussion. We at GloboMax can learn from your experience as well. Do you have a "tip" you would like to share, but would prefer to remain anonymous? If so, you may forward it to us and your identity will be withheld. Distribution as a "NONMEM Tip" will be at the discretion of nmconsult@globomaxnm.com. *************************************************************************** nmconsult@globomaxnm.com GloboMax® The Strategic Pharmaceutical Development Division of ICON plc 7250 Parkway Drive, Suite 430 Hanover, MD 21076 Voice: (410) 782-2205 FAX: (410) 712-0737 _______________________________________________________