Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI devel] Speaking of epoll....
From: Ralph Castain (rhc_at_[hidden])
Date: 2013-04-17 17:38:11


Ick - will take a look. Thanks!

On Apr 17, 2013, at 2:22 PM, Orion Poplawski <orion_at_[hidden]> wrote:

> Building 1.7.1 on Fedora I'm seeing:
>
> checking for epoll support... checking for epoll_ctl... yes
> yes
> checking for working epoll library interface... no
> no
> checking for working epoll system call... no
> checking for epoll syscall support... no
>
> Looking at config.log:
>
> configure:13769: checking for working epoll library interface
> configure:13822: gcc -o conftest -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -fno-strict-aliasing -I/builddir/build/BUILD/openmpi-1.7.1 -I/builddir/build/BUILD/openmpi-1.7.1 -I/builddir/build/BUILD/openmpi-1.7.1/opal/include -Wl,-z,noexecstack conftest.c -lnsl -lutil -lm -lhwloc >&5
> conftest.c: In function 'main':
> conftest.c:137:5: warning: 'main' is normally a non-static function [-Wmain]
> int main(int argc, char **argv)
> ^
> conftest.c: In function 'main':
> conftest.c:143:16: error: expected expression before '[' token
> int fildes[[2]];
> ^
> conftest.c:147:22: error: expected expression before '[' token
> if (pipe(&fildes[[0]]) < 0)
> ^
> conftest.c:154:47: error: expected expression before '[' token
> if (epoll_ctl(epfd, EPOLL_CTL_ADD, fildes[[1]], &epevin) == -1)
> ^
> conftest.c:143:9: warning: unused variable 'fildes' [-Wunused-variable]
> int fildes[[2]];
> ^
> configure:13822: $? = 1
>
> Which results in HAVE_EPOLL = 0kjj
>
> Looks like an issue with m4 quoting. Also, it looks like this has been addressed (removed) in libevent 2.0.21.
>
>
> --
> Orion Poplawski
> Technical Manager 303-415-9701 x222
> NWRA, Boulder/CoRA Office FAX: 303-415-9702
> 3380 Mitchell Lane orion_at_[hidden]
> Boulder, CO 80301 http://www.nwra.com
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel