Can you try updating to a more recent version of mpich? 1.2 is very old at this point. On Mac OS, the easiest way to install is using homebrew.
I have an unusual problem when i try to start a program throught MPI =(
(i install MPI according to instruction, i swear)
[mac os x 10.7.5, python 2.7.6, mpich2-1.2]
~ $ sudo mpd & [1] 65314 ~ $ sudo mpdtrace MacBook-Ivan-2 ~ $ sudo mpdallexitok, but when i try to execute further test i have error
~ $ sudo mpd & [1] 65277 ~ $ sudo mpiexec -n 1 /bin/hostname MacBook-Ivan-2.local_mpdman_0 (mpd_sockpair 240): connect 22 Invalid argument MacBook-Ivan-2.local_mpdman_0 (mpd_sockpair 247): connect error with 22 Invalid argument MacBook-Ivan-2.local_mpdman_0 (mpd_sockpair 258): connect 22 Invalid argument MacBook-Ivan-2.local_mpdman_0: mpd_uncaught_except_tb handling: <class 'socket.error'>: [Errno 22] Invalid argument /Users/ivan/mpich2-install/bin/mpdlib.py 259 mpd_sockpair raise socket.error, errinfo /Users/ivan/mpich2-install/bin/mpdlib.py 820 create_single_mem_ring self.lhsSock,self.rhsSock = mpd_sockpair() /