[gmx-developers] v4.6.3: cmake-stage error at CMakeLists.txt:102
Mark Abraham
mark.j.abraham at gmail.com
Wed Oct 16 09:43:31 CEST 2013
Hi,
This list for discussion of the development of GROMACS, and this question
refers more to the use of GROMACS. I will reply to it on the gmx-users
mailing list.
Mark
On Wed, Oct 16, 2013 at 7:19 AM, Nikolay Alemasov <such3r at gmail.com> wrote:
> Greetings,
>
> I am trying to compile the source code v.4.6.3 with cmake. The shell
> script is (ran from the "build" directory inside gromacs source root dir):
>
> CC=/ifs/opt/2013/intel/bin/icc
>> CXX=/ifs/opt/2013/intel/bin/**icpc
>> CMAKE_PREFIX_PATH="/ifs/home/**bionet/alemasov/libraries/**fftw"
>>
>> cmake .. \
>> -DGMX_GPU=OFF \
>> -DGMX_CPU_ACCELERATION=SSE2 \
>> -DFFTWF_LIBRARY='/ifs/home/**bionet/alemasov/libraries/**fftw/lib/libfftw3f.so'
>> \
>> -DFFTWF_INCLUDE_DIR='/ifs/**home/bionet/alemasov/**libraries/fftw/include'
>> \
>> -DCMAKE_INSTALL_PREFIX='/ifs/**home/bionet/alemasov/**libraries/gromacs'
>>
>
> And get a message (successful part was cut):
> ...
>
>> -- Performing Test HAVE_DLOPEN
>> -- Performing Test HAVE_DLOPEN - Success
>> -- Checking for dlopen - found
>> -- Found the ability to use plug-ins when building shared libaries, so
>> will compile to use plug-ins (e.g. to read VMD-supported file formats).
>> -- Checking for suitable VMD version
>> -- VMD plugins not found. Path to VMD can be set with VMDDIR.
>> CMake Error at src/gmxlib/CMakeLists.txt:102 (list):
>> list sub-command REMOVE_ITEM requires two or more arguments.
>>
>>
>> CMake Error at src/gmxlib/CMakeLists.txt:105 (list):
>> list sub-command REMOVE_ITEM requires two or more arguments.
>>
>>
>> You have called ADD_LIBRARY for library md without any source files. This
>> typically indicates a problem with your CMakeLists.txt file
>> -- Configuring incomplete, errors occurred!
>> See also "/ifs/home/bionet/alemasov/**libraries/gromacs-4.6.3/build/**
>> CMakeFiles/CMakeOutput.log".
>> See also "/ifs/home/bionet/alemasov/**libraries/gromacs-4.6.3/build/**
>> CMakeFiles/CMakeError.log".
>>
>
> Below is a content of the src/gmxlib/CMakeLists.txt:99-**105:
>
>> 99 : # Files called xxx_test.c are test drivers with a main() function
>> for module xxx.c,
>> 100: # so they should not be included in the library
>> 101: file(GLOB_RECURSE NOT_GMXLIB_SOURCES *_test.c *\#*)
>> 102: list(REMOVE_ITEM GMXLIB_SOURCES ${NOT_GMXLIB_SOURCES})
>> 103: # Selection has test_ instead of _test.
>> 104: file(GLOB SELECTION_TEST selection/test*)
>> 105: list(REMOVE_ITEM GMXLIB_SOURCES ${SELECTION_TEST})
>>
>
> The target system:
>
> Linux nks-g6.sscc.ru 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009
>> x86_64 x86_64 x86_64 GNU/Linux
>> Red Hat Enterprise Linux Server release 5.4 (Tikanga)
>> model name : Intel(R) Xeon(R) CPU X5560 @ 2.80GHz
>>
>
> Please help me to sort out the issue. In fact my primary aim was to build
> GPU-version of the GROMACS, but I can not do it even for the simplest
> variant.
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/**mailman/listinfo/gmx-**developers<http://lists.gromacs.org/mailman/listinfo/gmx-developers>
> Please don't post (un)subscribe requests to the list. Use the www
> interface or send it to gmx-developers-request@**gromacs.org<gmx-developers-request at gromacs.org>
> .
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20131016/9554198f/attachment.html>
More information about the gromacs.org_gmx-developers
mailing list