[MPICH] WRF and MPICH2

Scott Atchley atchley at myri.com
Fri Aug 17 14:28:55 CDT 2007


On Aug 17, 2007, at 2:19 PM, Brian Dobbins wrote:

> Hi Scott,
>
>   I'm sure you'll get a more knowledgeable response from someone  
> else, but as a quick check, are you including a local 'mpif.h' from  
> a different MPI distribution?  I've gotten this error that way once  
> before.  Chances are that's not it, but it's something I always  
> check now when porting apps from one system to another.  ;)
>
>   Cheers,
>   - Brian

Hi Brian,

Thanks for the reply.

I cd'd to the mpich2 directory and grep'd for mpif.h in both  
config.log and config.status and I see:

% grep mpif.h * | grep -E "config\."
config.log:config.status:1040: creating src/binding/f77/mpif.h
config.status:config_files=" Makefile src/Makefile src/include/ 
Makefile src/include/mpichtimer.h src/binding/Makefile src/binding/ 
cxx/Makefile src/binding/cxx/mpicxx.h src/binding/f77/Makefile src/ 
binding/f77/mpif.h src/binding/f77/setbotf.f src/binding/f90/Makefile  
src/binding/f90/mpi_sizeofs.f90 src/env/mpicc src/env/mpicc.conf src/ 
env/mpicc.bash src/env/mpicxx src/env/mpicxx.conf src/env/mpicxx.bash  
src/env/mpif77 src/env/mpif77.conf src/env/mpif77.bash src/env/mpif90  
src/env/mpif90.conf src/env/mpif90.bash src/env/mpich2version src/env/ 
parkill src/env/Makefile src/util/createshlib src/mpi/Makefile src/ 
mpi/attr/Makefile src/mpi/coll/Makefile src/mpi/comm/Makefile src/mpi/ 
datatype/Makefile src/mpi/debugger/Makefile src/mpi/errhan/Makefile  
src/mpi/group/Makefile src/mpi/init/Makefile src/mpi/misc/Makefile  
src/mpi/pt2pt/Makefile src/mpi/rma/Makefile src/mpi/spawn/Makefile  
src/mpi/timer/Makefile src/mpi/topo/Makefile src/mpid/Makefile src/ 
mpid/common/Makefile src/mpid/common/datatype/Makefile src/mpid/ 
common/locks/Makefile src/pm/Makefile src/pmi/Makefile src/nameserv/ 
Makefile src/nameserv/file/Makefile src/nameserv/mpd/Makefile src/ 
nameserv/pmi/Makefile src/nameserv/test/Makefile src/util/Makefile  
src/util/info/Makefile src/util/instrm/Makefile src/util/thread/ 
Makefile src/util/thread/mpe_thread.h src/util/mem/Makefile src/util/ 
msgs/Makefile src/util/param/Makefile src/util/dbg/Makefile src/util/ 
dbg/getfuncstack src/util/osserv/Makefile src/include/mpi.h test/ 
Makefile test/util/Makefile test/basic/Makefile test/commands/ 
Makefile test/commands/cmdtests test/mpid/Makefile test/mpid/ch3/ 
Makefile examples/Makefile examples/f77/Makefile examples/f90/ 
Makefile examples/cxx/Makefile src/util/logging/Makefile src/util/ 
logging/common/Makefile doc/Makefile doc/mansrc/Makefile doc/mansrc/ 
createhtmlindex doc/refman/Makefile doc/installguide/Makefile doc/ 
userguide/Makefile doc/logging/Makefile doc/design/Makefile doc/smpd/ 
Makefile doc/windev/Makefile"
config.status:  "src/binding/f77/mpif.h" )  
CONFIG_FILES="$CONFIG_FILES src/binding/f77/mpif.h" ;;
config.status:    sed -e 's/^C/\!/g' src/binding/f77/mpif.h > src/ 
include/mpif.h
config.status:  cp src/include/mpif.h src/binding/f77/mpif.h
config.status:    cp src/binding/f77/mpif.h src/include

It seems like it is getting the right one.

Scott




More information about the mpich-discuss mailing list