Re: [AMBER-Developers] AmberTool on Mac OS 10.6 (was Re: Amber on Mac (Snow Leopard))

From: Volodymyr Babin <vbabin.ncsu.edu>
Date: Sun, 27 Sep 2009 12:19:07 -0400 (EDT)

Hi,

check 'gcc -dumpspecs' and 'gfortran -dumpspecs'; look for
'multilib_defaults'.

Best,

Volodymyr

On Sun, September 27, 2009 12:13, Jason Swails wrote:
> On Sun, Sep 27, 2009 at 11:51 AM, Tom Joseph <ttjoseph.gmail.com> wrote:
>
> gfortran binaries compiled for 10.5 work on 10.6. These silently
>> generate 32-bit code by default, conflicting with the 64-bit code from
>> the system's gcc. So perhaps there should be some sort of check or
>> warning regarding this...
>>
>> Yea, I just realized that the problem was that gfortran-compiled
>> binaries
> couldn't link to gcc-compiled binaries for this reason, since I was using
> the latest gfortran binary on the gnu compiler wiki (which is the 10.5
> version). There is a later one that is built specifically for snow leopard
> that I found (http://hpc.sourceforge.net/). These binaries CAN create
> 64-bit
> executables, but there seems to be a compiler bug that doesn't allow amber
> to fully compile (though now ambertools works just fine!). When that gets
> fixed and subsequently released as a binary for Snow Leopard, the gnu
> compilation will probably finally work easily on snow leopard, though the
> configure script has to remove the -m32 flag from snow leopard's configure
> process or netcdf will not configure correctly (since gfortran now builds
> 64-bit by default). This can't be done after configure is run since
> netcdf's
> configure script runs before the config.h file is created.
> -Jason
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Sun Sep 27 2009 - 09:30:03 PDT
Custom Search