root/ompi/mca/io/romio321/romio/include/io_romio_conv.h

/* [<][>][^][v][top][bottom][index][help] */
   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$
  13  *
  14  * Additional copyrights may follow
  15  *
  16  * $HEADER$
  17  */
  18 
  19 #ifndef MCA_IO_ROMIO_CONV_H
  20 #define MCA_IO_ROMIO_CONV_H
  21 
  22 /* Prefix that we add to all ROMIO symbols */
  23 #ifdef ROMIO_PREFIX
  24 #undef ROMIO_PREFIX
  25 #endif
  26 #define ROMIO_PREFIX(foo) mca_io_romio_dist_##foo
  27 
  28 /* Section 9.2 */
  29 /* Begin Prototypes */
  30 #define MPI_File_open ROMIO_PREFIX(MPI_File_open)
  31 #define MPI_File_close ROMIO_PREFIX(MPI_File_close)
  32 #define MPI_File_delete ROMIO_PREFIX(MPI_File_delete)
  33 #define MPI_File_set_size ROMIO_PREFIX(MPI_File_set_size)
  34 #define MPI_File_preallocate ROMIO_PREFIX(MPI_File_preallocate)
  35 #define MPI_File_get_size ROMIO_PREFIX(MPI_File_get_size)
  36 #define MPI_File_get_group ROMIO_PREFIX(MPI_File_get_group)
  37 #define MPI_File_get_amode ROMIO_PREFIX(MPI_File_get_amode)
  38 #define MPI_File_set_info ROMIO_PREFIX(MPI_File_set_info)
  39 #define MPI_File_get_info ROMIO_PREFIX(MPI_File_get_info)
  40 
  41 /* Section 9.3 */
  42 #define MPI_File_set_view ROMIO_PREFIX(MPI_File_set_view)
  43 #define MPI_File_get_view ROMIO_PREFIX(MPI_File_get_view)
  44 
  45 /* Section 9.4.2 */
  46 #define MPI_File_read_at ROMIO_PREFIX(MPI_File_read_at)
  47 #define MPI_File_read_at_all ROMIO_PREFIX(MPI_File_read_at_all)
  48 #define MPI_File_write_at ROMIO_PREFIX(MPI_File_write_at)
  49 #define MPI_File_write_at_all ROMIO_PREFIX(MPI_File_write_at_all)
  50 #define MPI_File_iread_at ROMIO_PREFIX(MPI_File_iread_at)
  51 #define MPI_File_iwrite_at ROMIO_PREFIX(MPI_File_iwrite_at)
  52 
  53 /* Section 9.4.3 */
  54 #define MPI_File_read ROMIO_PREFIX(MPI_File_read)
  55 #define MPI_File_read_all ROMIO_PREFIX(MPI_File_read_all)
  56 #define MPI_File_write ROMIO_PREFIX(MPI_File_write)
  57 #define MPI_File_write_all ROMIO_PREFIX(MPI_File_write_all)
  58 
  59 #define MPI_File_iread ROMIO_PREFIX(MPI_File_iread)
  60 #define MPI_File_iread_all ROMIO_PREFIX(MPI_File_iread_all)
  61 #define MPI_File_iwrite ROMIO_PREFIX(MPI_File_iwrite)
  62 #define MPI_File_iwrite_all ROMIO_PREFIX(MPI_File_iwrite_all)
  63 #define MPI_File_iread_at_all ROMIO_PREFIX(MPI_File_iread_at_all)
  64 #define MPI_File_iwrite_at_all ROMIO_PREFIX(MPI_File_iwrite_at_all)
  65 
  66 
  67 #define MPI_File_seek ROMIO_PREFIX(MPI_File_seek)
  68 #define MPI_File_get_position ROMIO_PREFIX(MPI_File_get_position)
  69 #define MPI_File_get_byte_offset ROMIO_PREFIX(MPI_File_get_byte_offset)
  70 
  71 /* Section 9.4.4 */
  72 #define MPI_File_read_shared ROMIO_PREFIX(MPI_File_read_shared)
  73 #define MPI_File_write_shared ROMIO_PREFIX(MPI_File_write_shared)
  74 #define MPI_File_iread_shared ROMIO_PREFIX(MPI_File_iread_shared)
  75 #define MPI_File_iwrite_shared ROMIO_PREFIX(MPI_File_iwrite_shared)
  76 #define MPI_File_read_ordered ROMIO_PREFIX(MPI_File_read_ordered)
  77 #define MPI_File_write_ordered ROMIO_PREFIX(MPI_File_write_ordered)
  78 #define MPI_File_seek_shared ROMIO_PREFIX(MPI_File_seek_shared)
  79 #define MPI_File_get_position_shared ROMIO_PREFIX(MPI_File_get_position_shared)
  80 
  81 /* Section 9.4.5 */
  82 #define MPI_File_read_at_all_begin ROMIO_PREFIX(MPI_File_read_at_all_begin)
  83 #define MPI_File_read_at_all_end ROMIO_PREFIX(MPI_File_read_at_all_end)
  84 #define MPI_File_write_at_all_begin ROMIO_PREFIX(MPI_File_write_at_all_begin)
  85 #define MPI_File_write_at_all_end ROMIO_PREFIX(MPI_File_write_at_all_end)
  86 #define MPI_File_read_all_begin ROMIO_PREFIX(MPI_File_read_all_begin)
  87 #define MPI_File_read_all_end ROMIO_PREFIX(MPI_File_read_all_end)
  88 #define MPI_File_write_all_begin ROMIO_PREFIX(MPI_File_write_all_begin)
  89 #define MPI_File_write_all_end ROMIO_PREFIX(MPI_File_write_all_end)
  90 #define MPI_File_read_ordered_begin ROMIO_PREFIX(MPI_File_read_ordered_begin)
  91 #define MPI_File_read_ordered_end ROMIO_PREFIX(MPI_File_read_ordered_end)
  92 #define MPI_File_write_ordered_begin ROMIO_PREFIX(MPI_File_write_ordered_begin)
  93 #define MPI_File_write_ordered_end ROMIO_PREFIX(MPI_File_write_ordered_end)
  94 
  95 /* Section 9.5.1 */
  96 #define MPI_File_get_type_extent ROMIO_PREFIX(MPI_File_get_type_extent)
  97 
  98 /* Section 9.6.1 */
  99 #define MPI_File_set_atomicity ROMIO_PREFIX(MPI_File_set_atomicity)
 100 #define MPI_File_get_atomicity ROMIO_PREFIX(MPI_File_get_atomicity)
 101 #define MPI_File_sync ROMIO_PREFIX(MPI_File_sync)
 102 
 103 /* Section 4.13.3 */
 104 #define MPI_File_set_errhandler ROMIO_PREFIX(MPI_File_set_errhandler)
 105 #define MPI_File_get_errhandler ROMIO_PREFIX(MPI_File_get_errhandler)
 106 /* End Prototypes */
 107 
 108 #define MPI_Register_datarep ROMIO_PREFIX(MPI_Register_datarep)
 109 
 110 /* JMS these don't seem to work... */
 111 #define MPI_File_f2c ROMIO_PREFIX(MPI_File_f2c)
 112 #define MPI_File_c2f ROMIO_PREFIX(MPI_File_c2f)
 113 
 114 #define MPIO_Request_c2f ROMIO_PREFIX(MPIO_Request_c2f)
 115 #define MPIO_Request_f2c ROMIO_PREFIX(MPIO_Request_f2c)
 116 
 117 /* Conversion of MPI_File and MPIO_Request */
 118 #define MPI_File ROMIO_PREFIX(MPI_File)
 119 
 120 /* Open MPI's mpi.h #define's MPI_FILE_NULL, so we need to undef it
 121    here and allow it to be re-assigned to whatever ROMIO wants */
 122 #undef MPI_FILE_NULL
 123 
 124 /* Let's not use MPIR_Status_set_bytes */
 125 #ifndef MPIR_Status_set_bytes
 126 #define MPIR_Status_set_bytes ROMIO_PREFIX(MPIR_Status_set_bytes)
 127 #endif
 128 
 129 #endif /* MCA_IO_ROMIO_CONV_H */

/* [<][>][^][v][top][bottom][index][help] */