<!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.16587" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=061142117-11012008><FONT face=Arial
color=#0000ff size=2>To see if your MPICH2 build works, you can run "make
testing" in the top-level mpich2 directory. That will run the entire test suite
in test/mpi (can take an hour or more). </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=061142117-11012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=061142117-11012008><FONT face=Arial
color=#0000ff size=2>Rajeev</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Gaetano Bellanca
[mailto:gaetano.bellanca@unife.it] <BR><B>Sent:</B> Thursday, January 10, 2008
6:37 PM<BR><B>To:</B> Rajeev Thakur<BR><B>Cc:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> RE: [MPICH] Confused about
compiling/using mpich2<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR>sorry for the delay in answering. I made some
tests.<BR><BR>I'm using 'module' to set the environment. Therefore, I'm rather
sure that when I'm using mpich, everything of mpich2 is not used and
vice-versa (I have incompatibilities declared in the module loading
procedures).<BR><BR>But it is true what you said! When I run the code compiled
with mpich2 with mpirun of mpich (mpirun -n 2 ), the code run but not with 2
processes. The only way I have to run 2 processes without any error is
compiling with mpich1.2.7p1 and running it with mpirun of this version. In
this case, I have 2 processes running!<BR><BR>Both mpirun and mpiexec of
mpich2 causes the code to die when trying to do a simple MPI_SEND and
MPI_RECV.<BR>Then, I changed my way of using mpd. Before I used a ring started
by root at boot. Now, using mpd from my user, I don't have a crash of the
code, but it waits undefinitely during the MPI_SEND and MPI_RECV
procedures.<BR><BR>Maybe I'm wrong in something relevant to the use of mpich2
on a single machine with dual core. There is something that I have not
understood.<BR><BR>Unfortunately, I don't have my cluster (10 single core
single processors) available at this moment. I'm running on a single machine
with dual core athlon (ubuntu linux 7.10). <BR>I cannot say anything about a
simulation on a real cluster, for the
moment.<BR><BR>Regards.<BR><BR>Gaetano<BR><BR><BR><BR>At 22.08 08/01/2008, you
wrote:<BR>
<BLOCKQUOTE class=cite cite="" type="cite"><FONT color=#0000ff size=2>If
your code is compiled with MPICH2, it shouldn't run with MPICH-1's mpirun.
Make sure that all your code is compiled with the compile scripts from
MPICH2 and there are no mpif.h files from MPICH-1 in any of your source
directories.<BR></FONT> <BR><FONT color=#0000ff
size=2>Rajeev<BR></FONT><BR>
<DL>
<HR>
<DD><FONT face=Tahoma size=2>From:</B> owner-mpich-discuss@mcs.anl.gov [<A
href="mailto:owner-mpich-discuss@mcs.anl.gov" eudora="autourl">
mailto:owner-mpich-discuss@mcs.anl.gov</A>] On Behalf Of </B>Gaetano
Bellanca<BR>
<DD>Sent:</B> Monday, January 07, 2008 12:16 PM<BR>
<DD>To:</B> mpich-discuss@mcs.anl.gov<BR>
<DD>Subject:</B> Re: [MPICH] Confused about compiling/using
mpich2<BR></FONT><BR>
<DD>Dear Darius,<BR><BR>
<DD>thank you for your answer. But I'm not sure this is the problem. In
fact, MPI_Finalize is far from the point where the code is stopped by this
error, and there are a lot of other routines before the end of the
program. Moreover my code works works with MPICH1.2.7p1 (without this
problem) and also with MPICH2 (if i run it with mpirun of the mpich1.2.7p1
instead of mpiexec or mpirun of MPICH2).<BR><BR>
<DD>I'm rather confused about that .... maybe I'm doing something wrong in
using mpiexec. <BR><BR>
<DD>Regards.<BR><BR>
<DD>Gaetano<BR><BR>
<HR>
<DD><TT>Gaetano Bellanca - Department of Engineering - University of
Ferrara <BR>
<DD>Via Saragat, 1 - 44100 - Ferrara -
ITALY
<BR>
<DD>Voice (VoIP): +39 0532 974809 Fax:
+39 0532 974870<BR>
<DD><A href="mailto:gaetano.bellanca@unife.it"
eudora="autourl">mailto:gaetano.bellanca@unife.it</A> <BR>
<HR>
</TT></DD></DL></BLOCKQUOTE><X-SIGSEP>
<P></X-SIGSEP>
<DL></DL>
<HR>
<TT>Gaetano Bellanca - Department of Engineering - University of Ferrara
<BR>Via Saragat, 1 - 44100 - Ferrara -
ITALY
<BR>Voice (VoIP): +39 0532 974809 Fax: +39
0532 974870<BR><A href="mailto:gaetano.bellanca@unife.it"
eudora="autourl">mailto:gaetano.bellanca@unife.it</A> <BR>
<HR>
</BLOCKQUOTE></TT></BODY></HTML>