Re: [AMBER] Problem Installing Amber on Mac OSX Lion

From: case <case.biomaps.rutgers.edu>
Date: Sun, 20 May 2012 07:52:49 -0400

On Sat, May 19, 2012, Arthur Roberts wrote:
>
> However, I get the following error:
>
> gfortran -c -O3 -mtune=generic -ffree-form -o mbar.o _mbar.f
> cpp -traditional -P -DBINTRAJ bintraj.f > _bintraj.f
> gfortran -c -O3 -mtune=generic -ffree-form -o bintraj.o _bintraj.f
> _bintraj.f:403.25:
>
> call checkerror(nf90_put_att(vel_ncid, VelocVarID,
> "scale_factor", &
> 1
> Error: Generic function 'nf90_put_att' at (1) is not consistent with a
> specific intrinsic interface

There have been two separate reports about this on Lion. The full line
in bintraj.F90 is

call checkNCerror(nf90_put_att(vel_ncid, VelocVarID, "scale_factor", &
               20.455), "define velocity scale_factor")

I don't have Lion myself, but suggest putting quotes around "20.455" to see
if that helps. (Lack of quotes seems to be the distinguishing feature of this
call to nf90_put_att compared to all the others.

(Similar instructions for earlier versions of Amber.)

Of course, this will have to be tested for functionality as well.

....dac

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun May 20 2012 - 05:00:02 PDT
Custom Search