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