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

Intel Fortran v10.0.1 and Gcc 4.2

Balamurugan_R_
Beginner
301 Views
Hi

Software Configuration:
OS: RedHat AS4 update 5
Kernel: 2.6.9
Glibc: 2.3.4

GCC:
a. 3.4.6-8
b. 4.2 (compiled)

Intel Compilers
Intel Fortran em64t version of the intel compiler Build 20070809 Package ID: l_fc_c_10.0.026.

Problem:
When I try to compile a simple test f90 program with the intel fortran compiler with GCC v4.2 PATH sourced, it exits showing '-cxxlib-gcc' not supported with the current installed GCC
[bala@n200 FORTRAN]$ ifort test.f90
ifort: error #10149: option '-cxxlib-gcc' not supported with the current installed GCC

But it compiles without any problem if GCC3.4 is sourced.

Any help would be appreciated


Bala

0 Kudos
2 Replies
Kevin_D_Intel
Employee
301 Views

As you likely know, GCC 4.2 and later no longer support -cxxlib-gcc. That may have been dropped before 4.2, I'm not sure.

The 10.0.026 release may not completely function with GCC 4.2. We only officially test/support up to GCC 4.11 with our latest 10.1 release.

I guess your alternatives are:

- Continue using GCC 3.4 and the ifort 10.0.026

- Try specifying the -cxxlib option to override ifort 10.0.026 asserting -cxxlib-gcc

- Perhaps the better (and recommended) alternative is to upgrade your compiler to the latest 10.1 update, l_fc_p_10.1.017 which does not assert this option and offers a better chance of working with GCC 4.2.

0 Kudos
Balamurugan_R_
Beginner
301 Views
Thanks Kevin
0 Kudos
Reply