2004-06-15 20:56:35 +04:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* 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.
|
2015-06-24 06:59:57 +03:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2004-11-28 23:09:25 +03:00
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
* $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2004-11-22 04:38:40 +03:00
|
|
|
* Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2004-06-15 20:56:35 +04:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2013-03-28 01:17:31 +04:00
|
|
|
|
2004-06-15 20:56:35 +04:00
|
|
|
#include "ompi_config.h"
|
|
|
|
|
2013-03-28 01:17:31 +04:00
|
|
|
#include "ompi/mca/io/base/base.h"
|
2004-06-15 20:56:35 +04:00
|
|
|
|
|
|
|
|
2013-03-28 01:17:31 +04:00
|
|
|
/*
|
|
|
|
* The following file was created by configure. It contains extern
|
|
|
|
* statements and the definition of an array of pointers to each
|
|
|
|
* component's public mca_base_component_t struct.
|
2004-07-13 00:05:29 +04:00
|
|
|
*/
|
2013-03-28 01:17:31 +04:00
|
|
|
#include "ompi/mca/io/base/static-components.h"
|
|
|
|
|
|
|
|
static int mca_io_base_open(mca_base_open_flag_t flags)
|
2004-06-15 20:56:35 +04:00
|
|
|
{
|
2013-03-28 01:17:31 +04:00
|
|
|
int ret;
|
2004-06-15 20:56:35 +04:00
|
|
|
|
2013-03-28 01:17:31 +04:00
|
|
|
if (OPAL_SUCCESS !=
|
|
|
|
(ret = mca_base_framework_components_open(&ompi_io_base_framework, flags))) {
|
|
|
|
return ret;
|
|
|
|
}
|
2012-11-06 23:09:26 +04:00
|
|
|
|
2016-02-23 19:58:32 +03:00
|
|
|
return mca_io_base_find_available(OPAL_ENABLE_PROGRESS_THREADS, 1);
|
2004-06-15 20:56:35 +04:00
|
|
|
}
|
|
|
|
|
2013-03-28 02:19:57 +04:00
|
|
|
MCA_BASE_FRAMEWORK_DECLARE(ompi, io, "I/O", NULL, mca_io_base_open, NULL,
|
2013-03-28 01:17:31 +04:00
|
|
|
mca_io_base_static_components, 0);
|