#include <cstdarg>
#include <ctime>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <vector>
#include <set>
#include <map>
#include <utility>
#include <iostream>
#include <sstream>
#include <string>
#include "moab/Interface.hpp"
#include "Internals.hpp"
#include "MBTagConventions.hpp"
#include "MBParallelConventions.h"
#include "moab/ParallelComm.hpp"
#include "moab/CN.hpp"
#include "moab/Range.hpp"
#include "moab/CpuTimer.hpp"
#include "WriteHDF5Parallel.hpp"
#include <H5Tpublic.h>
#include <H5Ppublic.h>
#include <H5FDmpi.h>
#include <H5FDmpio.h>
#include "mhdf.h"
#include "IODebugTrack.hpp"
#include "moab/FileOptions.hpp"
Go to the source code of this file.
|
| moab |
| Class representing axis-aligned bounding box.
|
|
|
#define | PP_CAT_(a, b) a##b |
|
#define | PP_CAT(a, b) PP_CAT_( a, b ) |
|
#define | STATIC_ASSERT(Condition) |
|
#define | MPI_FAILURE_MSG(A) "MPI Failure at " __FILE__ ":%d : (Code %d) %s\n", __LINE__, (int)( A ), mpi_err_str( ( A ) ) |
|
#define | CHECK_MPI(A) |
|
#define | MB_FAILURE_MSG(A) "MOAB_Failure at " __FILE__ ":%d : %s (%d)\n", __LINE__, ErrorCodeStr[( A )], (int)( A ) |
|
#define | CHECK_MB(A) |
|
#define | HDF_FAILURE_MSG(A) "MHDF Failure at " __FILE__ ":%d : %s\n", __LINE__, mhdf_message( &( A ) ) |
|
#define | CHECK_HDF(A) |
|
#define | CHECK_HDFN(A) |
|
#define | VALGRIND_CHECK_MEM_IS_DEFINED(a, b) ( (void)0 ) |
|
#define | VALGRIND_CHECK_MEM_IS_ADDRESSABLE(a, b) ( (void)0 ) |
|
#define | VALGRIND_MAKE_MEM_UNDEFINED(a, b) ( (void)0 ) |
|
#define | START_SERIAL |
|
#define | END_SERIAL |
|
#define | debug_barrier() debug_barrier_line( __LINE__ ) |
|
|
| moab::STATIC_ASSERT (sizeof(unsigned long) >=sizeof(EntityHandle)) |
|
static ErrorCode | moab::error (ErrorCode rval) |
|
const char * | moab::mpi_err_str (int errorcode) |
|
template<typename T > |
void | moab::VALGRIND_MAKE_VEC_UNDEFINED (std::vector< T > &) |
|
static int | moab::my_Gatherv (void *sendbuf, int sendcount, MPI_Datatype sendtype, std::vector< unsigned char > &recvbuf, std::vector< int > &recvcounts, int root, MPI_Comm comm) |
|
static void | moab::print_type_sets (Interface *iFace, DebugOutput *str, Range &sets) |
|
static void | moab::set_bit (int position, unsigned char *bytes) |
|
static bool | moab::get_bit (int position, const unsigned char *bytes) |
|
| moab::STATIC_ASSERT ((sizeof(DatasetVals)==3 *sizeof(long))) |
|
template<typename TYPE > |
static void | moab::convert_to_ranged_ids (const TYPE *buffer, size_t len, std::vector< WriteHDF5::wid_t > &result) |
|
static void | moab::merge_ranged_ids (const unsigned long *range_list, size_t len, std::vector< WriteHDF5::wid_t > &result) |
|
static void | moab::merge_vector_ids (const unsigned long *list, size_t len, std::vector< WriteHDF5::wid_t > &result) |
|
◆ CHECK_HDF
◆ CHECK_HDFN
◆ CHECK_MB
Value: do \
{ \
{ \
MB_SET_ERR_CONT( "MOAB Failure : " << ErrorCodeStr[( A )] ); \
} \
} while( false )
Definition at line 105 of file WriteHDF5Parallel.cpp.
◆ CHECK_MPI
Value: do \
{ \
if( MPI_SUCCESS != ( A ) ) \
{ \
MB_SET_ERR_CONT(
"MPI Failure : (Code " << (
int)( A ) <<
") " <<
mpi_err_str( ( A ) ) ); \
return
error( MB_FAILURE ); \
} \
} while( false )
Definition at line 92 of file WriteHDF5Parallel.cpp.
◆ debug_barrier
#define debug_barrier |
( |
| ) |
debug_barrier_line( __LINE__ ) |
◆ END_SERIAL
◆ HDF_FAILURE_MSG
#define HDF_FAILURE_MSG |
( |
|
A | ) |
"MHDF Failure at " __FILE__ ":%d : %s\n", __LINE__, mhdf_message( &( A ) ) |
◆ MB_FAILURE_MSG
#define MB_FAILURE_MSG |
( |
|
A | ) |
"MOAB_Failure at " __FILE__ ":%d : %s (%d)\n", __LINE__, ErrorCodeStr[( A )], (int)( A ) |
◆ MPI_FAILURE_MSG
#define MPI_FAILURE_MSG |
( |
|
A | ) |
"MPI Failure at " __FILE__ ":%d : (Code %d) %s\n", __LINE__, (int)( A ), mpi_err_str( ( A ) ) |
◆ PP_CAT
#define PP_CAT |
( |
|
a, |
|
|
|
b |
|
) |
| PP_CAT_( a, b ) |
◆ PP_CAT_
#define PP_CAT_ |
( |
|
a, |
|
|
|
b |
|
) |
| a##b |
◆ START_SERIAL
Value: for( unsigned _x = 0; _x < myPcomm->proc_config().proc_size(); ++_x ) \
{ \
MPI_Barrier( myPcomm->proc_config().proc_comm() ); \
if( _x != myPcomm->proc_config().proc_rank() ) continue
Definition at line 171 of file WriteHDF5Parallel.cpp.
◆ STATIC_ASSERT
#define STATIC_ASSERT |
( |
|
Condition | ) |
|
Value: enum \
{ \
PP_CAT( dummy, __LINE__ ) = sizeof( ::STATIC_ASSERTION< (bool)( Condition ) > ) \
}
Definition at line 56 of file WriteHDF5Parallel.cpp.
◆ VALGRIND_CHECK_MEM_IS_ADDRESSABLE
#define VALGRIND_CHECK_MEM_IS_ADDRESSABLE |
( |
|
a, |
|
|
|
b |
|
) |
| ( (void)0 ) |
◆ VALGRIND_CHECK_MEM_IS_DEFINED
#define VALGRIND_CHECK_MEM_IS_DEFINED |
( |
|
a, |
|
|
|
b |
|
) |
| ( (void)0 ) |
◆ VALGRIND_MAKE_MEM_UNDEFINED
#define VALGRIND_MAKE_MEM_UNDEFINED |
( |
|
a, |
|
|
|
b |
|
) |
| ( (void)0 ) |