[MPICH] compile error building mpich2 1.0.2 with SMPD

James S Perrin james.s.perrin at manchester.ac.uk
Fri Jun 17 12:05:15 CDT 2005


Hi,
	This one has already cropped up this week (check the archive on the mpich2 
site, "Missing header in MPICH2 1.0.2"). Anyway just create 
src/pm/smpd_version.h containing:

#define SMPD_VERSION "1.0.2"

Regards
James


Benjamin Rutt wrote:

> Am I doing anything wrong?  (I put RSHCOMMAND=ssh because I am used to 
> mpich1.2.6 and I am in an ssh environment, I'm not sure if it is 
> necessary at all).   [rutt at akron mpich2-1.0.2]$ RSHCOMMAND=ssh 
> ./configure --prefix=$HOME/opt/mpich2-1.0.2-smpd-ssh --enable-fast 
> --enable-debuginfo --enable-sharedlibs=gcc --with-pm=smpd 
> --with-pmi=smpd && make && make install
> Configuring MPICH2 version 1.0.2 with 
> --prefix=/home/rutt/opt/mpich2-1.0.2-smpd-ssh --enable-fast 
> --enable-debuginfo --enable-sharedlibs=gcc --with-pm=smpd --with-pmi=smpd
> sourcing /tmp/tmpPNVWUI/mpich2-1.0.2/src/pm/smpd/setup_pm
> RUNNING SETUP FOR THE SMPD PROCESS MANAGER
> RUNNING SETUP FOR THE SOCK INTERFACE
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... checking for suffix of object 
> files... o
> checking whether we are using the GNU C compiler... yes  [... lots of 
> output that I can provide if necessary ... ]  gcc -DHAVE_CONFIG_H -I. 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/pmi/smpd -I../../include 
> -I../../pm/smpd -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/include 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/pm/smpd 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/common/sock 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/common/sock 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/common/sock/poll 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/common/sock/poll 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/binding/f77 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/binding/f77 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/ch3/include 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/ch3/include 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/common/datatype 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/common/datatype 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/ch3/channels/sock/include 
> -I/tmp/tmpPNVWUI/mpich2-1.0.2/src/mpid/ch3/channels/sock/include -c 
> smpd_pmi.c
> distcc[16584] ERROR: compile on localhost failed
> In file included from ipmi.h:31,
>                 from smpd_pmi.c:6:
> ../../pm/smpd/smpd.h:56:26: smpd_version.h: No such file or directory
> distcc[16583] ERROR: compile on localhost failed
> make[3]: *** [smpd_pmi.o] Error 1
> make[3]: Leaving directory `/tmp/tmpPNVWUI/mpich2-1.0.2/src/pmi/smpd'
> make[2]: *** [all-redirect] Error 1
> make[2]: Leaving directory `/tmp/tmpPNVWUI/mpich2-1.0.2/src/pmi'
> make[1]: *** [all-redirect] Error 2
> make[1]: Leaving directory `/tmp/tmpPNVWUI/mpich2-1.0.2/src'
> make: *** [all-redirect] Error 2
> 
> Thanks,


-- 
-----------------------------------------------------------------------------
James S. Perrin,                   | email: james.perrin at manchester.ac.uk
Manchester Visualization Centre,   | www.sve.man.ac.uk/General/Staff/perrin
Kilburn Building, The University,  | tel: +44 161 275 6945
Manchester, England. M13 9PL.      | fax: +44 161 275 6800/6040
-----------------------------------------------------------------------------
"The test of intellect is the refusal to belabour the obvious" -Alfred Bester
-----------------------------------------------------------------------------




More information about the mpich-discuss mailing list