AMBER Archive (2002)

Subject: Re: Compiling Amber7 on a Beowulf Cluster - Compiling Error

From: David Case (case_at_scripps.edu)
Date: Fri Apr 12 2002 - 19:37:01 CDT


On Fri, Apr 12, 2002, Peter Gannett wrote:
>
> I'm having some problems with compiling Amber 7 on a beowulf cluster. When I get
> to the "make install" step, I get the following errors:
>
> cpp: command not found

You don't say which MACHINE file you were using, which would have helped.

Look in Machine.g77_mpich (even if you are using something different). The
followoing lines determine which cpp is used:

# CPP is the cpp for this machine
setenv CPP "/lib/cpp -traditional -I$MPICH_INCLUDE"

You may need to adjust these for your environment. [In particular, if you
are using Machine.g77, and "cpp" is not in your PATH, you will need to
modify the corresponding line in that file.]

"Traditional" Unix/Linux systems put cpp into /lib, but this never really
made any sense, and some distributions (like current RedHat Linux)
put it in /bin. This leads to confusion, and even the different files
in amber7/src/Machines are not all consistent in what they assume.

Some other comments (for you or others thinking about this):

(1) Don't try to do a parallel install without doing a single-processor
install first.

(2) As the manual indicates, there is generally no reason to compile
all of amber on a parallel machine: see the "install.parallel" target
of amber7/src/Makefile. Only compile the codes you are planning to use
on the parallel machine.

...good luck...dac

-- 

================================================================== David A. Case | e-mail: case_at_scripps.edu Dept. of Molecular Biology, TPC15 | fax: +1-858-784-8896 The Scripps Research Institute | phone: +1-858-784-9768 10550 N. Torrey Pines Rd. | home page: La Jolla CA 92037 USA | http://www.scripps.edu/case ==================================================================