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

Internal compiler error (C0000005) with F90VB modules

alb_f
Novato
3.879 Vistas

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 Solución
mfinnis
Nuevo Colaborador III
3.852 Vistas

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

 

 

Ver la solución en mensaje original publicado

6 Respuestas
mfinnis
Nuevo Colaborador III
3.853 Vistas

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

 

 

alb_f
Novato
3.843 Vistas

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.

mfinnis
Nuevo Colaborador III
3.818 Vistas

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
Novato
3.788 Vistas

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

JohnNichols
Colaborador Distinguido I
3.767 Vistas

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

alb_f
Novato
3.740 Vistas

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.

Responder