[AMBER] CMake Error at cmake/jedbrown/FindFFTW.cmake:307 (add_library):

From: Akinyemi Omoniyi <aaomoniyi2014.gmail.com>
Date: Tue, 18 May 2021 11:03:26 +0200

Dear Amber Community,

I have been trying to compile Amber20 but keep getting the error message
below. Please help!

CMake Error at cmake/jedbrown/FindFFTW.cmake:307 (add_library):
  add_library cannot create imported target "fftw::fftwl" because another
  target with the same name already exists.
Call Stack (most recent call first):
  /usr/local/share/cmake-3.20/Modules/CMakeFindDependencyMacro.cmake:47
(find_package)
  /usr/local/share/cmake/MBX/MBXConfig.cmake:35 (find_dependency)
  cmake/3rdPartyTools.cmake:554 (find_package)
  CMakeLists.txt:190 (include)


CMake Error at cmake/jedbrown/FindFFTW.cmake:361 (add_library):
  add_library cannot create imported target "fftw::fftw" because another
  target with the same name already exists.
Call Stack (most recent call first):
  /usr/local/share/cmake-3.20/Modules/CMakeFindDependencyMacro.cmake:47
(find_package)
  /usr/local/share/cmake/MBX/MBXConfig.cmake:35 (find_dependency)
  cmake/3rdPartyTools.cmake:554 (find_package)
  CMakeLists.txt:190 (include)


-- The following libraries were found on your system, but are not being
used: boost
-- This is because the Amber devs have frequently seen broken installs of
these libraries causing trouble.
-- To tell Amber to link to these libraries, you can select individual ones
using -DFORCE_EXTERNAL_LIBS=<names>.
-- Alternatively, you can request that Amber link to all libraries it finds
using -DTRUST_SYSTEM_LIBS=TRUE.
-- System arpack is missing the arsecond_ function. That function will be
built inside amber
-- Cannot find PLUMED. You will still be able to load it at runtime. If
you want to link it at build time, set PLUMED_ROOT to where you installed
it.
CMake Error at cmake/3rdPartyTools.cmake:968 (message):
  Unable to build internal Boost without zlib and libbz2.
Call Stack (most recent call first):
  CMakeLists.txt:190 (include)


-- Configuring incomplete, errors occurred!
See also
"/home/akinyemi/Downloads/Amber20/amber20_src/build/CMakeFiles/CMakeOutput.log".
See also
"/home/akinyemi/Downloads/Amber20/amber20_src/build/CMakeFiles/CMakeError.log".

If the cmake build report looks OK, you should now do the following:

    make install
    source /home/akinyemi/Downloads/Amber20/amber20/amber.sh

Consider adding the last line to your login startup script, e.g. ~/.bashrc
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue May 18 2021 - 02:30:02 PDT
Custom Search