Re: AMBER: Compiling just sander

From: <>
Date: Fri, 11 Mar 2005 09:24:24 +0000


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
or modifying the Makefile to link to the libraries in their original

Hope that helps

David Evans
School of Pharmacy
University of London
---- Message from Ilyas Yildirim <> at
2005-03-10 22:07:31 ------
>Dear All,
>I have a quick question, which I could not find an answer in the
>mailing list. I want to compile just sander. I am doing the
>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
>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
>directory ~/amber8 and deleted all the files in $AMBERHOME/exe
>Then I am doing the following:
># make clean
>while I was in $AMBERHOME/src directory. Then, when I did the
># 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
>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.)?
>in advance.
>  Ilyas Yildirim
>  ---------------------------------------------------------------
>  - Department of Chemisty       -                              -
>  - University of Rochester      -                              -
>  - Hutchison Hall, # B10        -                              -
>  - Rochester, NY 14627-0216     - Ph.:(585) 275 67 66 (Office) -
>  -                     -
>  ---------------------------------------------------------------
>The AMBER Mail Reflector
>To post, send mail to
>To unsubscribe, send "unsubscribe amber" to
The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Fri Mar 11 2005 - 09:53:00 PST
Custom Search