<div>Thank you for your suggestions. When I specify the full path of pw.x, the MPI with pw.x can run successfully.</div>
<div>&nbsp;</div>
<div>Can you give more suggestions to avoid input full path of pw.x to run mpi&amp;pw.x?</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sincerely yours</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Cheng YC<br><br>&nbsp;</div>
<div><span class="gmail_quote">2008/3/24, Axel Kohlmeyer &lt;<a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Mon, 24 Mar 2008,&nbsp;&nbsp;wrote:<br><br>YC&gt; Dear all:<br><br>dear cheng,<br><br>YC&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;ve successfully compiled parallel version pwscf 3.2.3 &amp;4.0 on my<br>
YC&gt; system (suse10 for IA64). The included tests are passed. But I can&#39;t run<br>YC&gt; pw.x with mpi.<br>YC&gt; To clearly show my problem, I describe it as follows:<br>YC&gt; first, I test the mpi to check whether it can work. It works!<br>
<br>how did you test it?<br><br>YC&gt; second, I test the pwscf. I run pw.x:$pw.x &lt; <a href="http://al.scf.in">al.scf.in</a> &gt;al.scf.out&amp;. it can<br>YC&gt; work.<br><br>are you _sure_ you compiled a parallel version?<br>
most MPI libraries do not allow the parallel executable<br>to be run without the MPI environment, ie. via mpirun.<br><br><br>YC&gt; third, I test the mpi with pwscf. I run:$ mpirun -np 10 pw.x &lt; <a href="http://al.scf.in">al.scf.in</a> &gt;<br>
YC&gt; al.scf. out &amp;. it can&#39;t wrok.<br><br>YC&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The errors are:Missing: program name&nbsp;&nbsp; Program pw.x either does not<br>YC&gt; exist, is not executable, or is an erroneous argument to mpirun.<br><br>is pw.x in your regular search path for exectuables?<br>
<br>try: which pw.x<br><br>also you can try specifying the full path to pw.x<br><br><br>finally, you should not use I/O redirection with parallel<br>execution. this is not handled portably across MPI implementations.<br>better to use the -in flag. to specify the input filename.<br>
<br>cheers,<br>&nbsp;&nbsp;axel.<br><br>YC&gt; Is there any suggestions to solve this problem?<br>YC&gt;<br>YC&gt; sincerely yours<br>YC&gt;<br>YC&gt; Cheng YC<br>YC&gt;<br>YC&gt;<br>YC&gt;<br><br>--<br>=======================================================================<br>
Axel Kohlmeyer&nbsp;&nbsp; <a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a>&nbsp;&nbsp; <a href="http://www.cmm.upenn.edu">http://www.cmm.upenn.edu</a><br>&nbsp;&nbsp;Center for Molecular Modeling&nbsp;&nbsp; --&nbsp;&nbsp; University of Pennsylvania<br>
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323<br>tel: 1-215-898-1582,&nbsp;&nbsp;fax: 1-215-573-6233,&nbsp;&nbsp;office-tel: 1-215-898-5425<br>=======================================================================<br>
If you make something idiot-proof, the universe creates a better idiot.<br></blockquote></div><br><br clear="all"><br>-- <br>Y. C. Cheng<br>Department of Phyics<br>Nanjing University<br>Nanjing 210093<br>P. R. China<br>Tel: 86-25-83592907<br>
Email: <a href="mailto:yccheng.nju@gmail.com">yccheng.nju@gmail.com</a>