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