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

Need help porting CVF to Intel 7.0

dhope
Beginner
708 Views
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.
0 Kudos
3 Replies
Steven_L_Intel1
Employee
708 Views
Looks like a bug in the Intel compiler. Report it to Premier Support (https://premier.intel.com/)

Steve
0 Kudos
dhope
Beginner
708 Views
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?
0 Kudos
Steven_L_Intel1
Employee
708 Views
You have access to Premier Support during the evaluation period. This should be explained in the e-mail containing your evaluation serial number.

Steve
0 Kudos
Reply