Re: RE: AMBER: leap compiling problem on a 64-bit machine

From: <xhu1.memphis.edu>
Date: Sat, 20 Nov 2004 14:19:27 -0600

Dear Tomas,

Thank you so much! You are right. Both files are not
in /usr/X11R6/lib, but in /usr/X11R6/lib64

Because in the makefile both directories exist, I am not sure how to
modify it. I just copied these files to /usr/X11R6/lib64, then tried
again. this time, error message is:

**********************************************************
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
make[2]: *** [xaLeap] Error 1
make[2]: Leaving directory `/usr/local/amber7/src/leap/src/leap'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/amber7/src/leap'
make: *** [World] Error 2
*********************************************************

looks like those X libraries needed by leap are in /usr/X11R6/lib64,
and I have to modify the makefile. Do you have any idea how to do it?

Thank you so much

All the best

Shawn
----- Original Message -----
From: Tomas Linhart <linht0am.karlov.mff.cuni.cz>
Date: Friday, November 19, 2004 7:14 pm
Subject: Re: RE: AMBER: leap compiling problem on a 64-bit machine

> Seems like your X libraries are in some unusuall place so that
> linker cannot find them. Normally, libXmu.a as well as libXmu.so
> resides in /usr/X11R6/lib. Check if they are present, or if they
> are in some other directory.
>
> On Fri, Nov 19, 2004 at 05:51:58PM -0600, xhu1.memphis.edu wrote:
> > Dear Ross,
> >
> > Thank you for your reply. Our workstation is a dual 64bit
> > xeon-processor. Because we don't have MPICH installed, I just used
> > "Machine.g77". it works for another dual 32bit xeon-processor
> > workstation in our group(for sure, we can't run parallel jobs).
> The g77
> > compiler version in this 64bit workstation is 3.2.3-42 and kernel
> > version is 2.4.21-20.EL.
> >
> > One thing I didn't mention in my last email is that I copied the
> whole> "amber7" directory from that 32bit workstation(memory is
> 2G)to this
> > 64bit workstation(memory is 8G), and didn't do "clean" first
> before
> > "install". That maybe cause the error message
> "../Xraw/libXrawLeap.a:> could not read symbols: Memory exhausted"
> ??? You and Bill just reminded
> > me of this. Now I "cleaned" first, then "installed". Leap still
> gave me
> > an error message(but different) and stopped again.
> >
> > *******************************************
> > /usr/bin/ld: cannot find -lXmu
> > collect2: ld returned 1 exit status
> > make[3]: *** [xaLeap] Error 1
> > make[3]: Leaving directory `/usr/loca> make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/usr/loca> make[1]: *** [World]
> Error 2
> > make[1]: Leaving directory `/usr/loca> make: *** [install] Error 2
> > ****************************************************
> >
> > The completed output files from the commands "xmkmf", "make World",
> > "make install.leap" were attached.
> >
> > Thank you very much for your time. Very appreciate!
> >
> > All the best
> >
> > Shawn
> >
> >
> >
> > ----- Original Message -----
> > From: "Ross Walker" <ross.rosswalker.co.uk>
> > Date: Friday, November 19, 2004 1:32 pm
> > Subject: RE: AMBER: leap compiling problem on a 64-bit machine
> >
> > > Dear Shawn,
> > >
> > >
> > > > I tried to compile amber7 on our new Xeon 64 bit machine.
> Leap
> > > gave a
> > > > problem:
> > > >
> > > >
> *******************************************************************>
> > ../Xraw/libXrawLeap.a: could not read symbols: Memory exhausted
> > > > collect2: ld returned 1 exit status
> > > > make[3]: *** [xaLeap] Error 1
> > > > make[3]: Leaving directory `/usr/loca> make[2]: *** [all]
> Error 2
> > > > make[2]: Leaving directory `/usr/loca> make[1]: *** [World]
> Error 2
> > > > make[1]: Leaving directory `/usr/loca> make: *** [install]
> Error 2
> > > >
>
********************************************************************>
>
> > > I have not come across this problem before. Can you send me
> some more
> > > information. The machine you used, compiler versions and the
> xleap
> > > buildmessages.
> > >
> > > Try this:
> > >
> > > cd $AMBERHOME/src/
> > > make clean
> > > cd leap
> > > xmkmf
> > > make World
> > > make install.leap
> > >
> > > Please send me all the output from the last 3 commands.
> > >
> > > All the best
> > > Ross
> > >
> > > /\
> > > \/
> > > |\oss Walker
> > >
> > > | Department of Molecular Biology TPC15 |
> > > | The Scripps Research Institute |
> > > | Tel:- +1 858 784 8889 | EMail:- ross.rosswalker.co.uk |
> > > | http://www.rosswalker.co.uk/ | PGP Key available on request |
> > >
> > >
> > > ---------------------------------------------------------------
> -----
> > > ---
> > > The AMBER Mail Reflector
> > > To post, send mail to amber.scripps.edu
> > > To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
> > >
>
>
>
>
> -------------------------------------------------------------------
> ----
> The AMBER Mail Reflector
> To post, send mail to amber.scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
>

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sat Nov 20 2004 - 20:53:01 PST
Custom Search