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

From: Ben Roberts <roberts.qtp.ufl.edu>
Date: Fri, 02 Oct 2009 10:20:47 -0400

case wrote:
> 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....
>

It's the gfortran 4.5.0 (pre-compiled binaries) released by
hpc.sourceforge.net. I think the problem is compiler related. I don't
know about the compatibility of older versions (4.4 and earlier) of
gfortran with Snow Leopard. This was more for the benefit of those folks
who have a very recent system/gfortran installation.

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Oct 02 2009 - 07:30:02 PDT
Custom Search