From: lindheim@cacr.caltech.edu (Jan Lindheim)
Newsgroups: comp.parallel.mpi
Subject: Re: [Q] MPICH 1.1.1 install problems on Redhat 5.1
Date: 28 Oct 1998 18:17:55 GMT
Organization: California Institute of Technology, Pasadena
Message-Id: <717n4j$k1i@gap.cco.caltech.edu>
References: <71568l$en3@mozo.cc.purdue.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii


In article <71568l$en3@mozo.cc.purdue.edu>,
	jonesbr@perihelion.ecn.purdue.edu (Brian R. Jones) writes:
> I have been attempting to install MPICH 1.1.1 on a newly acquired
> linux box running Redhat 5.1.  I have done this before on Solaris
> and other versions of linux with no problems, but have been less
> than successful with this newest version of Redhat.  It appears
> that Redhat has started messing with the /usr/include files and
> directory structure and this is causing the problems.  For the
> record, I have tried this with gcc 2.7.x and 2.8.1 with the same
> results.  I have already been in contact with the MPICH folks a
> bit and we resolved one minor issue (summary: use -I. and not -I./)
> but as my remaining problems appear to be Redhat related (and they
> haven't responded yet) I figured I would tap a larger audience.
> 
> Essentially, the compile dies with claims of syntax errors in the
> include files.  I have checked them a bit and I didn't see any, so
> it looks like a conflict between the standard /usr/include files
> and the /usr/include/linux files that Redhat supplies - dueling
> time.h files especially.  I tried hiding the /usr/include/linux
> files, but MPICH apparently needs some of them for legitimate reasons
> so that didn't work either.
> 
> Has anyone faced this problem and beaten it?  Any tips would be much
> appreciated!
> 
> -Brian
> 
> 

Brian,
MPICH 1.1.1 does not like the system includes with the later 2.1 kernel.
Try having /usr/src/linux point to a 2.0 kernel and it will work fine.

----------------------------------------------------------------------
Jan Lindheim             lindheim@cacr.caltech.edu
M.S. 158-79 Caltech
Pasadena, CA 91125 USA   
Tel: (626) 395-3926, FAX: (626) 584-5917

