IFPORT

From BlueM
Jump to navigation Jump to search

Aus der Intel Visual Fortran Compiler Hilfe:

Portability Library Overview
Intel® Fortran includes functions and subroutines that ease porting of code to or from a PC, or allow you to write code on a PC that is compatible with other platforms.
The portability library is called IFPORT.LIB. Frequently used functions are included in a portability module called IFPORT.
You can use the portability library IFPORT.LIB in one of two ways:

  • Add the statement USE IFPORT to your program. This statement includes the IFPORT module.
  • Call portability routines using the correct parameters and return value.

IFPORT.LIB is passed to the linker by default during linking. To prevent IFPORT.LIB from being passed to the linker, specify the /fpscomp:nolibs option.
Using the IFPORT Portability Module
Using the IFPORT module provides interface blocks and parameter definitions for the portability routines, as well as compiler verification of calls.
Some routines in this library can be called with different sets of arguments, and sometimes even as a function instead of a subroutine. In these cases, the arguments and calling mechanism determine the meaning of the routine. The IFPORT module contains generic interface blocks that give procedure definitions for these routines.
Fortran 95/90 contains intrinsic procedures for many of the portability functions. The portability routines are extensions to the Fortran 95 standard. When writing new code, use Fortran 95/90 intrinsic procedures whenever possible (for portability and performance reasons).