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.
The output was:
/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.
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).
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