Re: [AMBER] compile ambertools on mac

From: Jason Swails <jason.swails.gmail.com>
Date: Thu, 8 Jul 2010 07:14:26 -0400

Hello,

You should be using the same version of gcc and gfortran. I think your
version of gcc is too old, anyway. Try installing gcc-4.4 from macports or
fink, and use those compilers instead. amberonmac.blogspot.com has
instructions for how to do this.

Good luck!
Jason

On Thu, Jul 8, 2010 at 6:42 AM, Jorgen Simonsen <jorgen589.gmail.com> wrote:

> Hi
>
> I have followed the instructions on that homepage but I still get the same
> error
>
> My gcc is gcc version 4.0.1 (Apple Inc. build 5493) and gfortran is gcc
> version 4.2.3
>
> thanks in advance
>
> On Thu, Jul 8, 2010 at 2:58 AM, Jason Swails <jason.swails.gmail.com>
> wrote:
>
> > Hello,
> >
> > What version of gcc and gfortran are you using? Did you read and follow
> > the
> > instructions for installing on amber on macs at
> > http://amberonmac.blogspot.com/ ? If you follow those instructions and
> > make
> > sure you have the proper compilers (you should update with macports if
> all
> > you have is the version apple includes from xcode tools).
> >
> > Good luck!
> > Jason
> >
> > On Wed, Jul 7, 2010 at 7:21 PM, Jorgen Simonsen <jorgen589.gmail.com>
> > wrote:
> >
> > > Hi all,
> > >
> > > I am trying to compile ambertools on Mac OS leopard but i get this
> error
> > >
> > > ld warning: for symbol _blk_green_ tentative definition of size 74096
> > from
> > > /Users/amber11/lib/libnab.a(pb_force.o) is is smaller than the real
> > > definition of size 74088 from /Users/amber11/lib/libnab.a(pb_init.o)
> > >
> > > Undefined symbols:
> > > "_rfftw3d_f77_create_plan_", referenced from:
> > > ___rism_fft__fftw_make_plans in libnab.a(rism_fft.o)
> > > ___rism_fft__fftw_make_plans in libnab.a(rism_fft.o)
> > > "_rfftwnd_f77_one_real_to_complex_", referenced from:
> > > ___rism_fft__rlft3i in libnab.a(rism_fft.o)
> > > "_rfftwnd_f77_one_complex_to_real_", referenced from:
> > > ___rism_fft__rlft3i in libnab.a(rism_fft.o)
> > > "_rfftwnd_f77_destroy_plan_", referenced from:
> > > ___rism3d_c__rism3d_destroy in libnab.a(rism3d_c.o)
> > > ___rism3d_c__rism3d_destroy in libnab.a(rism3d_c.o)
> > > ___rism3d_c__reallocbox in libnab.a(rism3d_c.o)
> > > ___rism3d_c__reallocbox in libnab.a(rism3d_c.o)
> > > ld: symbol(s) not found
> > > collect2: ld returned 1 exit status
> > > cc failed!
> > > make[1]: *** [matgen] Error 1
> > > make: *** [serial] Error 2
> > >
> > > Any help appreciated thanks in advance
> > > _______________________________________________
> > > 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
> >
> _______________________________________________
> 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
Received on Thu Jul 08 2010 - 04:30:03 PDT
Custom Search