[gmx-users] CMake Errors when installing gromacs-5.0.2 with Orca

Mark Abraham mark.j.abraham at gmail.com
Fri Nov 7 21:22:05 CET 2014


Hi,

You've somehow made the normal Gromacs source files missing or
unreadable... start afresh? And use your normal account until you need to
make install?

Mark

On Fri, Nov 7, 2014 at 8:47 PM, Matthew Kelley <
matthewkelley2017 at u.northwestern.edu> wrote:

> Hello,
>
> I'm trying to install gromacs-5.0.2 on our local cluster with Orca using
> CMake 3.0, and I'm running into a few issues. With a cmake command along
> the lines of the following,
>
> cmake .. -DGMX_QMMM_PROGRAM=ORCA -DGMX_BUILD_OWN_FFTW=ON -DGMX_MPI=ON
> -DCMAKE_INSTALL_PREFIX=/my_path/GROMACS-ORCA/ -DCMAKE_CXX_COMPILER=g++
> -DCMAKE_C_COMPILER=gcc
>
> I get errors in the terminal that look like
>
> ----------------------------------------------------------------------------------------------------------------------------
> You have called ADD_LIBRARY for library testutils without any source files.
> This typically indicates a problem with your CMakeLists.txt file
> -- 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
> CMake Error at src/gromacs/gmxlib/CMakeLists.txt:46 (list):
>   list sub-command REMOVE_ITEM requires two or more arguments.
>
>
> CMake Error at src/gromacs/legacyheaders/CMakeLists.txt:41 (list):
>   list sub-command REMOVE_ITEM requires two or more arguments.
>
>
> CMake Error at src/gromacs/legacyheaders/CMakeLists.txt:42 (list):
>   list sub-command REMOVE_ITEM requires two or more arguments.
>
>
> -- Performing Test HAS_NO_UNUSED_PARAMETER
> -- Performing Test HAS_NO_UNUSED_PARAMETER - Success
> -- Performing Test HAS_NO_DEPRECATED_REGISTER
> -- Performing Test HAS_NO_DEPRECATED_REGISTER - Success
> You have called ADD_LIBRARY for library mdrun_objlib without any source
> files. This typically indicates a problem with your CMakeLists.txt file
> You have called ADD_LIBRARY for library view_objlib without any source
> files. This typically indicates a problem with your CMakeLists.txt file
> -- Configuring incomplete, errors occurred!
>
> ----------------------------------------------------------------------------------------------------------------------------------
>
> I'm not sure what I should be looking for in the log files or if I need to
> fix my CMakeLists.txt file. I am running the cmake command from the
> directory "build" inside the root gromacs-5.0.2 source directory. Please
> let me know what I should do to correct these errors. I can add requisite
> information from the log files if required.
>
> Thank you,
> Matthew
> --
> Gromacs Users mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to gmx-users-request at gromacs.org.
>


More information about the gromacs.org_gmx-users mailing list