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

USE IFPORT not working for me

mike_desylva
Beginner
606 Views
I use several functions from the IFPORT library including FDATE, FLUSH, ITIME, and SLEEP. When I attempt to build I get linking errors that state for example:
"source.lib(gorun.obj) : error LNK2019: unresolved external symbol _FDATE@8 referenced in function _GORUN"
I attempted to use the "USE IFPORT" statement at the beginning of the subroutines that use the functions, but I still get the error. I also checked the environment variables to ensure the IVF libraries were in the path.
Thanks in advance for any suggestions.
Mike
0 Kudos
2 Replies
Steven_L_Intel1
Employee
606 Views
Do you also have /iface:cvf in your options? I suspect so. There is a bug where the ATTRIBUTES DEFAULT in IFPORT doesn't override /iface:cvf.
You can probably turn /iface:cvf off - Project Properties..Fortran..External Procedures..Calling Convention - change to Default.
0 Kudos
mike_desylva
Beginner
606 Views

You were right - that fixed it. Thanks!

Mike

0 Kudos
Reply