Re: compiling SGI/mpi

From: David A. Case <case_at_scripps.edu>
Date: Fri 4 Oct 2002 08:07:23 -0700

On Thu, Oct 03, 2002, Ioana Cozmuta wrote:
>
> Thanks for your reply, you are right the required file is not under
> /usr/include/ but under another path, i.e. /opt/mpt/mpt/usr/include/
> This is an origin cluster on which I am trying to compile amber and try
> some runs so I do not have more than user privileges.
> Do you know a way around this? Could I make in a simple way the compiler
> to look for this file into another directory?

Sure. You need to add "-I/opt/mpt/mpt/usr/include" to the CPP variable
in the MACHINE file, and include the MPI library location in the
LOADLIB variable.

See Machine.g77_mpich for an example to work from (it's simpler than
looking at Machine.sgi_mpich, but either should give you the idea.)

..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
==================================================================
Received on Fri Oct 04 2002 - 08:07:23 PDT
Custom Search