OpenMPI  0.1.1
fcoll_static.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_FCOLL_STATIC_EXPORT_H
21 #define MCA_FCOLL_STATIC_EXPORT_H
22 
23 #include "ompi_config.h"
24 
25 #include "mpi.h"
26 #include "opal/mca/mca.h"
27 #include "ompi/mca/fcoll/fcoll.h"
29 #include "ompi/mca/io/ompio/io_ompio.h"
30 
31 BEGIN_C_DECLS
32 
33 /* Globally exported variables */
34 
35 extern int mca_fcoll_static_priority;
36 extern int mca_fcoll_static_num_io_procs;
37 extern int mca_fcoll_static_constant_cbs;
38 extern int mca_fcoll_static_cycle_buffer_size;
39 
40 OMPI_MODULE_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_static_component;
41 /* API functions */
42 
43 int mca_fcoll_static_component_init_query(bool enable_progress_threads,
44  bool enable_mpi_threads);
46 mca_fcoll_static_component_file_query (mca_io_ompio_file_t *fh, int *priority);
47 
48 int mca_fcoll_static_component_file_unquery (mca_io_ompio_file_t *file);
49 
50 int mca_fcoll_static_module_init (mca_io_ompio_file_t *file);
51 int mca_fcoll_static_module_finalize (mca_io_ompio_file_t *file);
52 
53 int mca_fcoll_static_file_read_all (mca_io_ompio_file_t *fh,
54  void *buf,
55  int count,
56  struct ompi_datatype_t *datatype,
57  ompi_status_public_t * status);
58 
59 int mca_fcoll_static_file_read_all_begin (mca_io_ompio_file_t *fh,
60  void *buf,
61  int count,
62  struct ompi_datatype_t *datatype);
63 
64 int mca_fcoll_static_file_read_all_end (mca_io_ompio_file_t *fh,
65  void *buf,
66  ompi_status_public_t * status);
67 
68 int mca_fcoll_static_file_write_all (mca_io_ompio_file_t *fh,
69  void *buf,
70  int count,
71  struct ompi_datatype_t *datatype,
72  ompi_status_public_t * status);
73 
74 int mca_fcoll_static_file_write_all_begin (mca_io_ompio_file_t *fh,
75  void *buf,
76  int count,
77  struct ompi_datatype_t *datatype);
78 
79 int mca_fcoll_static_file_write_all_end (mca_io_ompio_file_t *fh,
80  void *buf,
81  ompi_status_public_t * status);
82 
83 END_C_DECLS
84 
85 #endif /* MCA_FCOLL_STATIC_EXPORT_H */
Definition: ompi_datatype.h:68
Definition: fcoll.h:150
MCA fcoll base framework public interface functions.
Top-level interface for all MCA components.
Back-end structure for MPI_File.
Definition: io_ompio.h:121
Definition: mpi.h:337
Definition: fcoll.h:84