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

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

DEFINITIONS

This source file includes following definitions.
  1. ADIOI_TESTFS_Get_shared_fp

   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_Get_shared_fp(ADIO_File fd, int size, 
  12                                 ADIO_Offset *shared_fp, 
  13                                 int *error_code)
  14 {
  15     int myrank, nprocs;
  16 
  17     *error_code = MPI_SUCCESS;
  18 
  19     MPI_Comm_size(fd->comm, &nprocs);
  20     MPI_Comm_rank(fd->comm, &myrank);
  21     FPRINTF(stdout, "[%d/%d] ADIOI_TESTFS_Get_shared_fp called on %s\n", 
  22             myrank, nprocs, fd->filename);
  23 }

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