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

From: David A Case <david.case.rutgers.edu>
Date: Tue, 18 May 2021 08:32:22 -0400

On Tue, May 18, 2021, Akinyemi Omoniyi wrote:
>
>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.

This is a new error. Can you say what OS and compilers you are using?

Please try this: edit your run_cmake script to add the following line:

    -DFORCE_INTERNAL_LIBS="fftw"

It would also help us if you could post the cmake.log file.

...thx...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue May 18 2021 - 06:00:02 PDT
Custom Search