How to apply the Intel Visual Fortran 9 compiler for ANSYS CFX 10 applications?

ANSYS CFX 11 will be switching from Digital Fortran to Intel Visual Fortran 9 for the officially supported compiler
to build user fortran for the CFX solver on Windows platforms. For those who already have Intel Visual Fortran 9,
it is possible to configure your ANSYS CFX 10 installation to work with the new compiler. This note outlines the
necessary configuration steps.

1) Install the compiler as outlined in the Intel Visual Fortran Installation Guide
( Two key items
to note are:

a. The Microsoft C++ .NET 2003 compiler and linker must be installed for IVF9 to function. Command-line versions
of these tools sufficient to enable use with ANSYS CFX 10.0 are available for free from

<a target=_blank href=""></a>

b. The compiler must be configured to run in a command-line environment by executing


2) You must edit the cfx5mkext.ccl file in the <CFXROOT>/etc directory of your CFX installation
to set the necessary arguments to use the IVF9 compiler as the default compiler for ANSYS CFX 10.
Locate the `OS:winnt` object inthe file, and change the configuration settings to be as follows.

OS: winnt
cc = cl
fc = ifort
ld = link
cxx = cl
ext build cflags = -MD
ext build fflags = -iface:cvf -MD
ext link ldflags = -threads -dll
ext link lib5files = solver-pvm.lib
cppincflag f = -include:
cppflags f = -fpp
fc outopt obj = -object:
fc outopt exec = -exe:
cc outopt obj = -Fo
ext lib suffix = dll
ext lib pattern = %s.dll
ATTRS: double
ext build fflags = -iface:cvf -integer_size:32 -real_size:64 -MD
ext link lib5files = solver-pvm.lib

Once this change ismade, you can now use `cfx5mkext` command as normal to create User Fortran object files
using the IVF9 compiler.

Show Form
No comments yet. Be the first to add a comment!