<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title>Message</title>
<meta content="MSHTML 6.00.6000.16939" name="GENERATOR">
</head>
<body>
<div><font face="Arial" size="2"><span class="732334523-01122009">Hi,</span></font></div>
<div><font face="Arial" size="2"><span class="732334523-01122009"></span></font> </div>
<div><font face="Arial" size="2"><span class="732334523-01122009">I have an mpi c++ code which has been run fine with either lam-mpi and open-mpi. Intel C++ compiler (ver 11) has been used. But I encounter the following error
</span></font></div>
<div><font face="Arial" size="2"><span class="732334523-01122009"></span></font> </div>
<div><font face="Arial" size="2"><span class="732334523-01122009">Attempting to use an MPI routine before initializing MPICH<br>
</span></font></div>
<div><font face="Arial" size="2"><span class="732334523-01122009">when the same code is compiled using mpich-2 (ver 1.2.1) and the same C++ compiler. For your information, I have been working on an AMD machine with SUSE linux OS where all the above experiences
take place.</span></font></div>
<div><font face="Arial" size="2"><span class="732334523-01122009"></span></font> </div>
<div><font face="Arial" size="2"><span class="732334523-01122009">The following is the way I run the mpich2-built code and the above error results.</span></font></div>
<div><font face="Arial" size="2"><span class="732334523-01122009"></span></font> </div>
<div><font face="Arial" size="2"><span class="732334523-01122009">In a linux command prompt,</span></font></div>
<div><font face="Arial" size="2"><span class="732334523-01122009"></span></font> </div>
<div><font face="Arial" size="2"><span class="732334523-01122009">>mpd &</span></font></div>
<div><font face="Arial" size="2"><span class="732334523-01122009">>mpiexec -n 16 mycode myinput</span></font></div>
<div><font face="Arial" size="2"><span class="732334523-01122009">Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
Attempting to use an MPI routine before initializing MPICH<br>
</span></font></div>
<div><font face="Arial" size="2"><span class="732334523-01122009">Your help is greatly appreciated.</div>
</span></font>
<div><font face="Arial" size="2"><span class="732334523-01122009">Joseph</div>
</span></font>
<div><font face="Arial" size="2"><span class="732334523-01122009"></span></font> </div>
<div align="left"><font face="Arial" size="2">Joseph Yen, Ph.D.</font></div>
<div align="left"><font face="Arial" size="2">Jacobs Technology</font></div>
<div align="left"><font face="Arial" size="2">Tel: 931-393-6605</font></div>
<div align="left"><font face="Arial" size="2"><a href="mailto:joseph.yen@jacobs.com">joseph.yen@jacobs.com</a></font></div>
<div align="left"> </div>
<div> </div>
<br>
<hr>
<font face="Verdana" color="Gray" size="1">NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing copying or distribution of, or reliance on this message by unintended
recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.<br>
</font>
</body>
</html>