00001
00002
00003
00004
00005
00006
00007
00008 #include "ad_testfs.h"
00009 #include "adioi.h"
00010
00011 void ADIOI_TESTFS_WriteStridedColl(ADIO_File fd, void *buf, int count,
00012 MPI_Datatype datatype, int file_ptr_type,
00013 ADIO_Offset offset, ADIO_Status *status,
00014 int *error_code)
00015 {
00016 int myrank, nprocs;
00017
00018 *error_code = MPI_SUCCESS;
00019
00020 MPI_Comm_size(fd->comm, &nprocs);
00021 MPI_Comm_rank(fd->comm, &myrank);
00022 FPRINTF(stdout, "[%d/%d] ADIOI_TESTFS_WriteStridedColl called on %s\n",
00023 myrank, nprocs, fd->filename);
00024 FPRINTF(stdout, "[%d/%d] calling ADIOI_GEN_WriteStridedColl\n",
00025 myrank, nprocs);
00026
00027 ADIOI_GEN_WriteStridedColl(fd, buf, count, datatype, file_ptr_type,
00028 offset, status, error_code);
00029 }