<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=612243314-24102007><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=612243314-24102007><FONT face=Arial
color=#0000ff size=2> You can remove the ssm project from makewindist.bat
without affecting the compilation of other projects. Also if you are not
planning to use MPE to profile your applications you can also remove the "*P*"
projects (eg: ch3sockPRelease... ). You can remove the projects fortRelease,
gfortRelease, sfortRelease & fmpe from makewindist.bat if you do not need
fortran specific components. You can try building the source on a multi-core
system to speed things up.</FONT></SPAN></DIV>
<DIV><SPAN class=612243314-24102007><FONT face=Arial color=#0000ff
size=2> We had other users who built MPICH2 (1.0.6) on windows from
the source (When I built the windows binaries for MPICH2 I used the source
provided in the webpage.). Can you try building MPICH2 after removing the
fortran related projs from makewindist.bat and let us know the results ? It
would be great if you could also try running the extracterrmsgs script from
command line and let us know the results (Run "<FONT face="Times New Roman"
color=#009900 size=3>perl maint\extracterrmsgs -skip=src\util/multichannel/mpi.c
</FONT><SPAN class=q><FONT face="Times New Roman" color=#009900 size=3>src\mpi
src\nameserv src\util src\binding src\include src\mpid src\pmi" from command
line. Also try running the extracterrmsgs script in debug mode as "perl
maint\extracterrmsgs -debug -skip=src\util/multichannel/mpi.c <SPAN
class=q><FONT face="Times New Roman" color=#009900 size=3>src\mpi src\nameserv
src\util src\binding src\include src\mpid
src\pmi</FONT></SPAN>".</FONT></SPAN>)</FONT></SPAN></DIV>
<DIV><SPAN class=612243314-24102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=612243314-24102007><FONT face=Arial color=#0000ff size=2>(Note:
Also make sure that you modify the MPICH2 installer project to reflect these
changes -- i.e., no fortran libs, no MPE libs. We currently have only one
installer project and hence we have not removed/disentangled the dependencies
from makewindist.bat.</FONT></SPAN><SPAN class=612243314-24102007><FONT
face=Arial color=#0000ff size=2>)</FONT></SPAN></DIV>
<DIV><SPAN class=612243314-24102007></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT size=2></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>R<SPAN
class=612243314-24102007>egards,</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=612243314-24102007>Jayesh</SPAN></FONT></FONT></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ruini Xue [mailto:xueruini@gmail.com]
<BR><B>Sent:</B> Wednesday, October 24, 2007 2:28 AM<BR><B>To:</B> Jayesh
Krishna<BR><B>Subject:</B> Re: [MPICH] build MPICH2 on
Windows<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Anyone has successfully build mpich2-1.0.6 on windows with the source
downloaded from the web? </DIV>
<DIV>I found the user guide is not so clear. </DIV>
<DIV> </DIV>
<DIV>e.g. after running</DIV>
<DIV>winconfigure.wsf --remove-fortran --cleancode</DIV>
<DIV>(ps: the "could not open src\pmi" error is still there)<BR> </DIV>
<DIV>Is it necessary to remove fortran related project
(fort/sfort/gfort/fpe) from makewindist.bat? </DIV>
<DIV> </DIV>
<DIV>I just want to compile the sock and shm channel, so can I remove the ssm
project?</DIV>
<DIV> </DIV>
<DIV>The compiling is very very slow (it takes me more than 2 hours, and failed
at last), how to speed it up?</DIV>
<DIV> </DIV>
<DIV>I want to know who built the MPICH2 binaries for windows on the web
(the guy in anl?), and maybe he/she is good at these questions.</DIV>
<DIV> </DIV>
<DIV>Best</DIV>
<DIV> </DIV>
<DIV>Andrew<BR> </DIV>
<DIV><SPAN class=gmail_quote>On 10/24/07, <B class=gmail_sendername>Ruini
Xue</B> <<A href="mailto:xueruini@gmail.com">xueruini@gmail.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><SPAN
class=q><BR><BR>
<DIV><SPAN class=gmail_quote>On 10/23/07, <B class=gmail_sendername>Jayesh
Krishna</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:jayesh@mcs.anl.gov" target=_blank>jayesh@mcs.anl.gov </A>>
wrote:</SPAN> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN> 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" ?
</SPAN></FONT></DIV></DIV></BLOCKQUOTE>
<DIV> </DIV></SPAN>
<DIV>I just downloaded the src from MPICH homepage, and the "src\pmi"
folder is right overthere. I have no fortran compiler so I want to remove
it.</DIV>
<DIV> </DIV>
<DIV>I try to configure it without "--remove-fortran", unfortunately, the
error is still there:</DIV>
<DIV> </DIV>
<DIV>###################################################################</DIV>
<DIV>
<P>D:\Dev\mpich2-1.0.6>winconfigure.wsf --cleancode<SPAN
class=q><BR>Microsoft (R) Windows Script Host Version 5.6<BR></SPAN>Copyright
(C) Microsoft Corporation 1996-2001. All rights reserved.</P>
<P><SPAN class=q>Creating src\include\win64\mpi.h<BR>Creating
src\include\win32\mpi.h<BR>Creating src\include\win32\mpichtimer.h<BR>Creating
src\include\win64\mpichtimer.h<BR>Creating
src\include\mpich2info.h<BR>Creating
src\mpe2\src\logging\include\mpe_log_thread.h <BR>Creating
src\mpe2\src\callstack\include\mpe_callstack.h<BR>Creating
src\include\mpio.h<BR>Creating
src\mpi\romio\adio\include\romioconf.h<BR></SPAN>D:\Dev\mpich2-1.0.6\src\binding\cxx>perl
buildiface -nosep<SPAN class=q> <BR>Creating src\include\mpicxx.h
<BR>modifying the comm, win datatype classes to handle unreferenced
variables.<BR></SPAN>D:\Dev\mpich2-1.0.6\src\binding\f77>perl
buildiface<BR>Creating src\include\win32\mpif.h<BR>Creating
src\include\win64\mpif.h <BR>Creating src\binding\f77\fprotos.h <BR>Creating
file: D:\Dev\mpich2-1.0.6\src\binding\f77\accumulatefs.c<BR>Creating file:
D:\Dev\mpich2-1.0.6\src\binding\f77\allgatherfs.c<BR>Creating file:
D:\Dev\mpich2-1.0.6\src\binding\f77\allgathervfs.c
<BR><BR>....<BR><BR>Creating file:
D:\Dev\mpich2-1.0.6\src\binding\f77\win_createfs.c<BR>Creating
src\binding\f77\setbotf.f<BR><FONT
color=#009900>D:\Dev\mpich2-1.0.6\src\binding\f90>perl
buildiface<BR>D:\Dev\mpich2- 1.0.6>perl maint\extracterrmsgs
-skip=src\util/multichannel/mpi.c <SPAN class=q><BR>src\mpi src\nameserv
src\util src\binding src\include src\mpid src\pmi</SPAN></FONT></P><SPAN
class=q>
<P><FONT color=#ff0000><STRONG>Could not open
src\pmi</STRONG></FONT></P></SPAN>
<P><SPAN class=q>Because of errors in extracting error messages, the file
src\mpi\errhan\defmsg.h<BR> was not updated.<BR>Creating
maint\extractstates<BR>Creating
maint\extractstrings<BR></SPAN>D:\Dev\mpich2-1.0.6>perl maint\extractstates
<SPAN class=q><BR>Creating
test\mpi\maint\testmerge<BR></SPAN>D:\Dev\mpich2-1.0.6\test\mpi\cxx\io>perl
..\..\maint\testmerge -defn=..\..\maint<BR>\common.defn ioharness.defn
ioharness.tlt<BR>D:\Dev\mpich2-1.0.6\test\mpi\f77\io >perl
..\..\maint\testmerge -defn=..\..\maint <BR>\common.defn ioharness.defn
ioharness.tlt<SPAN class=q><BR>Creating
src\include\win32\mpichconf.h<BR><BR>.......<BR><BR></SPAN>Creating
src\include\win64\type1aint.h<BR>Creating bin\mpicc.wsf<BR>Creating winbuild
directory<SPAN class=q><BR>Creating src\pm\smpd\smpd_version.h:
1.0.6<BR>Unhandled
definitions:<BR>HAVE_PVFS2_CREATE_WITHOUT_LAYOUT<BR>HAVE_DLSYM<BR>HAVE_F90_TYPE_ROUTINES<BR>HAVE_PTHREAD_CLEANUP_PUSH<BR>HAVE_PTHREAD_CLEANUP_PUSH_MACRO<BR>LINUX86_CYCLE_CPUID_RDTSC<BR>LINUX86_CYCLE_RDTSC
<BR>LINUX86_CYCLE_RDTSCP<BR>MPICH2_LIBDIR<BR>MPICH_DEBUG_MEMARENA<BR>MPICH_DEBUG_MUTEX<BR>USE_ALLOCA<BR>USE_DYNAMIC_LIBRARIES
<BR>USE_NOPOSIX_FOR_IFCONF</SPAN></P>
<P>###################################################################</P></DIV>
<DIV>Best</DIV>
<DIV> </DIV>
<DIV>Andrew</DIV>
<DIV><SPAN class=e id=q_115cfb4e39077cdb_20>
<DIV><BR> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff
size=2>Jayesh</FONT></SPAN></DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:owner-mpich-discuss@mcs.anl.gov"
target=_blank>owner-mpich-discuss@mcs.anl.gov</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:owner-mpich-discuss@mcs.anl.gov" target=_blank>
owner-mpich-discuss@mcs.anl.gov</A>] <B>On Behalf Of </B>Ruini
Xue<BR><B>Sent:</B> Tuesday, October 23, 2007 9:00 AM<BR><B>To:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:mpich-discuss@mcs.anl.gov"
target=_blank>mpich-discuss@mcs.anl.gov</A><BR><B>Subject:</B> [MPICH] build
MPICH2 on Windows<BR></FONT><BR> </DIV>
<DIV><SPAN>
<DIV></DIV>Hello,<BR><BR>I download the src of MPICH2-1.0.6 and followed the
user guide to build
it:<BR><BR><BR>#############################################<BR>G:\mpich2-1.0.6>winconfigure.wsf
--remove-fortran --cleancode <BR>Microsoft (R) Windows Script Host Version
5.6<BR>Copyright Reserved (C) Microsoft Corporation
1996-2001.<BR><BR>Creating src\include\win64\mpi.h<BR>Creating
src\include\win32\mpi.h<BR>Creating src\include\win32\mpichtimer.h
<BR>Creating src\include\win64\mpichtimer.h <BR>Creating
src\include\mpich2info.h<BR>Creating
src\mpe2\src\logging\include\mpe_log_thread.h<BR>Creating
src\mpe2\src\callstack\include\mpe_callstack.h<BR>Creating
src\include\mpio.h <BR>Creating src\mpi\romio\adio\include\romioconf.h
<BR>G:\mpich2-1.0.6\src\binding\cxx>perl buildiface -nosep<BR>Creating
src\include\mpicxx.h<BR>modifying the comm, win datatype classes to handle
unreferenced variables. <BR>G:\mpich2-1.0.6>perl maint\extracterrmsgs
-skip=src\util/multichannel/mpi.c src\ <BR>mpi src\nameserv src\util
src\binding src\include src\mpid src\pmi<BR><BR><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">Could not open src\pmi
</SPAN><BR><BR>Because of errors in extracting error messages, the file
src\mpi\errhan\defmsg.h <BR> was not updated.<BR>Creating
maint\extractstates<BR>Creating
maint\extractstrings<BR>G:\mpich2-1.0.6>perl maint\extractstates
<BR>Creating
test\mpi\maint\testmerge<BR>G:\mpich2-1.0.6\test\mpi\cxx\io>perl
..\..\maint\testmerge -defn=..\..\maint\com <BR>mon.defn ioharness.defn
ioharness.tlt<BR>G:\mpich2-1.0.6\test\mpi\f77\io>perl
..\..\maint\testmerge -defn=..\..\maint\com <BR>mon.defn ioharness.defn
ioharness.tlt<BR>Creating src\include\win32\mpichconf.h<BR>Creating
src\include\win64\mpichconf.h <BR><BR>.....<BR><BR>Creating
src\include\win64\mpe_logging_conf.h<BR>Creating
src\include\win32\mpe_wrappers_conf.h <BR>Creating
src\include\win64\mpe_wrappers_conf.h<BR>Creating
src\pm\smpd\smpd_version.h: 1.0.6<BR><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">Unhandled
definitions:</SPAN><BR style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_PVFS2_CREATE_WITHOUT_LAYOUT</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_DLSYM</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_F90_TYPE_ROUTINES</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_PTHREAD_CLEANUP_PUSH</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_PTHREAD_CLEANUP_PUSH_MACRO
</SPAN><BR style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">LINUX86_CYCLE_CPUID_RDTSC
</SPAN><BR style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">LINUX86_CYCLE_RDTSC</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">LINUX86_CYCLE_RDTSCP</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">MPICH2_LIBDIR</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">MPICH_DEBUG_MEMARENA</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">MPICH_DEBUG_MUTEX</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">USE_ALLOCA</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">USE_DYNAMIC_LIBRARIES</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">USE_NOPOSIX_FOR_IFCONF</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_GCC_ASM_SPARC_MEMBAR</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_GCC_ASM_SPARC_STBAR
</SPAN><BR style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_SOLARIS_ASM_SPARC_MEMBAR</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_SOLARIS_ASM_SPARC_STBAR</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">GCC_X86_CYCLE_CPUID_RDTSC</SPAN>
<BR style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">GCC_X86_CYCLE_RDTSC</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">GCC_X86_CYCLE_RDTSCP</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_LIBPTHREAD</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_MPI_INIT_THREAD</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_EXECINFO_H</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_FDOPEN</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_UCONTEXT_H</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">NEEDS_FDOPEN_DECL</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">HAVE_H_ADDR_LIST</SPAN><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><BR
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">ERROR: 28 definitions not
handled</SPAN><BR style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)">(61 instances of unhandled
definitions) <BR></SPAN><SPAN
style="COLOR: rgb(0,0,0)">######################################<BR><BR>Why
it complains "could not open
src\pmi"?<BR><BR>Best<BR><BR>Andrew<BR></SPAN><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(255,0,0)"></SPAN></SPAN></DIV></DIV></BLOCKQUOTE><BR></SPAN></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>