Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29236 ディスカッション

"USE IFPORT" not needed?

cjosefy
ビギナー
512件の閲覧回数
Using 8.1.023 on Linux:
Given this code from the library reference:
Code:
use IFPORT
character*20 username
CALL GETLOG (username)
print *, "You logged in as ",username
I can remove the "use IFPORT" statement and compile withonly the -static-libcxaoption and the code still works. I guess I don't understand why when I don't include the "use IFPORT" statement, the code still works.
Thanks,
Chris
0 件の賞賛
1 返信
Steven_L_Intel1
従業員
512件の閲覧回数
The portability library is linked in by default. You can get away without the USE for many routines. But some with varying argument lists (RAND, for example) require the USE.
返信