What cmake version are you using?<br><br><div class="gmail_quote">On Wed, Dec 8, 2010 at 9:49 AM, Keith Callenberg <span dir="ltr">&lt;<a href="mailto:kmc112@pitt.edu">kmc112@pitt.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hello gmx-users,<br>
<br>
I am trying to build gromacs-4.5.3 with GPU support with OpenMM. I<br>
have followed the INSTALL-GPU instructions along with the tips given<br>
in this post: <a href="http://www.mail-archive.com/gmx-users@gromacs.org/msg34139.html" target="_blank">http://www.mail-archive.com/gmx-users@gromacs.org/msg34139.html</a><br>
<br>
However, I am receiving the following error from cmake even without<br>
the -DGMX_OPENMM=ON flag (and I have been making sure to rm<br>
CMakeCache.txt and src/CMakeCache.txt):<br>
<br>
user@host:~/apps/gromacs-4.5.3$ cmake src/<br>
-- The C compiler identification is GNU<br>
-- The CXX compiler identification is GNU<br>
-- Check for working C compiler: /usr/bin/gcc<br>
-- Check for working C compiler: /usr/bin/gcc -- works<br>
-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>
-- Check for working CXX compiler: /usr/bin/c++<br>
-- Check for working CXX compiler: /usr/bin/c++ -- works<br>
-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>
-- Found assembler: /usr/bin/as<br>
-- Loaded CMakeASM-ATTInformation - ASM-ATT support is still<br>
experimental, please report issues<br>
CMake Error at gmxlib/CMakeLists.txt:146 (set_target_properties):<br>
 set_target_properties called with incorrect number of arguments.<br>
<br>
<br>
CMake Error at gmxlib/CMakeLists.txt:148 (install):<br>
 install TARGETS given no ARCHIVE DESTINATION for static library target<br>
 &quot;gmx&quot;.<br>
<br>
<br>
CMake Error at mdlib/CMakeLists.txt:11 (set_target_properties):<br>
 set_target_properties called with incorrect number of arguments.<br>
<br>
<br>
CMake Error at mdlib/CMakeLists.txt:13 (install):<br>
 install TARGETS given no ARCHIVE DESTINATION for static library target<br>
 &quot;md&quot;.<br>
<br>
<br>
CMake Error at kernel/CMakeLists.txt:42 (set_target_properties):<br>
 set_target_properties called with incorrect number of arguments.<br>
<br>
<br>
CMake Error at kernel/CMakeLists.txt:108 (install):<br>
 install TARGETS given no ARCHIVE DESTINATION for static library target<br>
 &quot;gmxpreprocess&quot;.<br>
<br>
<br>
CMake Error at kernel/CMakeLists.txt:109 (install):<br>
 install TARGETS given no RUNTIME DESTINATION for executable target &quot;mdrun&quot;.<br>
<br>
<br>
CMake Error at kernel/CMakeLists.txt:110 (install):<br>
 install TARGETS given no RUNTIME DESTINATION for executable target<br>
 &quot;grompp&quot;.<br>
<br>
<br>
CMake Error at tools/CMakeLists.txt:36 (set_target_properties):<br>
 set_target_properties called with incorrect number of arguments.<br>
<br>
<br>
CMake Error at tools/CMakeLists.txt:65 (install):<br>
 install TARGETS given no ARCHIVE DESTINATION for static library target<br>
 &quot;gmxana&quot;.<br>
<br>
<br>
CMake Error at tools/CMakeLists.txt:66 (install):<br>
 install TARGETS given no RUNTIME DESTINATION for executable target<br>
 &quot;do_dssp&quot;.<br>
<br>
<br>
CMake Warning (dev) in CMakeLists.txt:<br>
 No cmake_minimum_required command is present.  A line of code such as<br>
<br>
   cmake_minimum_required(VERSION 2.8)<br>
<br>
 should be added at the top of the file.  The version specified may be lower<br>
 if you wish to support older CMake versions for this project.  For more<br>
 information run &quot;cmake --help-policy CMP0000&quot;.<br>
This warning is for project developers.  Use -Wno-dev to suppress it.<br>
<br>
-- Configuring incomplete, errors occurred!<br>
<br>
Here are my environment variables:<br>
PATH=/usr/local/cuda/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games<br>
LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/lib:/usr/local/openmm/lib:<br>
<br>
The variable that seems to be empty in CMakeLists.txt is<br>
${LIB_INSTALL_DIR}. Does anyone know what that might be caused by?<br>
<br>
Thank you,<br>
Keith Callenberg<br>
<font color="#888888">--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309<br>