AMBER Archive (2009)

Subject: Re: [AMBER] Compiling Amber with gfortran-4.5.0 on a mac

From: case (
Date: Fri Oct 02 2009 - 08:19:11 CDT

On Tue, Sep 29, 2009, Ben Roberts wrote:
> Anyway, if anyone is trying to compile Amber on a Mac running Snow
> Leopard (or possibly other versions of the Mac OS - I haven't tested
> this), and using gfortran 4.5.0 to do it, you may run into a problem
> like this:

Where did you get your gfortran from? (self-compiled? if so, with
which what version of gcc?)

> gfortran -c -O3 -ffree-form -o pb_force.o _pb_force.f
> _pb_force.f: In function 'phintp.2255':
> _pb_force.f:1286:0: error: type mismatch in component reference

Just a note for the archives that this doesn't show up with gfortran 4.4 (or
any earlier gfortrans that I know of), at least on leopard. So, it may be
compiler-related or OS-related....


AMBER mailing list