00001
00002
00003
00004
00005
00006
00007
00008 #include "ad_testfs.h"
00009 #include "adioi.h"
00010 #ifdef ROMIO_BGL
00011 #include "../ad_bgl/ad_bgl.h"
00012 #endif
00013 void ADIOI_TESTFS_SetInfo(ADIO_File fd, MPI_Info users_info, 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_SetInfo called on %s\n",
00022 myrank, nprocs, fd->filename);
00023 FPRINTF(stdout, "[%d/%d] calling ADIOI_GEN_SetInfo\n",
00024 myrank, nprocs);
00025
00026 #ifdef ROMIO_BGL
00027
00028 ADIOI_BGL_SetInfo(fd, users_info, error_code);
00029 #else
00030 ADIOI_GEN_SetInfo(fd, users_info, error_code);
00031 #endif
00032 }