Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29605 ディスカッション

use dfwin gives a compilation error

okemmesies
ビギナー
1,983件の閲覧回数
I try to compile my old CVF6.6 source code. But I always get an error message on USE DFWIN
"This is not a DEC Fortran module file [DFWIN]"

INTEGER FUNCTION mrqcof(hWnd, ... )
--> USE dfwin
INCLUDE 'param.inc'

What's wrong???
0 件の賞賛
2 返答(返信)
Steven_L_Intel1
従業員
1,983件の閲覧回数
Based on the symptom, I'm going to make the following guesses:

1. You have installed Intel Fortran.
2. You're trying to compile using CVF (whether you think you are or not, you are.)

The problem is this - installing Intel Fortran, even if you say no to integration with Visual Studio 6, inserts the INCLUDE and LIB paths for Intel Fortran ahead of the CVF paths, for both the command line and Developer Studio. CVF is finding the Intel Fortran DFWIN.MOD, which is incompatible with CVF.

To fix this - in Developer Studio (the CVF version), select Tools..Options..Directories. In the various directory types (Include, Library, Executable), delete the Intel Fortran directories from the lists.

That should take care of it. Note that you cannot have Intel Fortran using the Visual Studio 6 IDE when CVF is also installed - the two will conflict. You can use Intel Fortran from the command line, or in Visual Studio.NET, if you have it.

Steve
okemmesies
ビギナー
1,983件の閲覧回数
Thanx, I got it
Oliver
返信