Hello everyone,
$CC is gcc
$CXX is empty
$F90 is empty
$F77 is g95
$FC is g95
unset CC CXX F90 F77 FC
also solved the problem in my case.
Best regards
Matthias Bohner
On 06/25/2013 01:55 PM, Jason Swails wrote:
> On Tue, Jun 25, 2013 at 7:49 AM, David A Case <case.biomaps.rutgers.edu>wrote:
>
>> On Tue, Jun 25, 2013, Matthias Bohner wrote:
>>
>>> `/home/linux34_i1/bohner/amber12/AmberTools/src/netcdf/src/f90'
>>> /bin/sh ../libtool --mode=compile gfortran -I../libsrc -I. -O3
>>> -mtune=native -c -o typeSizes.lo typeSizes.f90
>>> libtool: compile: unable to infer tagged configuration
>>> libtool: compile: specify a tag with `--tag'
>>>
>>> A small change of the following Makefile solves the problem for me
>>>
>>> diff $AMBERHOME/AmberTools/src/netcdf/src/f90/Makefile
>>> $AMBERHOME/AmberTools/src/netcdf/src/f90/Makefile.orig
>>>
>>> 175c175
>>> < LIBTOOL = $(SHELL) $(top_builddir)/libtool --tag=gfortran
>>> ---
>>>> LIBTOOL = $(SHELL) $(top_builddir)/libtool
> Check if the compiler environment variables are set: (echo $CC $CXX $F90
> $F77 $FC). If any of them are set, unset them. Then try again.
>
> unset CC CXX F90 F77 FC
>
> The above command solved this error the only time I saw it...
>
> HTH,
> Jason
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Jun 25 2013 - 06:00:04 PDT