Re: [AMBER-Developers] Problems with AmberTools 15 and netcdf-fortran-4.2 compile

From: case <>
Date: Tue, 20 Oct 2015 20:07:26 -0400

On Tue, Oct 20, 2015, Ross Walker wrote:
> I am trying to get an AWS AMI of AMBER up and running. This involves
> using Amazon's hacked up version of Linux which is loosely based on
> Redhat but has then been 'tweaked' in tons of ways. Anyway, long story
> short AmberTools 15 configure is dying:
> /usr/bin/ld: /usr/lib/gcc/x86_64-amazon-linux/4.8.3/libgfortran.a(reshape_i4.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-amazon-linux/4.8.3/libgfortran.a: could not read symbols: Bad value doesn't like libgfortran.a! Seems hard for us to fix.

Can you play around with things like "yum install netcdf" (or netcdf-devel,
etc.)? Then use the --with-netcdf flag to point configure to that.


AMBER-Developers mailing list
Received on Tue Oct 20 2015 - 17:30:03 PDT
Custom Search