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

Source compatibility between Intel Visual Fortran and Intel Fortran for Linux

Nan_Deng
Beginner
472 Views
We are developing some codes that need to run on both Windows and Linux platforms. If the codes are developed first using Intel visual fortran (with IMSL libs) on Win64, shall I expect it to be compiled and run on a Linux machine without additional effort? (Assuming intel fortran compiler is used). If additional modification is required, what would be the most likely area? - Thanks.
0 Kudos
3 Replies
Steven_L_Intel1
Employee
472 Views
As long as you stay away from Windows-only features, such as calls to Win32 API routines, compatibility is excellent. I will comment that we don't offer Fortran with IMSL on Linux. You can buy IMSL for use with Intel Fortran on Linux from Visual Numerics, and your sources should be compatible.
0 Kudos
dboggs
New Contributor I
472 Views

Should we assume that by "stay away from windows-only features such as API calls" this also includes QuickWin calls?

0 Kudos
Steven_L_Intel1
Employee
472 Views
Yes, you should assume that. Most of the library calls that are documented in the Fortran documentation are supported on all platforms, but some are not. The QuickWin calls are Windows only. The documentation tells you if this is the case.
0 Kudos
Reply