<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> </div>
<div>Can you give more suggestions to avoid input full path of pw.x to run mpi&pw.x?</div>
<div> sincerely yours</div>
<div> Cheng YC<br><br> </div>
<div><span class="gmail_quote">2008/3/24, Axel Kohlmeyer <<a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a>>:</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, wrote:<br><br>YC> Dear all:<br><br>dear cheng,<br><br>YC> I've successfully compiled parallel version pwscf 3.2.3 &4.0 on my<br>
YC> system (suse10 for IA64). The included tests are passed. But I can't run<br>YC> pw.x with mpi.<br>YC> To clearly show my problem, I describe it as follows:<br>YC> first, I test the mpi to check whether it can work. It works!<br>
<br>how did you test it?<br><br>YC> second, I test the pwscf. I run pw.x:$pw.x < <a href="http://al.scf.in">al.scf.in</a> >al.scf.out&. it can<br>YC> 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> third, I test the mpi with pwscf. I run:$ mpirun -np 10 pw.x < <a href="http://al.scf.in">al.scf.in</a> ><br>
YC> al.scf. out &. it can't wrok.<br><br>YC> The errors are:Missing: program name Program pw.x either does not<br>YC> 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> axel.<br><br>YC> Is there any suggestions to solve this problem?<br>YC><br>YC> sincerely yours<br>YC><br>YC> Cheng YC<br>YC><br>YC><br>YC><br><br>--<br>=======================================================================<br>
Axel Kohlmeyer <a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.edu</a> <a href="http://www.cmm.upenn.edu">http://www.cmm.upenn.edu</a><br> Center for Molecular Modeling -- University of Pennsylvania<br>
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323<br>tel: 1-215-898-1582, fax: 1-215-573-6233, 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>