Re: [AMBER-Developers] another amber 14 compile problem netcdf

From: Jason Swails <>
Date: Fri, 27 Sep 2013 20:51:50 -0400

On Fri, Sep 27, 2013 at 7:53 PM, Crowley, Michael

> I am able to compile now on the linux clusters both of which gave the same
> tag problem with netcdf.
> I added --tag=cc to a couple of lines in
> Ambertools/src/netcdf/src/f90/
> LTFCCOMPILE = $(LIBTOOL) --tag=cc --mode=compile $(FC) $(AM_FCFLAGS)
> FCLD = $(FC)
> FCLINK = $(LIBTOOL) --tag=cc --mode=link $(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \
> $(AM_LDFLAGS) $(LDFLAGS) -o $.
> during make install:
> /bin/sh ../libtool --tag=cc --mode=compile ifort -I../libsrc -I. -ip -O3
> -xHost -c -o typeSizes.lo typeSizes.f90
> libtool: ignoring unknown tag cc
> So it ignores the tag but seems to compile and run just fine, whereas
> without the --tag, it complains that there isn't one.
> Go figure.
> Is this something we want to put into the tree?

I don't think so. Dan's working on upgrading the NetCDF we have bundled
with Amber and I still think if you just run the command

unset F90 FC CC CXX

prior to configuring and making, that the problem goes away. This issue
has been seen (and fixed) before:

Jason M. Swails
Rutgers University
Postdoctoral Researcher
AMBER-Developers mailing list
Received on Fri Sep 27 2013 - 18:00:03 PDT
Custom Search