AMBER Archive (2005)

Subject: Re: AMBER: Compiling just sander

From: david.evans_at_ulsop.ac.uk
Date: Fri Mar 11 2005 - 03:24:24 CST


Hi,

The program sander depends on other libraries included in
the Amber distribution. In other words, you need more than
just the files in the sander/ directory to build a sander executable.

The best way to really understand this is to read the sander/Makefile
and follow the dependency chain. This will show you which
libraries you actually need, and you then have a choice between
copying them to the same relative postion to your new sander
directory,
or modifying the Makefile to link to the libraries in their original
position.

Hope that helps

Dave

--
David Evans
School of Pharmacy
University of London

---- Message from Ilyas Yildirim <yildirim_at_pas.rochester.edu> at 2005-03-10 22:07:31 ------ >Dear All, > >I have a quick question, which I could not find an answer in the amber >mailing list. I want to compile just sander. I am doing the following: >I copy the sander directory to my home directory as follows; > ># cp -R $AMBERHOME/src/sander ~/sander > >Then, I try to compile sander as follows: > ># cd ~/sander ># make sander > >Everything looks to be fine, but at the end I am getting the following >error: > >. >. >. >ifort -c -w95 -tpp7 -mp1 -O0 -FR -o prn_dipoles.o _prn_dipoles.f >cd ../lib; make sys.a >/bin/sh: line 1: cd: ../lib: No such file or directory >make[1]: Entering directory `/home/yildirim/deneme/sander' >make[1]: *** No rule to make target `sys.a'. Stop. >make[1]: Leaving directory `/home/yildirim/deneme/sander' >make: *** [syslib] Error 2 > >Then, I have copied all of the original $AMBERHOME directory to my home >directory ~/amber8 and deleted all the files in $AMBERHOME/exe directory. >Then I am doing the following: > ># make clean > >while I was in $AMBERHOME/src directory. Then, when I did the following > ># cd $AMBERHOME/src/sander ># setenv AMBERHOME ~/amber8 ># make sander > >it compiled the sander. > >My question is as follows: Do I have to copy all of the amber8 files into >one directory, and then compile just the programs I want, like sander? Or >is there another way to just compile sander (or even leap, etc.)? Thanks >in advance. > >Best, > >-- > Ilyas Yildirim > --------------------------------------------------------------- > - Department of Chemisty - - > - University of Rochester - - > - Hutchison Hall, # B10 - - > - Rochester, NY 14627-0216 - Ph.:(585) 275 67 66 (Office) - > - http://www.pas.rochester.edu/~yildirim/ - > --------------------------------------------------------------- > >--------------------------------------------------------------------- -- >The AMBER Mail Reflector >To post, send mail to amber_at_scripps.edu >To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu > > > ----------------------------------------------------------------------- The AMBER Mail Reflector To post, send mail to amber_at_scripps.edu To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu