errors in votca installation

83 views
Skip to first unread message

Takahiro Ohkuma

unread,
Jan 6, 2016, 11:31:39 AM1/6/16
to votca
Hi users and developers

I am trying to install Votca software according to the procedure written in tutorials; http://www.votca.org/tutorials/coarse-graining.
Before installing votca, I installed gromacs version 5.1 with double precision, and libgromacs_d.so was found during the installation of csg package. However I got error messages as below.
Could anyone help me to install votca?

CMake Error at CMakeModules/FindGROMACS.cmake:61 (message):
  Could not find neither gmx_is_single_precision nor gmx_is_double_precision
  in the gromacs library, that is very very strange, take look at the error message.
  This most likely means that your gromacs version is too old, we need at least gromacs 5 !

Best regards
Takahiro
CMakeError.log

Christoph Junghans

unread,
Jan 6, 2016, 11:58:58 AM1/6/16
to vo...@googlegroups.com
Can you post the end of CMakeFiles/CMakeError.log?

Christoph
>
> Best regards
> Takahiro
>
> --
> You received this message because you are subscribed to the Google Groups
> "votca" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to votca+un...@googlegroups.com.
> To post to this group, send email to vo...@googlegroups.com.
> Visit this group at https://groups.google.com/group/votca.
> For more options, visit https://groups.google.com/d/optout.



--
Christoph Junghans
Web: http://www.compphys.de

Takahiro Ohkuma

unread,
Jan 7, 2016, 4:38:05 AM1/7/16
to votca
Dear Christoph

Thank you for your response.
The last paragraph of CMakeFiles/CMakeError.log is the following.

 
Run Build Command:/usr/bin/gmake "cmTryCompileExec3614750289/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3614750289.dir/build.make CMakeFiles/cmTryCompileExec3614750289.dir/build
gmake[1]: Entering directory `/people/thnfs/homes/ohkuma/cc/tools/votca/votca/src/csg/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /people/thnfs/homes/ohkuma/cc/tools/votca/votca/src/csg/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec3614750289.dir/CheckFunctionExists.cpp.o
/usr/bin/c++    -DCHECK_FUNCTION_EXISTS=gmx_is_double_precision   LINK_LIBRARIES /people/thnfs/homes/ohkuma/cc/tools/gromacs-5.1/lib64/libgromacs_d.so -o CMakeFiles/cmTryCompileExec3614750289.dir/CheckFunctionExists.cpp.o -c /people/thnfs/homes/ohkuma/cc/tools/votca/votca/src/csg/CMakeFiles/CheckFunctionExists.cpp
c++: error: LINK_LIBRARIES: No such file or directory
gmake[1]: Leaving directory `/people/thnfs/homes/ohkuma/cc/tools/votca/votca/src/csg/CMakeFiles/CMakeTmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec3614750289.dir/CheckFunctionExists.cpp.o] Error 1
gmake: *** [cmTryCompileExec3614750289/fast] Error 2


Thank you for your consideration.
Takahiro

2016年1月6日水曜日 17時58分58秒 UTC+1 Christoph Junghans:

Christoph Junghans

unread,
Jan 7, 2016, 11:54:06 AM1/7/16
to vo...@googlegroups.com
2016-01-07 2:38 GMT-07:00 Takahiro Ohkuma <takaku...@gmail.com>:
> Dear Christoph
>
> Thank you for your response.
> The last paragraph of CMakeFiles/CMakeError.log is the following.
>
>
> Run Build Command:/usr/bin/gmake "cmTryCompileExec3614750289/fast"
> /usr/bin/gmake -f CMakeFiles/cmTryCompileExec3614750289.dir/build.make
> CMakeFiles/cmTryCompileExec3614750289.dir/build
> gmake[1]: Entering directory
> `/people/thnfs/homes/ohkuma/cc/tools/votca/votca/src/csg/CMakeFiles/CMakeTmp'
> /usr/bin/cmake -E cmake_progress_report
> /people/thnfs/homes/ohkuma/cc/tools/votca/votca/src/csg/CMakeFiles/CMakeTmp/CMakeFiles
> 1
> Building CXX object
> CMakeFiles/cmTryCompileExec3614750289.dir/CheckFunctionExists.cpp.o
> /usr/bin/c++ -DCHECK_FUNCTION_EXISTS=gmx_is_double_precision
> LINK_LIBRARIES
> /people/thnfs/homes/ohkuma/cc/tools/gromacs-5.1/lib64/libgromacs_d.so -o
> CMakeFiles/cmTryCompileExec3614750289.dir/CheckFunctionExists.cpp.o -c
> /people/thnfs/homes/ohkuma/cc/tools/votca/votca/src/csg/CMakeFiles/CheckFunctionExists.cpp
> c++: error: LINK_LIBRARIES: No such file or directory
Here is the problem! Which version of cmake are you using?
Is it 2.8.10? If so you got hit by a bug in try_compile (see footnote
82 <https://cmake.org/Wiki/CMake_Version_Compatibility_Matrix/Commands#cite_ref-82>)
for that version.
Try to update cmake!

Takahiro Ohkuma

unread,
Jan 8, 2016, 4:58:39 AM1/8/16
to votca
Dear Christoph

Thank you very much for your advice!
The installation was successfully done by updating cmake. FYI, the version of cmake I had used before is 2.8.8.

Best regards
Takahiro


2016年1月7日木曜日 17時54分06秒 UTC+1 Christoph Junghans:

Christoph Junghans

unread,
Jan 8, 2016, 11:11:51 AM1/8/16
to vo...@googlegroups.com
2016-01-08 2:58 GMT-07:00 Takahiro Ohkuma <takaku...@gmail.com>:
> Dear Christoph
>
> Thank you very much for your advice!
> The installation was successfully done by updating cmake. FYI, the version
> of cmake I had used before is 2.8.8.
Which version of cmake are you using now?

Christoph

Takahiro Ohkuma

unread,
Jan 8, 2016, 11:36:01 AM1/8/16
to votca
Dear Christoph

The version of cmake I am using now is 3.3.2.
Best regards
Takahiro

2016年1月8日金曜日 17時11分51秒 UTC+1 Christoph Junghans:

Christoph Junghans

unread,
Jan 8, 2016, 4:52:02 PM1/8/16
to vo...@googlegroups.com
I dumped the minimally needed cmake version a bit:
<https://github.com/votca/csg/commit/93a2a18ffc8634ee5e729b7b69eee4cdf3ce1a74>
Reply all
Reply to author
Forward
0 new messages