[mpich-discuss] ImportError: No module named mpdlib

Halim Amer aamer at anl.gov
Thu Apr 28 22:25:08 CDT 2016


John,

MPD has been deprecated for a long time and got completely deleted since 
MPICH 3.1.1.

I guess mpiexec at <somedir>/Contents/engine/bin/mpiexec comes from an 
old MPICH that uses MPD. The version you compiled should have been built 
by default with the Hydra process manager but it was installed in a 
different folder (/somedir/mpich-3.0.4-shared) than the one showing bugs.

You can change your environment to prioritize loading 
/somedir/mpich-3.0.4-shared over <somedir>/Contents/engine/bin/ or wipe 
out the MPICH installation in the latter folder. To make sure that MPD 
is not being built, you can specify --with-pm=hydra during configure or 
just use a more recent MPICH version >= 3.1.1 or the most recent MPICH 3.2.

--Halim
www.mcs.anl.gov/~aamer

On 4/28/16 5:42 PM, JR Cary wrote:
> One of our users saw:
>
> Traceback (most recent call last):
>
>    File "<somedir>/Contents/engine/bin/mpiexec", line 186, in
>      import mpdlib
> ImportError: No module named mpdlib
>
> Anyone seen this before?
>
> mpich-3.0.4, compiled with
>
>
> ../configure' \
>    --prefix=/somedir/mpich-3.0.4-shared \
>    --enable-shared \
>    --disable-static \
>    CC='/usr/bin/gcc' \
>    CXX='/usr/bin/g++' \
>    FC='/usr/bin/gfortran' \
>    F77='/usr/bin/gfortran' \
>    CFLAGS='-pipe -fPIC' \
>    CXXFLAGS='-pipe -fPIC' \
>    FFLAGS='-fPIC' \
>    FCFLAGS='-fPIC'
>
> mpiexec is a softlink to mpiexec.hydra.
>
> Thx....John Cary
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list