OpenMPI  0.1.1
fcache_ux.h
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-2006 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-2011 University of Houston. All rights reserved.
13  * $COPYRIGHT$
14  *
15  * Additional copyrights may follow
16  *
17  * $HEADER$
18  */
19 
20 #ifndef MCA_FCACHE_UX_H
21 #define MCA_FCACHE_UX_H
22 
23 #include "ompi_config.h"
24 #include "opal/mca/mca.h"
25 #include "ompi/mca/fcache/fcache.h"
26 #include "ompi/mca/io/ompio/io_ompio.h"
27 
28 
29 BEGIN_C_DECLS
30 
31 int mca_fcache_ux_component_init_query(bool enable_progress_threads,
32  bool enable_mpi_threads);
34 mca_fcache_ux_component_file_query (int *priority);
35 int mca_fcache_ux_component_file_unquery (mca_io_ompio_file_t *file);
36 
37 int mca_fcache_ux_module_init (mca_io_ompio_file_t *file);
38 int mca_fcache_ux_module_finalize (mca_io_ompio_file_t *file);
39 
40 OMPI_MODULE_DECLSPEC extern mca_fcache_base_component_2_0_0_t mca_fcache_ux_component;
41 /*
42  * ******************************************************************
43  * ********* functions which are implemented in this module *********
44  * ******************************************************************
45  */
46 
47 int mca_fcache_ux_get_file_layout (char* filename,
48  int *num_io_servers,
49  size_t *depth,
50  int *file_io_servers);
51 
52 int mca_fcache_ux_set_file_layout (char* filename,
53  int *num_io_servers,
54  size_t *depth,
55  int *file_io_servers);
56 
57 int mca_fcache_ux_get_io_servers (char* filename,
58  struct mca_io_ompio_io_servers *io_servers,
59  int num_io_servers);
60 /*
61  * ******************************************************************
62  * ************ functions implemented in this module end ************
63  * ******************************************************************
64  */
65 
66 END_C_DECLS
67 
68 #endif /* MCA_FCACHE_UX_H */
Definition: fcache.h:131
Top-level interface for all MCA components.
Back-end structure for MPI_File.
Definition: io_ompio.h:121
Definition: fcache.h:84