root/ompi/mca/io/romio321/romio/mpi-io/wr_atalle.c

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

DEFINITIONS

This source file includes following definitions.
  1. MPI_File_write_at_all_end

   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
   2 /* 
   3  *
   4  *   Copyright (C) 1997 University of Chicago. 
   5  *   See COPYRIGHT notice in top-level directory.
   6  */
   7 
   8 #include "mpioimpl.h"
   9 
  10 #ifdef HAVE_WEAK_SYMBOLS
  11 
  12 #if defined(HAVE_PRAGMA_WEAK)
  13 #pragma weak MPI_File_write_at_all_end = PMPI_File_write_at_all_end
  14 #elif defined(HAVE_PRAGMA_HP_SEC_DEF)
  15 #pragma _HP_SECONDARY_DEF PMPI_File_write_at_all_end MPI_File_write_at_all_end
  16 #elif defined(HAVE_PRAGMA_CRI_DUP)
  17 #pragma _CRI duplicate MPI_File_write_at_all_end as PMPI_File_write_at_all_end
  18 /* end of weak pragmas */
  19 #elif defined(HAVE_WEAK_ATTRIBUTE)
  20 int MPI_File_write_at_all_end(MPI_File fh, const void *buf, MPI_Status *status) __attribute__((weak,alias("PMPI_File_write_at_all_end")));
  21 #endif
  22 
  23 /* Include mapping from MPI->PMPI */
  24 #define MPIO_BUILD_PROFILING
  25 #include "mpioprof.h"
  26 #endif
  27 
  28 /*@
  29     MPI_File_write_at_all_end - Complete a split collective write using explicit offset
  30 
  31 Input Parameters:
  32 . fh - file handle (handle)
  33 . buf - initial address of buffer (choice)
  34 
  35 Output Parameters:
  36 . status - status object (Status)
  37 
  38 .N fortran
  39 @*/
  40 int MPI_File_write_at_all_end(MPI_File fh, ROMIO_CONST void *buf, MPI_Status *status)
  41 {
  42     int error_code;
  43     static char myname[] = "MPI_FILE_WRITE_AT_ALL_END";
  44 
  45     error_code = MPIOI_File_write_all_end(fh, buf, myname, status);
  46 
  47     return error_code;
  48 }

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