Hmm, I thought we already cleaned that up in 1.8. I will take a look today.
BTW, can you send me the sn/xpmem.h file from your machine. I might have an idea what is going wrong. Can't seen to find the link the SGI's tarball on their oss site. -Nathan On Thu, Dec 11, 2014 at 06:53:00PM -0800, Paul Hargrove wrote: > I think I've reported this earlier in the 1.8 series. > If I compile on an SGI UV (e.g. blacklight at PSC) configure picks up the > presence of xpmem headers and enables the vader BTL. > However, the port of vader to SGI's "flavor" of xpmem is incomplete and > the following build failure results: > make[2]: Entering directory > > `/brashear/hargrove/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/BLD/ompi/mca/btl/vader' > CC btl_vader_module.lo > In file included from > > /usr/users/6/hargrove/SCRATCH/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/openmpi-1.8.4rc2/ompi/mca/btl/vader/btl_vader.h:60, > from > > /usr/users/6/hargrove/SCRATCH/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/openmpi-1.8.4rc2/ompi/mca/btl/vader/btl_vader_module.c:29: > > /usr/users/6/hargrove/SCRATCH/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/openmpi-1.8.4rc2/ompi/mca/btl/vader/btl_vader_endpoint.h:76: > error: expected specifier-qualifier-list before 'xpmem_apid_t' > > /usr/users/6/hargrove/SCRATCH/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/openmpi-1.8.4rc2/ompi/mca/btl/vader/btl_vader_module.c: > In function 'init_vader_endpoint': > > /usr/users/6/hargrove/SCRATCH/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/openmpi-1.8.4rc2/ompi/mca/btl/vader/btl_vader_module.c:197: > error: 'struct <anonymous>' has no member named 'apid' > > /usr/users/6/hargrove/SCRATCH/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/openmpi-1.8.4rc2/ompi/mca/btl/vader/btl_vader_module.c: > In function 'mca_btl_vader_endpoint_destructor': > > /usr/users/6/hargrove/SCRATCH/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/openmpi-1.8.4rc2/ompi/mca/btl/vader/btl_vader_module.c:682: > error: 'struct <anonymous>' has no member named 'apid' > > /usr/users/6/hargrove/SCRATCH/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/openmpi-1.8.4rc2/ompi/mca/btl/vader/btl_vader_module.c:683: > error: 'struct <anonymous>' has no member named 'apid' > make[2]: *** [btl_vader_module.lo] Error 1 > make[2]: Leaving directory > > `/brashear/hargrove/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/BLD/ompi/mca/btl/vader' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/brashear/hargrove/OMPI/openmpi-1.8.4rc2-linux-x86_64-uv/BLD/ompi' > make: *** [all-recursive] Error 1 > This can trivially be fixed in configure if one doesn't recognize the SGI > variant of xpmem. > I think (untested) that the following is sufficient: > --- ./ompi/mca/btl/vader/configure.m4~ 2014-12-11 18:51:11.499654000 > -0800 > +++ ./ompi/mca/btl/vader/configure.m4 2014-12-11 18:51:52.289654000 > -0800 > @@ -23,7 +23,7 @@ > AC_ARG_WITH([xpmem], > [AC_HELP_STRING([--with-xpmem(=DIR)], > [Build with XPMEM kernel module support, searching for > headers in DIR])]) > - OMPI_CHECK_WITHDIR([xpmem], [$with_xpmem], [include/xpmem.h > include/sn/xpmem.h]) > + OMPI_CHECK_WITHDIR([xpmem], [$with_xpmem], [include/xpmem.h]) > > AC_ARG_WITH([xpmem-libdir], > [AC_HELP_STRING([--with-xpmem-libdir=DIR], > -Paul > -- > Paul H. Hargrove phhargr...@lbl.gov > Computer Languages & Systems Software (CLaSS) Group > Computer Science Department Tel: +1-510-495-2352 > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 > _______________________________________________ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2014/12/16520.php
pgpIkiK0phckc.pgp
Description: PGP signature