<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [mpich-discuss] MPI_THREAD_MULTIPLE</TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=417264614-08102009><FONT color=#0000ff
size=2 face=Arial>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=417264614-08102009><FONT color=#0000ff
size=2 face=Arial> And before compiling MPICH2 (running the helper script
mentioned below) you need to configure MPICH2 for windows (cscript
winconfigure.wsf --cleancode).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=417264614-08102009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=417264614-08102009><FONT color=#0000ff
size=2 face=Arial>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=417264614-08102009><FONT color=#0000ff
size=2 face=Arial>Jayesh</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>Jayesh
Krishna<BR><B>Sent:</B> Thursday, October 08, 2009 9:46 AM<BR><B>To:</B> 'Xunlei
Wu'<BR><B>Cc:</B> mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> Re:
[mpich-discuss] MPI_THREAD_MULTIPLE<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Hi,<BR><BR>1) You cannot install a 64-bit application on a
32-bit OS (Install a 64-bit version of windows if you need to install 64-bit
version of MPICH2).<BR><BR>2) The default channel used in MPICH2 is not
multithreaded (default channel is sock). You need to specify a multithreaded
channel to enable thread support. Try using the nemesis channel (mpiexec -n 2
-channel nemesis my_mpi_pgm.exe) or the multithreaded sock channel (mpiexec -n 2
-channel mt my_mpi_pgm.exe).<BR><BR>3) You don't have to compile MPICH2 if you
need to develop MPI applications (the precompiled libraries are installed when
you install MPICH2). If you would like to work on MPICH2 you can compile the
source with VS 2008 using the helper script, winbuild.wsf (maint\winbuild.wsf).
I use the following options with the helper script (Currently the script assumes
that the source is in the parent directory. So "cd to winbuild dir" before
running the script),<BR><BR> # Open a VS 2008 command prompt.<BR> # To
get the options supported by the script, cscript ..\maint\winbuild.wsf
/?<BR> # To compile nemesis channel (32-bit) using the script, cscript
..\maint\winbuild.wsf --with-cpu=x86 --build=Release --with-appver=0x502
--with-channel=nemesis --disable-profiling --disable-fortran
--disable-gcc<BR><BR> Let us know if you need further
help.<BR><BR>Regards,<BR>Jayesh<BR><BR>-----Original Message-----<BR>From:
mpich-discuss-bounces@mcs.anl.gov [<A
href="mailto:mpich-discuss-bounces@mcs.anl.gov">mailto:mpich-discuss-bounces@mcs.anl.gov</A>]
On Behalf Of Xunlei Wu<BR>Sent: Wednesday, October 07, 2009 11:52 PM<BR>To:
mpich-discuss@mcs.anl.gov<BR>Subject: [mpich-discuss]
MPI_THREAD_MULTIPLE<BR><BR>Hi All,<BR><BR>I have below issues to
share:<BR><BR>1. I have an AMD64 machine with WinXP32 and another Intel Core2Duo
with WInXP32.<BR>Somehow "Win X86_64 Binary" failed to install on both machines.
I have to choose "Win IA32 Binary" installer. Is this normal?<BR><BR>2. I
called<BR>MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE,
&multithread_support_level); But multithread_support_level is always 0. Does
the installer's implementation support MPI_THREAD_MULTIPLE? If not, do I have to
recompile the source?<BR><BR>3. I tried to use MSVS2008 to compile the source
tree's mpich2.sln. But it failed by reporting missing many source files under
libsrc/include/win/... which is not created by running
"makewindist.bat".<BR><BR>Please help. Thanks a
lot.<BR><BR>Best,<BR>xunlei<BR></FONT></P></BODY></HTML>