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

From: Timothy J Giese <timothyjgiese.gmail.com>
Date: Wed, 21 Oct 2015 19:11:46 -0400

On 10/21/2015 03:49 PM, Jason Swails wrote:

> API is -lsander (rather than needing -lsander -lnetcdf -lnetcdff -lblas
> -llapack -lsqm).
>

Don't get me wrong -- I really don't care -- but I'm just going to point
out the obvious: You already tell people to source a bash (or csh
script), so you could just as easily define a variable in that script

export SANDER_LIBS="-lsander -lsqm -lnetcdf -lnetcdff -lblas -llapack"

So that people can just add

LDFLAGS="-L${AMBERHOME}/lib" \
CPPFLAGS="-I${AMBERHOME}/include \
LIBS="${SANDER_LIBS}"

to whatever they are compiling.
But, you know, whatever.

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Oct 21 2015 - 16:30:03 PDT
Custom Search