Discussion:
Cannot execute mpich2 mpiexec under Cygwin
(too old to reply)
gboh
2008-06-12 20:58:46 UTC
Permalink
I successfully built mpich2 1.0 (Linux vesion) under Cygwin, but I
cannot run mpiexec. The failed sequence is as follows, using
"hostname" as a test program:

bash-3.2$ mpd&
[1] 16048
bash-3.2$ mpdtrace
Laptop8
bash-3.2$ mpiexec -n 1 hostname
Laptop8_2044 (mpd_connect 346): connect error: Cannot assign requested
address
Laptop8_2044 (mpd_socketpair 323): mpd_socketpair: conn failed
Laptop8_2044 (_do_mpdrun 695): _do_mpdrun failed to obtain socketpair
mpdrun: job failed; reason=:failed_to_get_socketpair:
bash-3.2$

It doesn't matter what I use as a test program; the errors are the
same.

Incidentally, the test sequence involving "mpdcheck" described in the
mpich2 installers' guide works fine.

This mpich2 version was downloaded just a few days ago. The mpd
version provided by mpich2 is:
This version of mpd is (0, 5, 0, 'September, 2004 release')

I am running Cygwin on a dual-core (Intel) Dell laptop with Windows XP
SP2.
My copy of Cygwin was updated a 2 or 3 weeks ago.

Thanks for any help with this problem.
Georg Bisseling
2008-06-16 13:37:39 UTC
Permalink
On Thu, 12 Jun 2008 22:58:46 +0200, gboh <***@netscape.net> wrote:

You write about
- an mpich2 that you compiled yourself
and
- an mpich2 that you downloaded.

It sounds as if you were expecting the cygwin-compiled mpiexec
to work with the mpd daemons taken from the downloaded native
windows mpich2. That might be the problem.

You will have to have mpd's running from the cygwin-compiled
version.

If you are trying to run both daemons then you might have
to configure one of them to listen to another port...

Please elaborate!
Regards
Georg

Loading...