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_Open(ADIO_File fd, int *error_code) 12 { 13 int myrank, nprocs; 14 15 fd->fd_sys = 1; 16 fd->fd_direct = -1; 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_Open called on %s\n", myrank, 22 nprocs, fd->filename); 23 }