Project

General

Profile

Bug #2949

cmake fails when building mdrun only

Added by Semen Yesylevskyy 10 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

When trying to compile mdrun only cmake fails:

$ cmake ../gromacs-git -DCMAKE_INSTALL_PREFIX=~/programs/gromacs-git -DGMX_BUILD_MDRUN_ONLY=ON -DGMX_BUILD_OWN_FFTW=ON -DGMX_MPI=OFF -DGMX_DOUBLE=OFF -DBUILD_SHARED_LIBS=OFF

-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
...
...
-- Check if the system is big endian
-- Searching 16 bit integer
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Configuring done
CMake Error at src/gromacs/CMakeLists.txt:52 (add_library):
No SOURCES given to target: libgromacs_generated

the build is clean, completely from scratch. With -DGMX_BUILD_MDRUN_ONLY=OFF no errors are generated.

Also available in: Atom PDF