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

Can ifort build for 64-bit linux on Itanium platform from x86_64?

rookie2010
Beginner
1,187 Views

We got Intel Fortran Compiler 11.1 on our x86_64 linux box. Now we need to
compile out code for 64-bit linux on HP Itanium platform. My understanding
is that Itanium architecture is different from x86_64. My 32-bit ifort (10.0.025)
on Windows supports IA-32, Intel 64 and IA-64 environments. Can Intel Fortran Compiler
11.1 on our x86_64 support 64-bit Itanium?

Please find machine and ifort info below and your opinion is very much appreciated.

user1@linux1:/opt/intel/Compiler/11.1/056/bin> uname -a
Linux cluster 2.6.5-7.193-smp #1 SMP Wed Jul 20 14:39:18 UTC 2005 x86_64 x86_64
x86_64 GNU/Linux

user1@linux1:/opt/intel/Compiler/11.1/056/bin> ls
ia32 iccvars.csh iccvars.sh ifortvars.csh ifortvars.sh intel64
user1@linux1:/opt/intel/Compiler/11.1/056/bin> source ifortvars.sh intel64
user1@linux1:/opt/intel/Compiler/11.1/056/bin> which ifort
/opt/intel/Compiler/11.1/056/bin/intel64/ifort
user1@linux1:/opt/intel/Compiler/11.1/056/bin> ifort --version
ifort (IFORT) 11.1 20090827
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.

0 Kudos
3 Replies
mecej4
Honored Contributor III
1,187 Views
You would need to have the cross-compiler installed, and use it instead of the native compilers. (added later: TimP points out below that there was no cross-compiler in this version of Intel Fortran).

The output of ls would have shown an ia64 subdirectory if you had installed the cross-compiler at the same time as the ia32 and intel64 versions.

$ ls
ia32 iccvars.csh iccvars.sh ifortvars.csh ifortvars.sh intel64

does not show an ia64 subdirectory, as it should if you had the IA64 cross-compiler installed.

To do cross-compilation, you would issue the command

$ source ifortvars.sh ia64

instead of

$ source ifortvars.sh intel64

Are you sure you want to do cross-compilation and put up with the inconveniences that go with it?

0 Kudos
TimP
Honored Contributor III
1,187 Views
ifort 11.1 for linux comes in 3 architecture versions: ia32, intel64, and ia64 (Itanium). All of them are native compilers which share a license; you would require an Itanium system to build for Itanium target with the Intel compilers.
0 Kudos
Steven_L_Intel1
Employee
1,187 Views
Tim is correct - on Linux, the only "cross-compile" available is to build IA-32 on x64. On Windows, 11.1 provides an IA-32-Itanium cross-compiler.
0 Kudos
Reply