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

ifc 8.1: g++ error

parmenide
Beginner
1,284 Views
Hello,

when trying to run intel fortran compiler version
8.1, I get the following error message:
ifort: error: could not find directory in which g++ resides

However, g++ IS installed.
How could I solve the problem ?
What g++ files is the Fortran compiler looking for ?

Thank youhttp://softwareforums.intel.com/ids/board/post?board.id=11#
0 Kudos
9 Replies
TimP
Honored Contributor III
1,285 Views
The installation script should be looking, running as root, for the first g++ installation on the path. It must be gcc-3.[234].x. If you su before running the installation script, 'which g++' should indicate which one will be found. Provision for the directory structure of gcc-3.4 is new in icc. I don't believe it will work with gcc versions outside the range I mentioned.
The script probably runs g++ --print-search-directories to figure out the library and include paths required to support -cxxlib-gcc as the default STL option. If this doesn't succeed, it should set up -cxxlib-icc (Dinkumware STL) as its default.
0 Kudos
higamasa
Beginner
1,286 Views
Hi,

parmenide@free.fr wrote:
Hello,

when trying to run intel fortran compiler version
8.1, I get the following error message:
ifort: error: could not find directory in which g++ resides

However, g++ IS installed.
How could I solve the problem ?
What g++ files is the Fortran compiler looking for ?

Thank you


Check the environment variable LANG and unset it if it is set.
At the first time I used ifort 8.1, I got the same message even though I have g++ 3.3.2 on my machine.

$ LANG=fr_FR.ISO-8859-1 ifort xxx.f90
ifort: error: could not find directory in which g++ resides
$ LANG= ifort xxx.f90
$ ls
a.out xxx.f90

I hope it will be of help.

Message Edited by higamasa on 09-18-2004 07:55 AM

0 Kudos
sugimoto605
Beginner
1,286 Views

Message Edited by sugimoto@kuaero.kyoto-u.ac.jp on 09-22-2004 08:22 AM

0 Kudos
sugimoto605
Beginner
1,285 Views

Message Edited by sugimoto@kuaero.kyoto-u.ac.jp on 09-22-2004 08:22 AM

0 Kudos
Steven_L_Intel1
Employee
1,285 Views
Engineering is aware of this problem and is working on a solution. I would advise anyone who runs into this to contact Intel Premier Support about it.
0 Kudos
maurice_libes
Beginner
1,285 Views
I think you have to specify where are the new intel fortran libraries

if ifc8.1 resides in /opt/intel_fc_80/ and thus the libs in /opt/intel_fc_80/ lib
edit your /etc/ld.so.conf file
and add
/opt/intel_fc_80/lib
:wq

dont forget to dynamically configure your linker run-time bindings
$ ldconfig -v

it worked for me
0 Kudos
alpaz78
Beginner
1,285 Views
hi!

I already tried all of the approaches listed below and nothing works. I'm still having the same problem . . .

I'll appreciate any help

Thanks,

Alex
0 Kudos
alpaz78
Beginner
1,286 Views
hi!

I already tried all of the approaches listed ABOVE and nothing works. I'm still having the same problem . . .

I'll appreciate any help

Thanks,

Alexander Paz

Message Edited by alpaz78 on 03-20-2005 03:38 PM

0 Kudos
Steven_L_Intel1
Employee
1,286 Views
Please contact Intel Premier Support - they can help you with this.
0 Kudos
Reply