Re: [AMBER] centos 7 install Ambertools20 error, final link failed: Bad value

From: David A Case <david.case.rutgers.edu>
Date: Mon, 29 Jun 2020 14:15:15 -0400

On Mon, Jun 29, 2020, He DC wrote:
>
>CentOS Linux release 7.7.1908 (Core)
>Linux version 3.10.0-1062.el7.x86_64
>gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) )
>
>With module list
> 1) gcc/9.2.0 3) anaconda/2019.3
> 2) mpich/3.3.2 4) cmake/3.15.7

(Not related to the problem you report here, but I'd recommend
unintalling anaconda before building Amber. Or only do this if you run
into a python-related error.)

>[ 28%] Building Fortran object AmberTools/src/lapack/CMakeFiles/lapack.dir/dtrsyl.f.o
>[ 28%] Linking Fortran shared library liblapack.so
>/usr/bin/ld: /usr/local/lib/libblas.a(dgemm.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile
>…………………….

cc-ing to Jamie Smith, since I'm not sure if there is a fix for this in
the works or not (I think it is being addressed). But try this
workaround: add -DFORCE_INTERNAL_LIBS=blas to your run_cmake file.

...good luck...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Jun 29 2020 - 11:30:03 PDT
Custom Search