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_Open(ADIO_File fd, int *error_code) 00012 { 00013 int myrank, nprocs; 00014 00015 fd->fd_sys = 1; 00016 fd->fd_direct = -1; 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_Open called on %s\n", myrank, 00022 nprocs, fd->filename); 00023 }