-- The C compiler identification is unknown CMake Error at CMakeLists.txt:2 (project): The CMAKE_C_COMPILER: icx
Posted: Wed May 29, 2024 6:47 pm
Hi,
Could anyone help me with the solution or guidelines to fix the below error message.
cmake -G "Unix Makefiles" -DBUILD_SHARED_LIBS:BOOL=ON -DHDF5_BUILD_FORTRAN=YES -DHDF5_BUILD_TOOLS:BOOL=ON -DCMAKE_C_COMPILER=icx ../hdf5-1.14.3
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:
icx
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/user/OpenMPI_Intel/openmpi-5.0.0/HDF5_Intel/myhdfstuff/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/OpenMPI_Intel/openmpi-5.0.0/HDF5_Intel/myhdfstuff/build/CMakeFiles/CMakeError.log".
Could anyone help me with the solution or guidelines to fix the below error message.
cmake -G "Unix Makefiles" -DBUILD_SHARED_LIBS:BOOL=ON -DHDF5_BUILD_FORTRAN=YES -DHDF5_BUILD_TOOLS:BOOL=ON -DCMAKE_C_COMPILER=icx ../hdf5-1.14.3
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:
icx
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/user/OpenMPI_Intel/openmpi-5.0.0/HDF5_Intel/myhdfstuff/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/OpenMPI_Intel/openmpi-5.0.0/HDF5_Intel/myhdfstuff/build/CMakeFiles/CMakeError.log".