Unable to compile with Visual Studio 2019
I have the Intel Fortran compiler installed. However, I am getting the following error:
`-- The Fortran compiler identification is Intel 2021.4.0.20210910 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - failed -- Check for working Fortran compiler: C:/Program Files (x86)/Intel/oneAPI/compiler/2021.4.0/windows/bin/intel64/ifort.exe -- Check for working Fortran compiler: C:/Program Files (x86)/Intel/oneAPI/compiler/2021.4.0/windows/bin/intel64/ifort.exe - broken CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeTestFortranCompiler.cmake:54 (message): The Fortran compiler
"C:/Program Files (x86)/Intel/oneAPI/compiler/2021.4.0/windows/bin/intel64/ifort.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Users/*/source/repos/getdp/build/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTC_34aef && Microsoft Visual Studio 2019 Version 16.11.3. Copyright (C) Microsoft Corp. All rights reserved. Package 'IFLangServicePackage' failed to load.`