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".
-- The C compiler identification is unknown CMake Error at CMakeLists.txt:2 (project): The CMAKE_C_COMPILER: icx
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 2
- Joined: Mon May 27, 2024 9:56 am
-- The C compiler identification is unknown CMake Error at CMakeLists.txt:2 (project): The CMAKE_C_COMPILER: icx
You do not have the required permissions to view the files attached to this post.
-
- Global Moderator
- Posts: 506
- Joined: Mon Nov 04, 2019 12:41 pm
- Contact:
Re: -- The C compiler identification is unknown CMake Error at CMakeLists.txt:2 (project): The CMAKE_C_COMPILER:
The VASP installation does not use cmake at any step of the way.
Maybe the instructions in this page can help you:
https://www.vasp.at/wiki/index.php/Inst ... VASP.6.X.X
Maybe the instructions in this page can help you:
https://www.vasp.at/wiki/index.php/Inst ... VASP.6.X.X
-
- Newbie
- Posts: 2
- Joined: Mon May 27, 2024 9:56 am
Re: -- The C compiler identification is unknown CMake Error at CMakeLists.txt:2 (project): The CMAKE_C_COMPILER:
Hi,
Thank you so much for your reply.
As per your guidelines i have set the parameter but while running make DEPS=1 -j , getting following output.
mpk@mpk-HP-Z2-Tower-G9-Workstation-Desktop-PC:~/Downloads/vaspsrc/vasp.6.4.3/arch$ make DEPS=1 -j
make: *** No targets specified and no makefile found. Stop.
Please help .
Thank you so much for your reply.
As per your guidelines i have set the parameter but while running make DEPS=1 -j , getting following output.
mpk@mpk-HP-Z2-Tower-G9-Workstation-Desktop-PC:~/Downloads/vaspsrc/vasp.6.4.3/arch$ make DEPS=1 -j
make: *** No targets specified and no makefile found. Stop.
Please help .
-
- Global Moderator
- Posts: 506
- Joined: Mon Nov 04, 2019 12:41 pm
- Contact:
Re: -- The C compiler identification is unknown CMake Error at CMakeLists.txt:2 (project): The CMAKE_C_COMPILER:
Can you try:
Code: Select all
make DEPS=1 std gam ncl -j8