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

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

DEFINITIONS

This source file includes following definitions.
  1. ADIOI_TESTFS_ReadDone
  2. ADIOI_TESTFS_WriteDone

   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 int ADIOI_TESTFS_ReadDone(ADIO_Request *request, ADIO_Status *status, int
  12                           *error_code)
  13 {
  14     int myrank, nprocs;
  15 
  16     *error_code = MPI_SUCCESS;
  17 
  18     MPI_Comm_size( MPI_COMM_WORLD, &nprocs );
  19     MPI_Comm_rank( MPI_COMM_WORLD, &myrank );
  20     FPRINTF(stdout, "[%d/%d] ADIOI_TESTFS_ReadDone called on ADIO_REQUEST_NULL\n", 
  21         myrank, nprocs);
  22     return 1;
  23 }
  24 
  25 
  26 int ADIOI_TESTFS_WriteDone(ADIO_Request *request, ADIO_Status *status, int
  27                            *error_code)
  28 {
  29     int myrank, nprocs;
  30 
  31     *error_code = MPI_SUCCESS;
  32 
  33     MPI_Comm_size( MPI_COMM_WORLD, &nprocs );
  34     MPI_Comm_rank( MPI_COMM_WORLD, &myrank );
  35     FPRINTF(stdout, 
  36                 "[%d/%d] ADIOI_TESTFS_WriteDone called on ADIO_REQUEST_NULL\n", 
  37                 myrank, nprocs);
  38     return 1;
  39 }

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