[gmx-users] CMake Error when installing Gromacs 5.0.7

朱文鹏 jasonzhu925 at gmail.com
Mon Dec 14 23:10:09 CET 2015


Dear all,

I encountered a problem when I tried to install Gromacs 5.0.7 by using
CMake. The CMake error is about the CMake command "tmpi_get_source_list".

CMake Error at gromacs/CMakeLists.txt:114 (tmpi_get_source_list):
  Unknown CMake command "tmpi_get_source_list".

I tried different version of CMake (2.8.12 and 3.2.2). But they didn't
work. Is there anyone who have the same problem during configuration and
know how to solve it? I appreciate any suggestions from you. BTW, I
successfully installed Gromacs 4.6.7 on the same environment and didn't
have this problem.

The configuration I use for CMake is:
CC=mpicc CXX=mpicxx cmake ../ -DCMAKE_C_COMPILER=mpicc
-DCMAKE_CXX_COMPILER=mpicxx -DGMX_X11=OFF -DGMX_MPI=ON
-DGMX_FFT_LIBRARY=fftw -DCMAKE_INCLUDE_PATH=/users/yli/fftw-3.3.4/include
-DCMAKE_LIBRARY_PATH=/users/yli/fftw-3.3.4/lib
-DCMAKE_INSTALL_PREFIX=/users/yli/gromacs-5.0.7/src/build


The log of configuration is shown as below:
===========================
-- The C compiler identification is Intel 14.0.0.20131008
-- The CXX compiler identification is Intel 14.0.0.20131008
-- Check for working C compiler:
/gpfs/runtime/opt/mvapich2/2.2a-intel/bin/mpicc
-- Check for working C compiler:
/gpfs/runtime/opt/mvapich2/2.2a-intel/bin/mpicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler:
/gpfs/runtime/opt/mvapich2/2.2a-intel/bin/mpicxx
-- Check for working CXX compiler:
/gpfs/runtime/opt/mvapich2/2.2a-intel/bin/mpicxx -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at gromacs/CMakeLists.txt:114 (tmpi_get_source_list):
  Unknown CMake command "tmpi_get_source_list".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be
lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/users/yli/gromacs-5.0.7/src/build/CMakeFiles/CMakeOutput.log".
===============================================

Best,
Jason


More information about the gromacs.org_gmx-users mailing list