[gmx-users] Can't build gromacs-4.5.3 with cmake

Keith Callenberg kmc112 at pitt.edu
Wed Dec 8 16:20:42 CET 2010


I am running cmake version 2.8.0 on Ubuntu 10.04 64-bit with gcc 4.4.3.

~/apps/gromacs-4.5.3$ cmake -version
cmake version 2.8.0

Thanks,
Keith

>What cmake version are you using?
>
>On Wed, Dec 8, 2010 at 9:49 AM, Keith Callenberg <kmc112 at pitt.edu> wrote:
>> Hello gmx-users,
>>
>> I am trying to build gromacs-4.5.3 with GPU support with OpenMM. I
>> have followed the INSTALL-GPU instructions along with the tips given
>> in this post:
>> http://www.mail-archive.com/gmx-users@gromacs.org/msg34139.html
>>
>> However, I am receiving the following error from cmake even without
>> the -DGMX_OPENMM=ON flag (and I have been making sure to rm
>> CMakeCache.txt and src/CMakeCache.txt):
>>
>> user at host:~/apps/gromacs-4.5.3$ cmake src/
>> -- The C compiler identification is GNU
>> -- The CXX compiler identification is GNU
>> -- Check for working C compiler: /usr/bin/gcc
>> -- Check for working C compiler: /usr/bin/gcc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Check for working CXX compiler: /usr/bin/c++
>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info - done
>> -- Found assembler: /usr/bin/as
>> -- Loaded CMakeASM-ATTInformation - ASM-ATT support is still
>> experimental, please report issues
>> CMake Error at gmxlib/CMakeLists.txt:146 (set_target_properties):
>>  set_target_properties called with incorrect number of arguments.
>>
>>
>> CMake Error at gmxlib/CMakeLists.txt:148 (install):
>>  install TARGETS given no ARCHIVE DESTINATION for static library target
>>  "gmx".
>>
>>
>> CMake Error at mdlib/CMakeLists.txt:11 (set_target_properties):
>>  set_target_properties called with incorrect number of arguments.
>>
>>
>> CMake Error at mdlib/CMakeLists.txt:13 (install):
>>  install TARGETS given no ARCHIVE DESTINATION for static library target
>>  "md".
>>
>>
>> CMake Error at kernel/CMakeLists.txt:42 (set_target_properties):
>>  set_target_properties called with incorrect number of arguments.
>>
>>
>> CMake Error at kernel/CMakeLists.txt:108 (install):
>>  install TARGETS given no ARCHIVE DESTINATION for static library target
>>  "gmxpreprocess".
>>
>>
>> CMake Error at kernel/CMakeLists.txt:109 (install):
>>  install TARGETS given no RUNTIME DESTINATION for executable target
>> "mdrun".
>>
>>
>> CMake Error at kernel/CMakeLists.txt:110 (install):
>>  install TARGETS given no RUNTIME DESTINATION for executable target
>>  "grompp".
>>
>>
>> CMake Error at tools/CMakeLists.txt:36 (set_target_properties):
>>  set_target_properties called with incorrect number of arguments.
>>
>>
>> CMake Error at tools/CMakeLists.txt:65 (install):
>>  install TARGETS given no ARCHIVE DESTINATION for static library target
>>  "gmxana".
>>
>>
>> CMake Error at tools/CMakeLists.txt:66 (install):
>>  install TARGETS given no RUNTIME DESTINATION for executable target
>>  "do_dssp".
>>
>>
>> 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!
>>
>> Here are my environment variables:
>>
>> PATH=/usr/local/cuda/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>>
>> LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/lib:/usr/local/openmm/lib:
>>
>> The variable that seems to be empty in CMakeLists.txt is
>> ${LIB_INSTALL_DIR}. Does anyone know what that might be caused by?
>>
>> Thank you,
>> Keith Callenberg
>> --
>> gmx-users mailing list    gmx-users at gromacs.org
>> http://lists.gromacs.org/mailman/listinfo/gmx-users
>> Please search the archive at
>> http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
>> Please don't post (un)subscribe requests to the list. Use the
>> www interface or send it to gmx-users-request at gromacs.org.
>> Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>>
>>
>>

>
>
>--
>ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
>865-241-1537, ORNL PO BOX 2008 MS6309



More information about the gromacs.org_gmx-users mailing list