AMBER Archive (2009)Subject: Re: [AMBER] Compiling Amber with gfortran-4.5.0 on a mac
From: Ben Roberts (roberts_at_qtp.ufl.edu)
Date: Fri Oct 02 2009 - 09:20:47 CDT
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_at_ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
|