Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

Help for Quickwin using Intel Fortran

shenhawju
Beginner
769 Views
I have a simple Quickwin Fortran program that can be compiled by CVF 6.6 without any program. However, I always get the error in Intel Fortran 7.0. The major error is

Error FCE37 : Module DFLIB not found

Could anyone give me help. Many thanks.
0 Kudos
3 Replies
Steven_L_Intel1
Employee
769 Views
In Intel Fortran 7.x, you need to replace USE DFLIB with

INCLUDE 'FLIB.FD'

You may find some other changes are needed - Intel Fortran 7.x's QuickWin implementation is somewhat different from CVF's. This will all be reconciled in the future Intel Visual Fortran.

Steve
0 Kudos
Jugoslav_Dujic
Valued Contributor II
769 Views
...or, nicer, do it yourself:

MODULE DFLIB
INCLUDE "FLIB.FD"
END MODULE DFLIB

when/if porting to CVF/IVF, just remove the module above from the project.

Jugoslav
0 Kudos
Steven_L_Intel1
Employee
769 Views
No - this won't work. IF 7.1 will refuse to compile it because it disallows STRUCTURE/RECORD in MODULEs.

Steve
0 Kudos
Reply