Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Porting to Compaq Visual Fortran 6

rhhaney145
Beginner
537 Views

Please Help,

I am new to Fortran and have been given a Fortran program to translate to Windows XP using Compaq Visual Fortran6.6 and am having some difficulty. The original Fortran program was written in Fortran90 and runs fine on the IRIX64 OS - which it was compiled on, but when I try and compile the files in Compaq Visual Fortran6.6 for Windows XP I get the following error:

Error: This is not a DEC Fortran module file.[NEW_TYPES]

A snippet of the code which is being compiled looks like the following:

program compose_2d

use new_types<- This is where my error is occuring

implicit none

include 'read.h'
include 'cg_assem_diagpre.h'
include 'lcoords.h'
include 'clump.h'
...

Is there a work-around for this using Visual Fortran6.6?

Thanks in advance for any help/hints.

0 Kudos
2 Replies
Steven_L_Intel1
Employee
537 Views

You need to first compile the source that contains the line:

MODULE NEW_TYPES

0 Kudos
rhhaney145
Beginner
537 Views
Thank you.
0 Kudos
Reply