AMBER Archive (2003)

Subject: Re: Machine file available for ICC compiler ?

From: David A. Case (case_at_scripps.edu)
Date: Fri Jul 04 2003 - 14:14:00 CDT


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_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 ==================================================================