1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 
  13 
  14 
  15 
  16 
  17 
  18 
  19 
  20 
  21 
  22 #ifndef MCA_FCOLL_VULCAN_EXPORT_H
  23 #define MCA_FCOLL_VULCAN_EXPORT_H
  24 
  25 #include "ompi_config.h"
  26 
  27 #include "mpi.h"
  28 #include "ompi/mca/mca.h"
  29 #include "ompi/mca/fcoll/fcoll.h"
  30 #include "ompi/mca/fcoll/base/base.h"
  31 #include "ompi/mca/common/ompio/common_ompio.h"
  32 
  33 BEGIN_C_DECLS
  34 
  35 
  36 
  37 extern int mca_fcoll_vulcan_priority;
  38 extern int mca_fcoll_vulcan_num_groups;
  39 extern int mca_fcoll_vulcan_write_chunksize;
  40 extern int mca_fcoll_vulcan_async_io;
  41 
  42 OMPI_MODULE_DECLSPEC extern mca_fcoll_base_component_2_0_0_t mca_fcoll_vulcan_component;
  43 
  44 
  45 
  46 int mca_fcoll_vulcan_component_init_query(bool enable_progress_threads,
  47                                            bool enable_mpi_threads);
  48 struct mca_fcoll_base_module_1_0_0_t *
  49 mca_fcoll_vulcan_component_file_query (ompio_file_t *fh, int *priority);
  50 
  51 int mca_fcoll_vulcan_component_file_unquery (ompio_file_t *file);
  52 
  53 int mca_fcoll_vulcan_module_init (ompio_file_t *file);
  54 int mca_fcoll_vulcan_module_finalize (ompio_file_t *file);
  55 
  56 int mca_fcoll_vulcan_file_read_all (ompio_file_t *fh,
  57                                     void *buf,
  58                                     int count,
  59                                     struct ompi_datatype_t *datatype,
  60                                     ompi_status_public_t * status);
  61 
  62 
  63 int mca_fcoll_vulcan_file_write_all (ompio_file_t *fh,
  64                                      const void *buf,
  65                                      int count,
  66                                      struct ompi_datatype_t *datatype,
  67                                      ompi_status_public_t * status);
  68 
  69 
  70 END_C_DECLS
  71 
  72 #endif