That's good that you guys revive this thread, I almost forget about it.

The code you're referring, is not part of the libevent. It was one of my "fixes" around for problem on OS X (where kevent is not able to work nicely with pty). It works on MAC as the code trigger an error so there is no need for the timeout ... I'll make the corrections over the weekend.

  Thanks,
    george.

On Apr 11, 2008, at 7:39 PM, Karol Mroz wrote:
Hi, Jeff...

This test was performed locally, yes. I'm short on machines at the moment to perform any proper distributed tests.

--
Karol

-----Original Message-----
From: Jeff Squyres <jsquy...@cisco.com>

Date: Fri, 11 Apr 2008 16:36:33
To:Open MPI Developers <de...@open-mpi.org>
Subject: Re: [OMPI devel] Build failure on FreeBSD 7


This may depend on how you ran the app on FreeBSD -- did you run on
the localhost only?

We have/had a problem when running locally with regards to kevent --
I'm not 100% sure if we've fixed it yet.  Let me check...


On Apr 5, 2008, at 1:53 AM, Karol Mroz wrote:
After digging a little deeper, it turns out that the kevent() call in
opal/event/kquene.c:
        if (kevent(kq,
          kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) !=
1 ||
           (int)kqueueop->events[0].ident != master ||
           kqueueop->events[0].flags != EV_ERROR) {

seems to hang in freebsd 7. Changing the NULL parameter to, lets say
1000, causes the function to return and print out the error message:

event_warn("%s: detected broken kqueue (failed delete); not using
error %d (%s)", __func__, errno, strerror(errno));

The simple non-blocking send/recv app used to test this then runs to
completion. Compiling OpenMPI on linux and running this same app
produces no errors.

Any ideas?

Thanks.
--
Karol



_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel


--
Jeff Squyres
Cisco Systems

_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel

_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to