MOAB: Mesh Oriented datABase  (version 5.2.1)
moab_mpi.h
Go to the documentation of this file.
00001 #ifndef MOAB_MPI_H
00002 #define MOAB_MPI_H
00003 #include "moab_mpi_config.h"
00004 
00005 #ifndef __cplusplus
00006 #  include <mpi.h>
00007 #elif !defined(MB_MPI_CXX_CONFLICT)
00008 #  ifndef MPICH_IGNORE_CXX_SEEK
00009 #    define MPICH_IGNORE_CXX_SEEK
00010 #  endif
00011 #  include <mpi.h>
00012 #else
00013 #  include <stdio.h>
00014 #  ifdef SEEK_SET
00015 #    undef SEEK_SET
00016 #    ifdef MB_SEEK_SET
00017 #      define MB_RESTORE_SEEK_SET
00018 #    endif
00019 #  endif
00020 #  ifdef SEEK_CUR
00021 #    undef SEEK_CUR
00022 #    ifdef MB_SEEK_CUR
00023 #      define MB_RESTORE_SEEK_CUR
00024 #    endif
00025 #  endif
00026 #  ifdef SEEK_END
00027 #    undef SEEK_END
00028 #    ifdef MB_SEEK_END
00029 #      define MB_RESTORE_SEEK_END
00030 #    endif
00031 #  endif
00032 #  include <mpi.h>
00033 #  ifdef MB_RESTORE_SEEK_SET
00034 #    undef MB_RESTORE_SEEK_SET
00035 #    define SEEK_SET MB_SEEK_SET
00036 #  endif
00037 #  ifdef MB_RESTORE_SEEK_CUR
00038 #    undef MB_RESTORE_SEEK_CUR
00039 #    define SEEK_CUR MB_SEEK_CUR
00040 #  endif
00041 #  ifdef MB_RESTORE_SEEK_END
00042 #    undef MB_RESTORE_SEEK_END
00043 #    define SEEK_END MB_SEEK_END
00044 #  endif
00045 #endif
00046 
00047 
00048 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines