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

Internal compiler error (C0000005) with F90VB modules

alb_f
Novice
863 Views

This piece of code

 

Module Utils
Use f90VBDefs
Use f90VBVariants
Use f90VBAutomation
Use f90VBBStrings
End Module Utils

 

when compiled gives an error:

 

------ Build started: Project: OLE, Configuration: Debug|Win32 ------

Compiling with Intel® Fortran Compiler Classic 2021.6.0 [IA-32]...
Mod_Utils.f90
fortcom: Fatal: There has been an internal compiler error (C0000005).

 

This is caused by the F90VB modules, just including only one of them in any source code file leads to this error. Sometimes however a build is succesfull, maybe one in 10 or one in 100 even.. Beforehand, using VS 2019 and Parallel Studio XE 2019 update 6, this problem occured also be it much less frequent.

 

is there a solution to this problem? Looks like the modules are incompatible with the compiler?
I cannot supply the modules, they are paid for, and the supplier Canaima is long out of existence.

The modules are quite old also and build by an older version of a fortran compiler.

There is also no source code available.
The environment is

Microsoft Visual Studio Professional 2022 (64-bit) - Current
Version 17.2.5

VisualStudio.17.Release/17.2.5+32616.157
Microsoft .NET Framework
Version 4.8.04084

Installed Version: Professional

Visual C++ 2022 00476-80000-00000-AA881
Microsoft Visual C++ 2022

Intel Libraries for oneAPI Package ID: w_oneAPI_2022.1.0.256
Intel Libraries for oneAPI – toolkit version: 2022.2.0, extension version 22.0.0.17, Package ID: w_oneAPI_2022.1.0.256, Copyright © 2019-2022 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.

Intel® Fortran Compiler Package ID: w_oneAPI_2022.1.0.256
Intel® Fortran Compiler – toolkit version: 2022.2.0, extension version 22.0.0066.17, Package ID: w_oneAPI_2022.1.0.256, Copyright © 2002-2022 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.

 

Thanks for any help!

0 Kudos
1 Solution
mfinnis
New Contributor II
836 Views

The module source files should be in your Canaimasoft\f90VB\DVF folder. You can compile them with your current compiler, however, you will have to insert a !DEC$ ATTRIBUTES CVF directive in each interface block. eg

 

 

    interface
        subroutine GUIDToStr(TGUID,GUIDStr,iRet)
!DEC$ ATTRIBUTES CVF :: GUIDToStr
            use f90VBDefs
            implicit none
            type(GUID),intent(in)::TGUID
            character(len=*),intent(out)::GUIDStr
            integer(HRESULT_KIND),intent(out),optional::iRet
        end subroutine GUIDToStr
    end interface

 

 

View solution in original post

0 Kudos
6 Replies
mfinnis
New Contributor II
837 Views

The module source files should be in your Canaimasoft\f90VB\DVF folder. You can compile them with your current compiler, however, you will have to insert a !DEC$ ATTRIBUTES CVF directive in each interface block. eg

 

 

    interface
        subroutine GUIDToStr(TGUID,GUIDStr,iRet)
!DEC$ ATTRIBUTES CVF :: GUIDToStr
            use f90VBDefs
            implicit none
            type(GUID),intent(in)::TGUID
            character(len=*),intent(out)::GUIDStr
            integer(HRESULT_KIND),intent(out),optional::iRet
        end subroutine GUIDToStr
    end interface

 

 

0 Kudos
alb_f
Novice
827 Views

Hi,

thanks for the reply.

We once bought the package from Canaima years ago and only got the modules and libraries, not the source code.

Therefore we cannot recompile.

0 Kudos
mfinnis
New Contributor II
802 Views

Are you sure? The install disk, at  least the one I had, installed documentation, examples, a few utilities and the fortran module source files as well as the module and library files. (The module sources being data, type definitions and interfaces, not library source code.)

alb_f
Novice
772 Views

Hi mfinnis,

the cdrom was bought over 20 years ago and we had many people coming and going since. Thus it went lost in the dust..

But I tried the recompiled modules and it seems to work well, building first time right!

Thank you very much for your help!

Saves us a lot of trouble

0 Kudos
JohnNichols
Valued Contributor III
751 Views

What is the software used for?  I cannot find it with a simple search, I get a Chinese website. 

0 Kudos
alb_f
Novice
724 Views

F90VB is a set of routines that resemble an interface to the Microsoft Excel and Word applications.

It is meant to be called from Intel Visual Fortran or Compaq Visual Fortran.

It is one of the very few like interfaces available for Fortran and works quite well with an extensive functions set.

Unfortunately the company that produced it does not exist anymore (hence the chinese/korean website content..) and the company that took over this package does not support it anymore, for 10 years already. Sad thing, since that means there is no 64bit version available and its use will gradually diminish to zero.

0 Kudos
Reply