The original problem of a missing aio.h was seen on OpenBSD-5.0 (which was released Nov 1, 2011)
See  http://www.open-mpi.org/community/lists/devel/2012/02/10470.php


-Paul

On 2/20/2012 4:03 PM, Edgar Gabriel wrote:
just out of curiosity, what platform did not have support for the aio
operations?

Also, the proper solution will be to not compile the section using the
aio functions, but still compile the rest of the module. I will try to
implement that properly ASAP. The POSIX is the most basic module that
shall be used if everything else breaks, so disabling it basically means
that we should not compile OMPIO at all.

Thanks
Edgar

On 2/20/2012 4:36 PM, Ralph Castain wrote:
I'm afraid this commit breaks the ability to build from a tarball. I created a tarball from the trunk and then did a configure followed by "make clean". The make command failed to execute because it could not "make clean" in the mca/fbtl/posix directory as there is no Makefile in it.

I checked and the Makefile -is- being created when built in an svn checkout, but is -not- being created when built from tarball. This was done on a Mac.


On Feb 20, 2012, at 8:53 AM, jsquyres@osl.iu.edu wrote:

Author: jsquyres
Date: 2012-02-20 10:53:20 EST (Mon, 20 Feb 2012)
New Revision: 25966
URL: https://svn.open-mpi.org/trac/ompi/changeset/25966

Log:
Ensure that we have aio.h before trying to compile this component.

Added:
  trunk/ompi/mca/fbtl/posix/configure.m4

Added: trunk/ompi/mca/fbtl/posix/configure.m4
==============================================================================
--- (empty file)
+++ trunk/ompi/mca/fbtl/posix/configure.m4	2012-02-20 10:53:20 EST (Mon, 20 Feb 2012)
@@ -0,0 +1,33 @@
+# -*- shell-script -*-
+#
+# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
+#                         University Research and Technology
+#                         Corporation.  All rights reserved.
+# Copyright (c) 2004-2005 The University of Tennessee and The University
+#                         of Tennessee Research Foundation.  All rights
+#                         reserved.
+# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 
+#                         University of Stuttgart.  All rights reserved.
+# Copyright (c) 2004-2012 The Regents of the University of California.
+#                         All rights reserved.
+# Copyright (c) 2010      Cisco Systems, Inc.  All rights reserved.
+# Copyright (c) 2008-2011 University of Houston. All rights reserved.
+# $COPYRIGHT$
+# 
+# Additional copyrights may follow
+# 
+# $HEADER$
+#
+
+# MCA_fbtl_posix_CONFIG(action-if-can-compile, 
+#                        [action-if-cant-compile])
+# ------------------------------------------------
+AC_DEFUN([MCA_ompi_fbtl_posix_CONFIG],[
+    AC_CHECK_HEADER([aio.h],
+                    [fbtl_posix_happy="yes"],
+                    [fbtl_posix_happy="no"])
+
+    AS_IF([test "$fbtl_posix_happy" = "yes"],
+          [$1],
+          [$2])
+])dnl
_______________________________________________
svn mailing list
svn@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/svn

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

      

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

-- 
Paul H. Hargrove                          PHHargrove@lbl.gov
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900