[mpich-discuss] error in mpiexec

Jed Brown jedbrown at mcs.anl.gov
Thu Feb 2 22:08:38 CST 2012


On Thu, Feb 2, 2012 at 21:30, Jeff Hammond <jhammond at alcf.anl.gov> wrote:

> (This question belongs on mpich-discuss at mcs.anl.gov)
>
> It seems that you are using mpiexec from OpenMPI with a binary compiled
> with MPICH2.  This is not a good idea.
>
> Please use the mpiexec from MPICH2.  If you do not know where it is, try
> 'find /home/mpich2-1.4.1p1/ -name mpiexec'.
>
> You can see what mpiexec you are using by calling 'which mpiexec'.
>

This problem is way too common. Why doesn't mpiexec put some token in the
environment that MPI_Init() can check and error if it doesn't match
(including version, if necessary)? Same with Open MPI. The error message
could even helpfully point out the location of the correct mpiexec.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120203/590372a5/attachment.htm>


More information about the mpich-discuss mailing list