[mpich-discuss] mpich2 installation problem
Ann Irvine
annirvine at gmail.com
Mon Jul 19 19:48:42 CDT 2010
I believe I have successfully built and installed MPICH2 (mpd, mpicc,
mpiexec, and mpirun all are appropriately referenced). I have also
successfully done the local machine sanity checks described in the
installation document and have successfully passed a message between a
server and client on a single (local) machine.
However, I haven't been able to complete the tests. I believe I have
narrowed the problem to the debugging section on page 37 of the
install.pdf guide. My mpdcheck checks are failing (shown below in 1
and 2).
I further think there is a problem with the MPI installation because
upon installing mpi4py, I am having problems importing MPI in a python
script. There, I receive the error in 3 (below).
I hope this is descriptive enough to receive some help. Please let me
know if it's not!
Thank you,
Ann
***************1****************
ann-irvines-macbook-pro:mpich2-1.2.1p1 anni$ mpdcheck -f mpd.hosts
*** gethostbyaddr failed for this hosts's IP 128.9.184.140
*** gethostbyaddr failed for this hosts's IP 128.9.184.140
*** gethostbyname_ex failed for host anni at login.clsp.jhu.edu
*** gethostbyname_ex failed for host anni at login.clsp.jhu.edu
*** gethostbyname_ex failed for host akirvine at hpc.usc.edu
*** gethostbyname_ex failed for host akirvine at hpc.usc.edu
*** gethostbyname_ex failed for host anni at nitro.usc.edu
*** gethostbyname_ex failed for host anni at nitro.usc.edu
***************2****************
ann-irvines-macbook-pro:mpich2-1.2.1p1 anni$ mpdcheck -pc
--- print results of: gethostbyname_ex(gethostname())
('ann-irvines-macbook-pro.local', [], ['128.9.184.140'])
--- try to run /bin/hostname
ann-irvines-macbook-pro.local
--- try to run uname -a
sh: /bin/uname: No such file or directory
--- try to print /etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
--- try to print /etc/resolv.conf
#
# Mac OS X Notice
#
# This file is not used by the host name and address resolution
# or the DNS query routing mechanisms used by most processes on
# this Mac OS X system.
#
# This file is automatically generated.
#
domain isi.edu
nameserver 128.9.144.145
nameserver 128.9.64.64
--- try to run /sbin/ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:26:b0:e6:17:dc
media: autoselect status: inactive
supported media: none autoselect 10baseT/UTP <half-duplex>
10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,flow-control>
10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex>
100baseTX <full-duplex> 100baseTX <full-duplex,flow-control> 100baseTX
<full-duplex,hw-loopback> 1000baseT <full-duplex> 1000baseT
<full-duplex,flow-control> 1000baseT <full-duplex,hw-loopback>
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::226:bbff:fe0c:5fd9%en1 prefixlen 64 scopeid 0x5
inet 128.9.184.140 netmask 0xfffff000 broadcast 128.9.191.255
ether 00:26:bb:0c:5f:d9
media: autoselect status: active
supported media: autoselect
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
lladdr 00:26:b0:ff:fe:e6:17:dc
media: autoselect <full-duplex> status: inactive
supported media: autoselect <full-duplex>
--- try to print /etc/nsswitch.conf
cat: /etc/nsswitch.conf: No such file or directory
***************3****************
File "demo/helloworld.py", line 6, in <module>
from mpi4py import MPI
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpi4py-1.2.1-py2.7-macosx-10.5-fat3.egg/mpi4py/MPI.so,
2): Symbol not found: _MPI_Dist_graph_create
Referenced from:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpi4py-1.2.1-py2.7-macosx-10.5-fat3.egg/mpi4py/MPI.so
Expected in: flat namespace
in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpi4py-1.2.1-py2.7-macosx-10.5-fat3.egg/mpi4py/MPI.so
More information about the mpich-discuss
mailing list