[MPICH] build MPICH2 on Windows

Jayesh Krishna jayesh at mcs.anl.gov
Tue Oct 23 10:59:23 CDT 2007


Hi,
 The "Unhandled definitions" is OK (These are definitions required for the
unix part of the code -- platform dependent). Do you have the "src\pmi"
directory in your source tree ? Can you try configuring without
"--remove-fortran" ?
 
Regards,
Jayesh

  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Ruini Xue
Sent: Tuesday, October 23, 2007 9:00 AM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] build MPICH2 on Windows


Hello,

I download the src of MPICH2-1.0.6 and followed the user guide to build it:


#############################################
G:\mpich2-1.0.6>winconfigure.wsf --remove-fortran --cleancode
Microsoft (R) Windows Script Host Version 5.6
Copyright Reserved (C) Microsoft Corporation 1996-2001.

Creating src\include\win64\mpi.h
Creating src\include\win32\mpi.h
Creating src\include\win32\mpichtimer.h
Creating src\include\win64\mpichtimer.h 
Creating src\include\mpich2info.h
Creating src\mpe2\src\logging\include\mpe_log_thread.h
Creating src\mpe2\src\callstack\include\mpe_callstack.h
Creating src\include\mpio.h
Creating src\mpi\romio\adio\include\romioconf.h 
G:\mpich2-1.0.6\src\binding\cxx>perl buildiface -nosep
Creating src\include\mpicxx.h
modifying the comm, win datatype classes to handle unreferenced variables.
G:\mpich2-1.0.6>perl maint\extracterrmsgs -skip=src\util/multichannel/mpi.c
src\ 
mpi src\nameserv src\util src\binding src\include src\mpid src\pmi

Could not open src\pmi

Because of errors in extracting error messages, the file
src\mpi\errhan\defmsg.h 
 was not updated.
Creating maint\extractstates
Creating maint\extractstrings
G:\mpich2-1.0.6>perl maint\extractstates
Creating test\mpi\maint\testmerge
G:\mpich2-1.0.6\test\mpi\cxx\io>perl ..\..\maint\testmerge
-defn=..\..\maint\com 
mon.defn ioharness.defn ioharness.tlt
G:\mpich2-1.0.6\test\mpi\f77\io>perl ..\..\maint\testmerge
-defn=..\..\maint\com
mon.defn ioharness.defn ioharness.tlt
Creating src\include\win32\mpichconf.h
Creating src\include\win64\mpichconf.h 

.....

Creating src\include\win64\mpe_logging_conf.h
Creating src\include\win32\mpe_wrappers_conf.h
Creating src\include\win64\mpe_wrappers_conf.h
Creating src\pm\smpd\smpd_version.h: 1.0.6
Unhandled definitions:
HAVE_PVFS2_CREATE_WITHOUT_LAYOUT
HAVE_DLSYM
HAVE_F90_TYPE_ROUTINES
HAVE_PTHREAD_CLEANUP_PUSH
HAVE_PTHREAD_CLEANUP_PUSH_MACRO 
LINUX86_CYCLE_CPUID_RDTSC
LINUX86_CYCLE_RDTSC
LINUX86_CYCLE_RDTSCP
MPICH2_LIBDIR
MPICH_DEBUG_MEMARENA
MPICH_DEBUG_MUTEX
USE_ALLOCA
USE_DYNAMIC_LIBRARIES
USE_NOPOSIX_FOR_IFCONF
HAVE_GCC_ASM_SPARC_MEMBAR
HAVE_GCC_ASM_SPARC_STBAR 
HAVE_SOLARIS_ASM_SPARC_MEMBAR
HAVE_SOLARIS_ASM_SPARC_STBAR
GCC_X86_CYCLE_CPUID_RDTSC
GCC_X86_CYCLE_RDTSC
GCC_X86_CYCLE_RDTSCP
HAVE_LIBPTHREAD
HAVE_MPI_INIT_THREAD
HAVE_EXECINFO_H
HAVE_FDOPEN
HAVE_UCONTEXT_H
NEEDS_FDOPEN_DECL
HAVE_H_ADDR_LIST

ERROR: 28 definitions not handled
(61 instances of unhandled definitions)
######################################

Why it complains "could not open src\pmi"?

Best

Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20071023/b1f37878/attachment.htm>


More information about the mpich-discuss mailing list