Hi everyone,
I am installing gromacs(2019) on my desktop. I could successfully install gromacs but when building mpi version it shows the following error. I have applied all the possible ways, searched online, updated cmake, openmpi and everything but no good results. Can anyone please share his/her experience.
tests-2019.2/
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS)
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS)
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND)
CMake Error at cmake/gmxManageMPI.cmake:169 (message):
MPI support requested, but no MPI compiler found. Either set the
C-compiler (CMAKE_C_COMPILER) to the MPI compiler (often called mpicc), or
set the variables reported missing for MPI_C above.
Call Stack (most recent call first):
CMakeLists.txt:460 (include)
-- Configuring incomplete, errors occurred!
See also "/home/khan/gromacs-2019.2/build/CMakeFiles/CMakeOutput.log".
See also "/home/khan/gromacs-2019.2/build/CMakeFiles/CMakeError.log".
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= gcc
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
REGRESSIONTEST_PATH
-- Build files have been written to: /home/khan/gromacs-2019.2/build