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

Inconsistent linking IFPORT

DavidWhite
Valued Contributor II
305 Views
I am using the same copy of a file in two projects. It has the line
USE ifport, only : SYSTEM, GETLOG, GETENV, GETFILEINFOQQ, DELFILESQQ

One project compiles successfully, the other gives unresolved references on GETLOG and GETENV.

What settings could prevent the linker finding IFPORT?

Thanks,

David
0 Kudos
1 Solution
Steven_L_Intel1
Employee
305 Views
The other setting to look at is Fortran > Compatibility > Use Powerstation Compatibility Library. This is set to Yes by default.

View solution in original post

0 Kudos
3 Replies
Anonymous66
Valued Contributor I
305 Views

One setting to check is Properties > Libraries > "Disable Default Library Search Rules." It should be set to "No"

Annalee

0 Kudos
DavidWhite
Valued Contributor II
305 Views
Annalee,

I had already checked that one, and both projects are set to "No".

If I add libifport.lib expliitly to my solution, the project compiles correctly.

Thanks, David

0 Kudos
Steven_L_Intel1
Employee
306 Views
The other setting to look at is Fortran > Compatibility > Use Powerstation Compatibility Library. This is set to Yes by default.
0 Kudos
Reply