fei_mpi.h

00001 #ifndef _fei_mpi_h_
00002 #define _fei_mpi_h_
00003 
00004 /*--------------------------------------------------------------------*/
00005 /*    Copyright 2005 Sandia Corporation.                              */
00006 /*    Under the terms of Contract DE-AC04-94AL85000, there is a       */
00007 /*    non-exclusive license for use of this work by or on behalf      */
00008 /*    of the U.S. Government.  Export of this program may require     */
00009 /*    a license from the United States Government.                    */
00010 /*--------------------------------------------------------------------*/
00011 
00012 #include "fei_macros.hpp"
00013 
00014 #ifdef FEI_SER
00015 
00021 #define MPI_Comm int
00022 #define MPI_Request int
00023 #define MPI_COMM_WORLD 0
00024 #define MPI_Abort(a, b) abort()
00025 #define MPI_Wtime() 0.0
00026 #define MPI_Barrier( a ) (void)a
00027 #define MPI_SUCCESS 0
00028 
00029 #else
00030 #include <mpi.h>
00031 #endif
00032 
00033 #endif // _fei_mpi_h_
00034 

Generated on Wed May 12 21:30:41 2010 for FEI by  doxygen 1.4.7