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

ifort: error #10001: could not find directory in which g++ resides

Ricardo_P_1
Beginner
1,595 Views

 I have a problem when compiling a fortran code with Intel Fortran .

I previously worked with Intel Fortran in Ubuntu 8.04 and 10.04 platforms (Intel fortran 10.1.018 , 10.0.23 and 10.1.xxx ) without

problem. Now in Ubuntu 12.04 I get the following error message:

ifort: error #10001: could not find directory in which g++ resides

Could somebody guide me to reset the paths ? (providing that is the problem)

Thank you in advance

0 Kudos
2 Replies
TimP
Honored Contributor III
1,595 Views
Did you install your Ubuntu g++ package? DId you check the working of g++ -print-search-dirs ? If your PATH setting has gone away in your local shell window, try opening a new shell. If you made a major upgrade of your Ubuntu installation, you may need to repeat the ifort installation. I suppose you would need at least a 12.0 version of ifort for a straightforward fully supported installation on the new Ubuntu. The advice on prerequisites used to be readily available in the Documents folder of the compiler installation; I don't see it in the current one.
0 Kudos
Reply