1 /* 2 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 * University Research and Technology 4 * Corporation. All rights reserved. 5 * Copyright (c) 2004-2005 The University of Tennessee and The University 6 * of Tennessee Research Foundation. All rights 7 * reserved. 8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 * University of Stuttgart. All rights reserved. 10 * Copyright (c) 2004-2005 The Regents of the University of California. 11 * All rights reserved. 12 * $COPYRIGHT$ 13 * 14 * Additional copyrights may follow 15 * 16 * $HEADER$ 17 */ 18 19 20 #include "ompi_config.h" 21 22 #include "ompi/mca/io/base/base.h" 23 24 25 /* 26 * The following file was created by configure. It contains extern 27 * statements and the definition of an array of pointers to each 28 * component's public mca_base_component_t struct. 29 */ 30 #include "ompi/mca/io/base/static-components.h" 31 32 static int mca_io_base_open(mca_base_open_flag_t flags) 33 { 34 int ret; 35 36 if (OPAL_SUCCESS != 37 (ret = mca_base_framework_components_open(&ompi_io_base_framework, flags))) { 38 return ret; 39 } 40 41 return mca_io_base_find_available(OPAL_ENABLE_PROGRESS_THREADS, 1); 42 } 43 44 MCA_BASE_FRAMEWORK_DECLARE(ompi, io, "I/O", NULL, mca_io_base_open, NULL, 45 mca_io_base_static_components, 0);