When attempting to compile a user Fortran shared library on a Windows machine using the Intel Fortran compiler, a failure occurs with the error message:
ipo: error #11035: Fatal error cannot open ifconsol
(NOTE: The same message may relate to libraries other than ifconsol.)
The most likely cause is that the ifortvars script has not been run prior to running cfx5mkext. It is necessary to run ifortvars every time a new command window has been opened in order to set certain environment variables used by the compiler. The procecure is as follows:
- Start a new command window from the CFX launcher (using 'Tools > Command Line').
- Type the commmand: ifortvars
- Run cfx5mkext