<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yes they are interchangeable.  In fact in OpenMPI both mpiexec and mpirun are softlinks to the exact same executable —> orterun<div class=""><br class=""></div><div class="">Just remember MAKER works which MPICH2/3 and OpenMPI flavors of MPI but not with MVAPICH2.</div><div class=""><br class=""></div><div class="">Also If using MPICH, make sure to enable shared libaries during installation (this is not the default).</div><div class=""><br class=""></div><div class="">If using OpenMPI, make sure to set LD_PRELOAD to the location of libmpi.so before even trying to install MAKER. It must also be set before running MAKER (or any program that uses OpenMPI's shared libraries), so it's best just to add it to your ~/.bash_profile. (i.e. export LD_PRELOAD=/usr/local/openmpi/lib/libmpi.so).</div><div class=""><br class=""></div><div class="">If jobs hang or freeze when using OpenMPI try adding the '-mca btl ^openib' flag to the mpiexec command when running MAKER.<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>Example: mpiexec -mca btl ^openib -n 20 maker</div><div class=""><br class=""></div><div class="">—Carson</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 7, 2015, at 4:16 AM, 赵越 <<a href="mailto:jerryzhaosjtu@gmail.com" class="">jerryzhaosjtu@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Greetings,<div class=""><br class=""></div><div class="">Can I use mpirun instead of mpiexec? Thank you!!<br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-family: Calibri, sans-serif;" class=""><b class=""><i class=""><span lang="EN-US" style="font-size:10pt;color:rgb(38,38,38)" class="">Yue Zhao (Jerry)</span></i></b><br class=""></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 10pt;" class="">Bachelor Candidate of Plant Biotechnology<u class=""></u><u class=""></u></span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 10pt;" class="">Researcher in UCLA-CSST program<u class=""></u><u class=""></u></span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 10pt;" class="">Shanghai Jiao Tong University, Shanghai<u class=""></u><u class=""></u></span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-family: Calibri, sans-serif;" class=""><u class=""><span lang="EN-US" style="" class=""><a href="mailto:jerryzhaosjtu@gmail.com" style="color:rgb(17,85,204)" target="_blank" class="">jerryzhaosjtu@gmail.com</a></span></u></div></div></div></div></div>
</div></div>
_______________________________________________<br class="">maker-devel mailing list<br class=""><a href="mailto:maker-devel@box290.bluehost.com" class="">maker-devel@box290.bluehost.com</a><br class="">http://box290.bluehost.com/mailman/listinfo/maker-devel_yandell-lab.org<br class=""></div></blockquote></div><br class=""></div></body></html>