© Interactive Software Services Ltd. 2007
As of the 7.10g update, Winteracter now formally supports the recently released Intel Fortran 10.0 compiler. However, in practice, earlier Winteracter releases are also compatible with the v10.0 compiler, subject to the minor issues noted below.
1. Winteracter Development Environment (WiDE)
1.1 All Platforms
When using WiDE with Intel Fortran 10, select whichever "Intel Fortran 8/9" compiler option is appropriate for your current platform. The same options are also suitable for use with Intel Fortran 10. This option is selectable via Settings|Compilers.
1.2 Microsoft Windows
On Microsoft Windows, some WiDE users seem to experience difficulty in correctly setting the PATH and LIB environment variables for use with Intel Visual Fortran. WiDE therefore normally attempts to locate the directories containing the compiler and its tools/libraries automatically. Up to and including Winteracter 7.10f, this automatic compiler location is designed to work with Intel Fortran 8.x and 9.x.
Automatic compiler tool/library directory detection has been upgraded as of v7.10g for the sake of IVF10. For users of earlier WiDE releases, this problem is not too difficult to work around. As for all compilers supported by WiDE, it is only necessary to ensure that the required compiler tool and library directories are specified in the PATH and LIB environment variables at the point when WiDE is invoked. However, some users find difficulty in determining which directories to include or where/how to set these variables. Some users also encounter difficulty in understanding the "scope" of an environment variable (e.g. setting an environment variable at a command prompt will have no effect if WiDE is invoked via the desktop or the Start menu).
One way to set PATH/LIB correctly is to open an Intel Visual Fortran command prompt window via the Start menu item "Programs|Intel® Software Development Tools|Intel® Fortran Compiler 10.0.xxx|Fortran build environment for applications running on . . .". (Note: This Start menu item description is necessarily generalised. The "xxx" will depend on the exact installed IVF version and the "Fortran build . . ." item will refer to either IA-32 or Intel®64.) The resulting command prompt window should have the PATH and LIB variables set correctly. You will be able to run WiDE from this window. However, as noted above, this method will not affect WiDE when invoked via Explorer, the Start menu or the desktop.
Another method is to manually update PATH and LIB via Control Panel, using "System|Advanced|Environment Variables". This method has the advantage of setting these variables for all methods of invoking WiDE, regardless of how you run it. There are however, two disadvantages:
The directories which need to be added to PATH and LIB for use with IVF10 vary depending on the compiler version, the selected IVF installation directory, target platform and the Visual Studio or Microsoft Platform SDK you have chosen to use. The following is an example list of the required directories for the IA-32 version of IVF 10.0.025, installed in its default location, with Visual Studio 2005 providing the supporting compiler tools (linker, etc):
Directories to be added to PATH:
C:\Program Files\Intel\Compiler\Fortran\10.0.025\IA32\Bin C:\Program Files\Common Files\Intel\Shared Files\IA32\Bin C:\Program Files\Microsoft Visual Studio 8\Common7\IDE C:\Program Files\Microsoft Visual Studio 8\VC\Bin C:\Program Files\Microsoft Visual Studio 8\Common7\Tools C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin C:\Program Files\Microsoft Visual Studio 8\VC\PlatformsSDK\Lib C:\Program Files\Intel\IDB\10.0\IA32\Bin
Directories to be added to LIB:
C:\Program Files\Intel\Compiler\Fortran\10.0.025\IA32\Lib C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\Lib C:\Program Files\Microsoft Visual Studio 8\VC\Lib C:\Program Files\Microsoft Visual Studio 8\VC\PlatformsSDK\Lib
2. Vectorizer Remarks
When compiling several of Winteracter's standard demo programs (e.g. pgdemo2), Intel Fortran 10 deviates from previous behaviour by generating significant numbers of unrequested "remarks" regarding DO loops which have been vectorized. This occurs on Windows x64, Linux/x86_64 and Mac OS X. This compiler behaviour occurs by default and is apparently intentional. The vectorizer "remarks" do not indicate any fault in the demo source code and should be ignored.
While this issue affects several Winteracter demos, the same unwanted behaviour is likely to be observed at the default compiler switch level with almost any code which incorporates DO loops, on the affected platforms. To suppress these unrequested/unwanted vectorizer messages and return Intel Fortran to the more conventional behaviour of the v9.x compiler, it is necessary to change all build procedures (including any switches in WiDE projects) to specify the following platform-dependent command line switches:
As of v7.10g, these switches have been added to the supplied Winteracter compile/link batch files or scripts on the affected platforms. WiDE's corresponding default compiler switches have also been amended at 7.10g.