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