[maker-devel] using MAKER with MPI
Carson Holt
carsonhh at gmail.com
Wed Jan 7 09:13:50 MST 2015
Yes they are interchangeable. In fact in OpenMPI both mpiexec and mpirun are softlinks to the exact same executable —> orterun
Just remember MAKER works which MPICH2/3 and OpenMPI flavors of MPI but not with MVAPICH2.
Also If using MPICH, make sure to enable shared libaries during installation (this is not the default).
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).
If jobs hang or freeze when using OpenMPI try adding the '-mca btl ^openib' flag to the mpiexec command when running MAKER.
Example: mpiexec -mca btl ^openib -n 20 maker
—Carson
> On Jan 7, 2015, at 4:16 AM, 赵越 <jerryzhaosjtu at gmail.com> wrote:
>
> Greetings,
>
> Can I use mpirun instead of mpiexec? Thank you!!
>
> --
> Yue Zhao (Jerry)
> Bachelor Candidate of Plant Biotechnology
> Researcher in UCLA-CSST program
> Shanghai Jiao Tong University, Shanghai
> jerryzhaosjtu at gmail.com <mailto:jerryzhaosjtu at gmail.com>_______________________________________________
> maker-devel mailing list
> maker-devel at box290.bluehost.com
> http://box290.bluehost.com/mailman/listinfo/maker-devel_yandell-lab.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://yandell-lab.org/pipermail/maker-devel_yandell-lab.org/attachments/20150107/1d1c90ae/attachment-0003.html>
More information about the maker-devel
mailing list