00001
00002
00003
00004
00005
00006
00007
00008 #include "mpioimpl.h"
00009
00010 #ifdef HAVE_WEAK_SYMBOLS
00011
00012 #if defined(HAVE_PRAGMA_WEAK)
00013 #pragma weak MPI_File_write_at_all_begin = PMPI_File_write_at_all_begin
00014 #elif defined(HAVE_PRAGMA_HP_SEC_DEF)
00015 #pragma _HP_SECONDARY_DEF PMPI_File_write_at_all_begin MPI_File_write_at_all_begin
00016 #elif defined(HAVE_PRAGMA_CRI_DUP)
00017 #pragma _CRI duplicate MPI_File_write_at_all_begin as PMPI_File_write_at_all_begin
00018
00019 #endif
00020
00021
00022 #define MPIO_BUILD_PROFILING
00023 #include "mpioprof.h"
00024 #endif
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039 int MPI_File_write_at_all_begin(MPI_File mpi_fh, MPI_Offset offset, void *buf,
00040 int count, MPI_Datatype datatype)
00041 {
00042 int error_code;
00043 static char myname[] = "MPI_FILE_WRITE_AT_ALL_BEGIN";
00044
00045 error_code = MPIOI_File_write_all_begin(mpi_fh, offset,
00046 ADIO_EXPLICIT_OFFSET,
00047 buf, count, datatype, myname);
00048
00049 return error_code;
00050 }