Re: [AMBER] Amber Installation Help

From: Daniel Roe via AMBER <amber.ambermd.org>
Date: Thu, 27 Jun 2024 11:13:19 -0400

Hi,

On Wed, Jun 26, 2024 at 2:25 PM Anna Stein via AMBER <amber.ambermd.org> wrote:
> [ 19%] Linking CXX shared library libcew.so
> /usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): warning: relocation against `stdout@@GLIBC_2.2.5' in read-only section `.text'
> /usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

From this line it looks like you might be specifying a local FFTW
library that is not compiled with position-independent code (PIC) on.
Try forcing Amber to build its own FFTW by specifying
-DFORCE_INTERNAL_LIBS=fftw with your cmake command.

Hope this helps,

-Dan

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jun 27 2024 - 08:30:02 PDT
Custom Search