checkparallel.hh

Go to the documentation of this file.
00001 #ifndef DUNE_ALUGRID_CHECKPARALLEL_HH
00002 #define DUNE_ALUGRID_CHECKPARALLEL_HH
00003 
00004 #if HAVE_ALUGRID
00005 #include <alugrid_defineparallel.h>
00006 #endif
00007 
00008 #if HAVE_MPI
00009   // if this variable is defined, 
00010   // // then parallel version of ALUGrid is compiled
00011   #if ALU3DGRID_BUILD_FOR_PARALLEL == 0
00012     #warning "The ALUGrid-library wasn't compiled for parallel usage. Reconfigure\
00013  using the MPI compiler script or compile Dune without the MPI support!\
00014  Defaulting to serial ALUGrid!"
00015     #define ALU3DGRID_PARALLEL 0 
00016   #else 
00017     #define ALU3DGRID_PARALLEL 1
00018   #endif
00019 #else 
00020   #define ALU3DGRID_PARALLEL 0 
00021 #endif
00022 
00023 #endif // #ifndef DUNE_ALUGRID_CHECKPARALLEL_HH

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].