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

cross-platform compilation

lori_burns
Beginner
756 Views
Hello,

I've been using the Fortran compilers (9.0 & 9.1) on a RHEL3 itanium2 system and would like to run programs developed there on a department linux (Fedora Core) cluster composed of Pentium IV machines. As the cluster has no compilers, I want to compile for pentium on the itanium, but any processor-specific options I submit are discarded and thus the binary is created for itanium.

$ ifort -arch pn4 -static -o hellopentium6 hello.f
ifort: warning: target processor options not supported in this product

Is cross-platform not supported between the ia32, em64t, and ia64 compilers, or am I neglecting some aspect of the process? Thanks for your help.

Lori
0 Kudos
2 Replies
Steven_L_Intel1
Employee
756 Views

Sorry, if you're on Itanium, you can compile for Itanium only. There are distinct compilers for each architecture. On IA-32 and Intel 64, it's possible to install both compilers (if you have the proper gcc environment) and do cross-compile, but this is not supported on Itanium.

There is a table in the Installation Guide and Release Notes that shows the supported combinations.

0 Kudos
lori_burns
Beginner
756 Views
Alas, thanks for confirming that. I am chagrined to have missed the cross-compilation table in the short reference documents- I've been searching the manuals.
0 Kudos
Reply