Re: Machine file available for ICC compiler ?

From: David A. Case <case.scripps.edu>
Date: Fri, 4 Jul 2003 12:14:00 -0700

On Fri, Jul 04, 2003, Teletchéa Stéphane wrote:

> cat mexit.f | /lib/cpp -traditional -P -DLinux -DMEM_ALLOC -DMPI >
> _mexit_.f
> :25: mpif.h: No such file or directory

You need to define the CPP variable correctly, something like:

setenv CPP "/lib/cpp -traditional -I$MPICH_INCLUDE"

Take a look at the Machine.g77_mpich machine file for Amber7, and replace
the g77-specific stuff with ifc-specific stuff...but keep the mpich stuff
the same.

...good luck...dac

-- 
==================================================================
David A. Case                     |  e-mail:      case.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 Jul 04 2003 - 20:53:01 PDT
Custom Search