<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
The value of the communicator indicates that MUMPS was probably compiled with the wrong mpi.h - the value of MPI_COMM_WORLD is very different from 0x5b. Make sure that your include path selects the MPICH2 include directory. <div><br class="webkit-block-placeholder"></div><div>Bill</div><div><br><div><div>On Feb 7, 2008, at 7:44 AM, Tunc Bahcecioglu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi</div> <div> </div> <div>I am trying to make MUMPS run with MPICH2. I send a mail to MUMPS mailing list but <span class="goog-spellcheck-word" style="BACKGROUND: yellow">couldn't</span> get an answer. </div> <div> </div> <div><span class="goog-spellcheck-word" style="BACKGROUND: yellow">MPI</span> stops and gives the <span class="goog-spellcheck-word" style="BACKGROUND: yellow">following</span> error message after a cal to <span class="goog-spellcheck-word" style="BACKGROUND: yellow">MPI</span>_<span class="goog-spellcheck-word" style="BACKGROUND: yellow">BCAST</span></div> <div> </div> <div>Here <span class="goog-spellcheck-word" style="BACKGROUND: yellow">NRHS</span> is 0 and COMM is <font size="2"><span class="goog-spellcheck-word" style="BACKGROUND: yellow">MPI</span>_COMM_WORLD (I don't know if running the program with <span class="goog-spellcheck-word" style="BACKGROUND: yellow">mpiexec</span> changes these parameters but the error message does not change.)</font></div> <div><b><font color="#0000ff" size="2"><p>CALL</p></font></b><font size="2"><span class="goog-spellcheck-word" style="BACKGROUND: yellow">MPI</span>_<span class="goog-spellcheck-word" style="BACKGROUND: yellow">BCAST</span>(<span class="goog-spellcheck-word" style="BACKGROUND: yellow">NRHS</span>,1,<span class="goog-spellcheck-word" style="BACKGROUND: yellow">MPI</span>_INTEGER,0,mumps_par%COMM,<span class="goog-spellcheck-word" style="BACKGROUND: yellow">IERR</span>)</font></div> <div><strong><font face="Times New Roman" size="3">job aborted:</font></strong><b><br><font size="3"><font face="Times New Roman"><strong>process: node: exit code: error message:</strong><br><strong>0: localhost: 1: Fatal error in MPI_Bcast: Invalid communicator, error stack:</strong><br> <strong>MPI_Bcast(784): MPI_Bcast(buf=0012FA08, count=1, INVALID DATATYPE, root=0, comm=</strong><br><strong>0x5b) failed</strong><br><strong>MPI_Bcast(700): Invalid communicator</strong></font></font></b></div> <div><p><span style="COLOR: black"><font face="Times New Roman" size="3">I am using Intel FORTRAN and C++ compilers v10, VSNET2003, and I am running on a dual core Vista machine. </font></span></p><p><span style="COLOR: black"><font face="Times New Roman" size="3">Any idea about the error message or what I may be doing wrong?</font></span></p><p><span style="COLOR: black"><font face="Times New Roman" size="3">The main code I am trying is an example from mumps so I don't think the error is in the code by the way. </font></span></p><div><span style="COLOR: black"><font face="Times New Roman" size="3"></font></span> <br class="khtml-block-placeholder"></div></div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>William Gropp</div><div>Paul and Cynthia Saylor Professor of Computer Science</div><div>University of Illinois Urbana-Champaign</div><br class="Apple-interchange-newline"></span></span></span></span> </div><br></div></body></html>