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

Converting CVF to IVF problems

postaquestion
Novice
385 Views

We have problems on Converting CVF to IVF to create a new DLL file in order to run *.exe created by CVF.

We have the EXE file and the DLL file produced by Compaq Visual Fortran (version 6.6). Recently we have converted this CVF project from CVF (version 6.6) to IVF (version 9.1.3192.2005 with Microsoft Visual Studio 2005) exactly following the procedure given by Dr. Steve Lionel. After all steps, the project looks likely to convert successfully. But we cant build this project by the IVF (version 9.1). Following is the message from BuildLog.ht
----------------------------------------------------------
Build started: Project: methods, Configuration: Debug|Win32 ----

Compiling with Intel Fortran 9.1 C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\...

ifort /nologo /Zi /Od /warn:unused /assume:byterecl /fpe:0 /iface:cvf /module:"Debug/" /object:"Debug/" /traceback /check:bounds /libs:static /threads /dbglibs /c /dll /Qvc8 /Qlocation,link,"C:\Program Files\Microsoft Visual Studio 8\VC\bin" "C:\priject\methods\src\AtmAbsopt_NPL.f90"
...

ifort /nologo /Zi /Od /warn:unused /assume:byterecl /fpe:0 /iface:cvf /module:"Debug/" /object:"Debug/" /traceback /check:bounds /libs:static /threads /dbglibs /c /dll /Qvc8 /Qlocation,link,"C:\Program Files\Microsoft Visual Studio 8\VC\bin" "C:\project\lib\err.f90"
...

ifort /nologo /Zi /Od /warn:unused /assume:byterecl /fpe:0 /iface:cvf /module:"Debug/" /object:"Debug/" /traceback /check:bounds /libs:static /threads /dbglibs /c /dll /Qvc8 /Qlocation,link,"C:\Program Files\Microsoft Visual Studio 8\VC\bin" "C:\ project\lib\tables.f90"

0_46301

Severe: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for C:\Soprano\src\FOR\win\lib\tables.f90 (code 3)
methods build failed.
-----------------------------------------------------------

Also we have tried to build this converted project by IVF (version 10.0.3718.2005 with Microsoft Visual Studio 2005 Premier Partner Edition), there is no a problem at all. The new methods.dll has been produced. But we cant run MethodsMain.exe correctly. Here is the error message:
------------------------------------------------------------
forrtl: severe (408): fort: (2): Subscript #1 of the array INTCONST has value 5
which is greater than the upper bound of 4

Image PC Routine Line Source
methods.dll 1014AB66 Unknown Unknown Unknown
methods.dll 101470F9 Unknown Unknown Unknown
methods.dll 100541BE Unknown Unknown Unknown
methods.dll 10053670 Unknown Unknown Unknown
methods.dll 10044E74 METHOD 124 method.f90
MethodsMain.exe 004328AE Unknown Unknown Unknown
MethodsMain.exe 00494349 Unknown Unknown Unknown
MethodsMain.exe 0049429F Unknown Unknown Unknown
kernel32.dll 7C816FD7 Unknown Unknown Unknown
------------------------------------------------------------

Could you please help us to fix those problems? Thank you very much.

0 Kudos
1 Reply
Les_Neilson
Valued Contributor II
385 Views

I can't comment on the internal compiler error (but if it compiles with IVF 10 then it would appear to have been fixed)

The second error is exactly what it says :
Somewhere in your code you have an array INTCONST with the first (or only) subscript having an upper bound of 4
(eg INTEGERINTCONST(4) or INTEGER, DIMENSION(4) INTCONST)
Then you have some code where the first (or only) subscriptinto the array INTCONST has a value of 5

Les

0 Kudos
Reply