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) 2012-2013 Los Alamos National Security, Inc. All rights reserved. 15 * Copyright (c) 2018 Research Organization for Information Science 16 * and Technology (RIST). All rights reserved. 17 * $COPYRIGHT$ 18 * 19 * Additional copyrights may follow 20 * 21 * $HEADER$ 22 */ 23 24 /** 25 * @file 26 * 27 * MCA sharedfp base framework public interface functions. 28 */ 29 30 #ifndef MCA_SHAREDFP_BASE_H 31 #define MCA_SHAREDFP_BASE_H 32 33 #include "ompi_config.h" 34 35 #include "mpi.h" 36 #include "opal/class/opal_list.h" 37 #include "ompi/mca/mca.h" 38 #include "ompi/mca/common/ompio/common_ompio.h" 39 #include "ompi/mca/sharedfp/sharedfp.h" 40 41 42 BEGIN_C_DECLS 43 44 /* 45 * MCA Framework 46 */ 47 OMPI_DECLSPEC extern mca_base_framework_t ompi_sharedfp_base_framework; 48 /* select a component */ 49 OMPI_DECLSPEC int mca_sharedfp_base_file_select(struct ompio_file_t *file, 50 mca_base_component_t *preferred); 51 52 OMPI_DECLSPEC int mca_sharedfp_base_file_unselect(struct ompio_file_t *file); 53 54 OMPI_DECLSPEC int mca_sharedfp_base_find_available(bool enable_progress_threads, 55 bool enable_mpi_threads); 56 57 OMPI_DECLSPEC int mca_sharedfp_base_init_file (struct ompio_file_t *file); 58 59 OMPI_DECLSPEC int mca_sharedfp_base_get_param (struct ompio_file_t *file, int keyval); 60 /* 61 * Globals 62 */ 63 64 END_C_DECLS 65 66 #endif /* MCA_BASE_SHAREDFP_H */