AMBER Archive (2009)Subject: Re: [AMBER] Compiling Amber with gfortran-4.5.0 on a mac
From: Mengjuei Hsieh (mjhsieh_at_gmail.com)
Date: Tue Oct 06 2009 - 21:05:54 CDT
Hi,
For your information, I observed the same problem with gfortran (gcc45
snapshot 20090924) until I got a new gfortran from gcc45 snapshot
20091001.
I.e., this seems to be solved in a newer gfortran on Snow Leopard. My
guess it was a regression for some certain versions of the compiler.
Best,
--
Mengjuei
On Fri, Oct 2, 2009 at 7:20 AM, Ben Roberts <roberts_at_qtp.ufl.edu> wrote:
> 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
|