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

Output directory settings on Oracle Linux Server

JimH_7
Novice
180 Views

Note: excuse me if I posted this in the wrong list.  I will also post it in the Fortran group.

I am trying to integrate some existing software to an new OS (Oracle Linux Server 8.5")

When I ran CMake (which compiles C++ and Fortran code) it seems the output file for Fortran does not exist on this new machine and OS.

I get this error message in the CMakeError.log:

 

Compiling the Fortran compiler identification source file "CMakeFortranCompilerId.F" failed.

Compiler: /pkg/intel/Compiler/11.0/083/bin/intel64/ifort

Build flags:

Id flags: 

 

The output was:

127

/pkg/intel/Compiler/11.0/083/bin/intel64/ifort: line 57: /opt/intel/Compiler/11.0/083/bin/intel64/ifortbin: No such file or directory

 

There is not /opt directory in the machine.  I'm new to this software and have not used Fortran for many years.  Can anyone help with this?  Thank you.

0 Kudos
2 Replies
jimdempseyatthecove
Black Belt
131 Views

RE: /pkg vs /opt

I suggest you look at the environment variables

1) before you run the Intel build shell script, and

2) after you run the Intel build shell script.

Look for any usage of /opt, and if found, correct (either in 1) global environment variables or 2) within the Intel build shell script).

Jim Dempsey

Ron_Green
Moderator
124 Views

or if you have root, symbolic link /opt/intel to point to /pkg/intel

from what Jim and I see you are using /pkg as your root for the intel compiler installation instead of /opt

Reply