root/ompi/mca/io/romio321/romio/adio/ad_testfs/ad_testfs_rdcoll.c

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

DEFINITIONS

This source file includes following definitions.
  1. ADIOI_TESTFS_ReadStridedColl

   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
   2 /* 
   3  *
   4  *   Copyright (C) 2001 University of Chicago. 
   5  *   See COPYRIGHT notice in top-level directory.
   6  */
   7 
   8 #include "ad_testfs.h"
   9 #include "adioi.h"
  10 
  11 void ADIOI_TESTFS_ReadStridedColl(ADIO_File fd, void *buf, int count,
  12                                   MPI_Datatype datatype, int file_ptr_type,
  13                                   ADIO_Offset offset, ADIO_Status *status, 
  14                                   int *error_code)
  15 {
  16     int myrank, nprocs;
  17 
  18     *error_code = MPI_SUCCESS;
  19 
  20     MPI_Comm_size(fd->comm, &nprocs);
  21     MPI_Comm_rank(fd->comm, &myrank);
  22     FPRINTF(stdout, "[%d/%d] ADIOI_TESTFS_ReadStridedColl called on %s\n", 
  23             myrank, nprocs, fd->filename);    
  24     FPRINTF(stdout, "[%d/%d]    calling ADIOI_GEN_ReadStridedColl\n", 
  25             myrank, nprocs);
  26 
  27     ADIOI_GEN_ReadStridedColl(fd, buf, count, datatype, file_ptr_type,
  28                               offset, status, error_code);
  29 }

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