FindMPI: cmake error when trying to use Intel MPI 2021.1
```CMAKE cmake_minimum_required(VERSION 3.16) project( bug_mpi_intel C ) find_package( MPI REQUIRED ) ``` ```SHELL mkdir build && cd build cmake .. -- The C compiler identification is GNU 9.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Error in /mnt/d/dev/Bugs/build/CMakeFiles/CMakeTmp/CMakeLists.txt: Imported target "MPI::MPI_C" includes non-existent path "/mnt/d/dev/Bugs/'/opt/intel/oneapi/mpi/2021.1.1/include'" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in /mnt/d/dev/Bugs/build/CMakeFiles/CMakeTmp/CMakeLists.txt: Imported target "MPI::MPI_C" includes non-existent path "/mnt/d/dev/Bugs/'/opt/intel/oneapi/mpi/2021.1.1/include'" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error at /home/mehdi/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.18/Modules/FindMPI.cmake:1213 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /home/mehdi/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.18/Modules/FindMPI.cmake:1264 (_MPI_try_staged_settings) /home/mehdi/.local/lib/python3.8/site-packages/cmake/data/share/cmake-3.18/Modules/FindMPI.cmake:1529 (_MPI_check_lang_works) CMakeLists.txt:5 (find_package) -- Configuring incomplete, errors occurred! See also "/mnt/d/dev/Bugs/build/CMakeFiles/CMakeOutput.log". ```
issue