Re: [AMBER] Amber16 installation error

From: David Case <david.case.rutgers.edu>
Date: Thu, 2 Feb 2017 08:17:59 -0500

On Thu, Feb 02, 2017, SeungHyun Kim wrote:

> I got a problem with the installation of AmberTools16 on Mac (macOS
> Sierra)10.12.3
>
> character(len=length),pointer,dimension(:) :: type
> 1
> Error: Scalar INTEGER expression expected at (1)

Apply the attached patch, like this:

cd $AMBERHOME
patch -p0 < getopts.patch

(OR: just manually edit the getopts_c.F90 file and move the declaration of
the "length" variable up a few lines.)

I had thought this was only required for gfortran7, but it might also be
required for some earlier versions.

....dac



_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber

Received on Thu Feb 02 2017 - 05:30:09 PST
Custom Search