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 (c) 2008 Cisco Systems, Inc. All rights reserved. 13 * Copyright (c) 2008-2011 University of Houston. All rights reserved. 14 * Copyright (c) 2017 IBM Corporation. All rights reserved. 15 * $COPYRIGHT$ 16 * 17 * Additional copyrights may follow 18 * 19 * $HEADER$ 20 */ 21 22 /** 23 * @file 24 * 25 * MCA fcoll base framework public interface functions. 26 */ 27 28 #ifndef MCA_FCOLL_BASE_H 29 #define MCA_FCOLL_BASE_H 30 31 #include "ompi_config.h" 32 33 #include "mpi.h" 34 #include "opal/mca/base/base.h" 35 #include "ompi/mca/fcoll/fcoll.h" 36 37 BEGIN_C_DECLS 38 39 OMPI_DECLSPEC int mca_fcoll_base_file_select(struct mca_io_ompio_file_t *file, 40 mca_base_component_t *preferred); 41 OMPI_DECLSPEC int mca_fcoll_base_query_table (struct mca_io_ompio_file_t *file, 42 char *name); 43 OMPI_DECLSPEC int mca_fcoll_base_file_unselect(struct mca_io_ompio_file_t *file); 44 45 OMPI_DECLSPEC int mca_fcoll_base_find_available(bool enable_progress_threads, 46 bool enable_mpi_threads); 47 48 OMPI_DECLSPEC int mca_fcoll_base_init_file (struct mca_io_ompio_file_t *file); 49 50 OMPI_DECLSPEC int mca_fcoll_base_get_param (struct mca_io_ompio_file_t *file, int keyval); 51 OMPI_DECLSPEC int ompi_fcoll_base_sort_iovec (struct iovec *iov, int num_entries, int *sorted); 52 53 /* 54 * Globals 55 */ 56 OMPI_DECLSPEC extern mca_base_framework_t ompi_fcoll_base_framework; 57 58 END_C_DECLS 59 60 #endif /* MCA_BASE_FCOLL_H */ 61