Need help porting CVF to Intel 7.0

Need help porting CVF to Intel 7.0

We are currently starting to port our CVF 6.6B application to Intel Fortran 7.0, and I'm having a problem with DLLEXPORT which I never encountered in CVF.

The function looks as follows:

integer function DLLVER() result(ierr)
!DEC$ ATTRIBUTES DLLEXPORT :: DLLVER
implicit none
ierr = 4200
end

I get the error message:

Error 300 : In function/entry DLLVER with result name IERR, DLLVER is specified or referenced illegally

If I change the function to:

integer function DLLVER()
!DEC$ ATTRIBUTES DLLEXPORT :: DLLVER
implicit none
DLLVER = 4200
end

everything works

This occurs in near every function in our code (250,000 lines). I'd prefer not to change the code, as we believe it is clearer with the renaming the result. Is there anything I can do.

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Looks like a bug in the Intel compiler. Report it to Premier Support (https://premier.intel.com/)

Steve

Retired 12/31/2016

Steve,
We don't currently own the Intel 7.0, (although we have 40+ licenses of CVF). I'm using the evaluation download.

How do I get access to premier support?

You have access to Premier Support during the evaluation period. This should be explained in the e-mail containing your evaluation serial number.

Steve

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today