root/ompi/mca/io/romio321/romio/adio/common/ad_iopen.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. ADIO_ImmediateOpen

   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
   2 /* 
   3  *
   4  *   Copyright (C) 2002 University of Chicago. 
   5  *   See COPYRIGHT notice in top-level directory.
   6  */
   7 
   8 #include "adio.h"
   9 
  10 void ADIO_ImmediateOpen(ADIO_File fd, int *error_code)
  11 { 
  12         MPI_Comm tmp_comm;
  13         tmp_comm = fd->comm;
  14         /* some file systems might try to be clever inside their open routine.
  15          * e.g. Blue Gene does a stat-and-broadcast */
  16         fd->comm = MPI_COMM_SELF;
  17         (*(fd->fns->ADIOI_xxx_Open))(fd, error_code);
  18         fd->is_open = 1;
  19         fd->comm = tmp_comm;
  20 
  21 } 

/* [<][>][^][v][top][bottom][index][help] */