00001 /* -*- Mode: C; c-basic-offset:4 ; -*- */ 00002 /* 00003 * 00004 * Copyright (C) 2001 University of Chicago. 00005 * See COPYRIGHT notice in top-level directory. 00006 */ 00007 00008 #include "ad_testfs.h" 00009 #include "adioi.h" 00010 00011 void ADIOI_TESTFS_Get_shared_fp(ADIO_File fd, int size, 00012 ADIO_Offset *shared_fp, 00013 int *error_code) 00014 { 00015 int myrank, nprocs; 00016 00017 *error_code = MPI_SUCCESS; 00018 00019 MPI_Comm_size(fd->comm, &nprocs); 00020 MPI_Comm_rank(fd->comm, &myrank); 00021 FPRINTF(stdout, "[%d/%d] ADIOI_TESTFS_Get_shared_fp called on %s\n", 00022 myrank, nprocs, fd->filename); 00023 }