[MPICH] Misplaced headers, MPICH2 1.0.2p1 on Mac OS 10.4.2

Fritz Anderson fritza at uchicago.edu
Fri Oct 21 12:08:32 CDT 2005


I've been trying to build MPICH2, version 1.0.2p1 from the tarball at  
<http://www-unix.mcs.anl.gov/mpi/mpich2/downloads/ 
mpich2-1.0.2p1.tar.gz> on Mac OS 10.4.2, using the 64-bit toolset.  
The process fails with the first compilation.

My configuration is

CCFLAGS='-arch ppc64' LDFLAGS='-arch ppc64' CPPFLAGS='-arch ppc64' ./ 
configure --disable-f77 --disable-f90 --prefix='/usr/local' --with- 
pm=mpd:gforker

The configuration seems to proceed without error. The first  
compilation fails to find two headers:

rm -f lib/newconfig
gcc -DHAVE_CONFIG_H -I. -I/Users/fritza/Sandbox/HPC/MPICH2/ 
mpich2-1.0.2p1/src/mpid/common/sock/poll -I../../../../include -I/ 
Users/fritza/Sandbox/HPC/MPICH2/mpich2-1.0.2p1/src/include  -arch  
ppc64 -c sock.c
sock.c:8:24: error: mpidu_sock.h: No such file or directory
In file included from sock.c:9:
../../../../include/mpiimpl.h:98:21: error: mpidpre.h: No such file  
or directory
In file included from sock.c:9:

A cascade of errors arising from the missing headers then follows.  
Files named mpidu_sock.h and mpiimpl.h do exist in the source tree,  
just not in any directory indicated by the -I options.

Trying random suggestions related to BSD from the mailing list, I tried:

Configuring --without-mpe. The error persists.

Substituting mpe2-1.0.2p4. The error persists.

As I write this, I am trying a configuration without the disable- 
FORTRAN options... and the error persists.

Surely I am missing something obvious. What is it?

     -- F

-- 
Fritz Anderson
Macintosh Programmer
University of Chicago




More information about the mpich-discuss mailing list