Re: [AMBER] installation on MacOS10.6

From: Alan <alanwilter.gmail.com>
Date: Fri, 14 May 2010 20:51:32 +0100

Indeed, you can mixed gfortran with apple gcc if you do instead of

gcc -o testp testp.c.o testp.f.o -lgfortran -framework Accelerate

use

gfortran -o testp testp.c.o testp.f.o -framework Accelerate

But then you may need to know well what you're doing with config.h and
Makefile.

Cheers,

Alan

On Fri, May 14, 2010 at 19:40, Jason Swails <jason.swails.gmail.com> wrote:

> On Fri, May 14, 2010 at 2:25 PM, Mengjuei Hsieh <mjhsieh.gmail.com> wrote:
>
> > On Fri, May 14, 2010 at 6:03 AM, Alan <alanwilter.gmail.com> wrote:
> > > Anyway, apple gcc (/usr/bin/gcc) is the *only* gcc you have so it won't
> > work
> > > to compile AmberTools. The reason is that apple gcc has no libs for
> > fortran,
> > > see, form my system:
> >
> > Actually, if you use MacPorts' gfortran and apple's stock gcc, it
> > might work in some occasions. (That happened to my previous computer
> > once.) However, mixing different version of gcc and gfortran is indeed
> > not wise. :-p
> >
>
> It's worked for me on old versions of amber (and even pre-release 11), but
> my experience has been that C/F90 linking doesn't work with that
> configuration. Maybe there are tricks you can play? It's been a while
> since I've attempted that on my machine though, so my memory may be hazy.
> However, you're the mac-install expert, Mengjuei ;-).
>
> All the best,
> Jason
>
>
> > --
> > Mengjuei
> >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
> >
>
>
>
> --
> Jason M. Swails
> Quantum Theory Project,
> University of Florida
> Ph.D. Graduate Student
> 352-392-4032
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
>>http://www.bio.cam.ac.uk/~awd28<<
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri May 14 2010 - 13:00:05 PDT
Custom Search