MADNESS 0.10.1
|
#include <madness/madness_config.h>
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <madness/world/madness_exception.h>
#include <madness/world/timers.h>
Go to the source code of this file.
Classes | |
struct | MPI_Status |
Macros | |
#define | MPI_ANY_SOURCE -2 |
#define | MPI_ANY_TAG -1 |
#define | MPI_BAND ((MPI_Op)0x58000006) |
#define | MPI_BOR ((MPI_Op)0x58000008) |
#define | MPI_BXOR ((MPI_Op)0x5800000a) |
#define | MPI_BYTE ((MPI_Datatype)0x4c00010d) |
#define | MPI_CHAR ((MPI_Datatype)0x4c000101) |
#define | MPI_COMM_NULL ((MPI_Comm)0x04000000) |
#define | MPI_COMM_TYPE_SHARED 4 |
#define | MPI_COMM_WORLD (0x44000000) |
#define | MPI_CONGRUENT 1 |
#define | MPI_DATATYPE_NULL ((MPI_Datatype)0x0c000000) |
#define | MPI_DOUBLE ((MPI_Datatype)0x4c00080b) |
#define | MPI_ERR_ARG 12 /* Invalid argument */ |
#define | MPI_ERR_COMM 5 /* Invalid communicator */ |
#define | MPI_ERR_IN_STATUS 999999 |
#define | MPI_ERRHANDLER_NULL ((MPI_Errhandler)0x14000000) |
#define | MPI_ERRORS_RETURN 888888 |
#define | MPI_FLOAT ((MPI_Datatype)0x4c00040a) |
#define | MPI_GROUP_NULL ((MPI_Group)0x08000000) |
#define | MPI_IDENT 0 |
#define | MPI_IN_PLACE ((void *) -1) |
#define | MPI_INT ((MPI_Datatype)0x4c000405) |
#define | MPI_LAND ((MPI_Op)0x58000005) |
#define | MPI_LONG ((MPI_Datatype)0x4c000807) |
#define | MPI_LONG_DOUBLE ((MPI_Datatype)0x4c00100c) |
#define | MPI_LONG_LONG ((MPI_Datatype)0x4c000809) |
#define | MPI_LONG_LONG_INT ((MPI_Datatype)0x4c000809) |
#define | MPI_LOR ((MPI_Op)0x58000007) |
#define | MPI_LXOR ((MPI_Op)0x58000009) |
#define | MPI_MAX ((MPI_Op)0x58000001) |
#define | MPI_MAX_ERROR_STRING 1024 |
#define | MPI_MAXLOC ((MPI_Op)0x5800000c) |
#define | MPI_MIN ((MPI_Op)0x58000002) |
#define | MPI_MINLOC ((MPI_Op)0x5800000b) |
#define | MPI_OP_NULL ((MPI_Op)0x18000000) |
#define | MPI_PROC_NULL -1 |
#define | MPI_PROD ((MPI_Op)0x58000004) |
#define | MPI_REPLACE ((MPI_Op)0x5800000d) |
#define | MPI_REQUEST_NULL ((MPI_Request)0x2c000000) |
#define | MPI_SHORT ((MPI_Datatype)0x4c000203) |
#define | MPI_SIGNED_CHAR ((MPI_Datatype)0x4c000118) |
#define | MPI_SIMILAR 2 |
#define | MPI_STATUS_IGNORE ((MPI_Status *)1) |
#define | MPI_STATUSES_IGNORE ((MPI_Status *)1) |
#define | MPI_SUCCESS 0 /* Successful return code */ |
#define | MPI_SUM ((MPI_Op)0x58000003) |
#define | MPI_THREAD_FUNNELED 1 |
#define | MPI_THREAD_MULTIPLE 3 |
#define | MPI_THREAD_SERIALIZED 2 |
#define | MPI_THREAD_SINGLE 0 |
#define | MPI_UNDEFINED (-32766) |
#define | MPI_UNEQUAL 3 |
#define | MPI_UNSIGNED ((MPI_Datatype)0x4c000406) |
#define | MPI_UNSIGNED_CHAR ((MPI_Datatype)0x4c000102) |
#define | MPI_UNSIGNED_LONG ((MPI_Datatype)0x4c000808) |
#define | MPI_UNSIGNED_LONG_LONG ((MPI_Datatype)0x4c000819) |
#define | MPI_UNSIGNED_SHORT ((MPI_Datatype)0x4c000204) |
#define | MPI_WCHAR ((MPI_Datatype)0x4c00040e) |
Typedefs | |
typedef std::ptrdiff_t | MPI_Aint |
typedef int | MPI_Comm |
typedef int | MPI_Datatype |
typedef int | MPI_Errhandler |
typedef int | MPI_Group |
typedef int | MPI_Info |
typedef int | MPI_Op |
typedef int | MPI_Request |
typedef struct MPI_Status | MPI_Status |
typedef void() | MPI_User_function(void *a, void *b, int *len, MPI_Datatype *) |
Functions | |
int | MPI_Abort (MPI_Comm, int code) |
int | MPI_Allreduce (void *sendbuf, void *recvbuf, int count, MPI_Datatype, MPI_Op, MPI_Comm) |
int | MPI_Barrier (MPI_Comm) |
int | MPI_Bcast (void *, int, MPI_Datatype, int, MPI_Comm) |
int | MPI_Bsend (void *, int, MPI_Datatype, int, int, MPI_Comm) |
int | MPI_Buffer_attach (void *, int) |
int | MPI_Buffer_detach (void *buffer, int *size) |
int | MPI_Comm_compare (MPI_Comm comm1, MPI_Comm comm2, int *result) |
int | MPI_Comm_create (MPI_Comm, MPI_Group, MPI_Comm *newcomm) |
int | MPI_Comm_free (MPI_Comm *comm) |
int | MPI_Comm_get_attr (MPI_Comm, int, void *, int *) |
int | MPI_Comm_group (MPI_Comm, MPI_Group *group) |
int | MPI_Comm_rank (MPI_Comm, int *rank) |
int | MPI_Comm_set_errhandler (MPI_Comm comm, MPI_Errhandler errhandler) |
unsigned int | MPI_Comm_size (MPI_Comm, int *size) |
int | MPI_Comm_split (MPI_Comm comm, int color, int key, MPI_Comm *newcomm) |
int | MPI_Comm_split_type (MPI_Comm comm, int split_type, int key, MPI_Info info, MPI_Comm *newcomm) |
int | MPI_Error_string (int errorcode, char *string, int *resultlen) |
int | MPI_Finalize () |
int | MPI_Finalized (int *flag) |
int | MPI_Gather (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | MPI_Gatherv (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, int root, MPI_Comm) |
int | MPI_Get_count (MPI_Status *, MPI_Datatype, int *count) |
int | MPI_Group_free (MPI_Group *group) |
int | MPI_Group_incl (MPI_Group group, int n, const int ranks[], MPI_Group *newgroup) |
int | MPI_Group_translate_ranks (MPI_Group, int, const int[], MPI_Group, int ranks2[]) |
int | MPI_Info_create (MPI_Info *info) |
int | MPI_Info_free (MPI_Info *info) |
int | MPI_Init (int *, char ***) |
int | MPI_Init_thread (int *, char ***, int, int *provided) |
int | MPI_Initialized (int *flag) |
int | MPI_Irecv (void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Request *) |
int | MPI_Isend (void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Request *) |
int | MPI_Issend (void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Request *) |
int | MPI_Op_create (MPI_User_function *user_fn, int commute, MPI_Op *op) |
int | MPI_Op_free (MPI_Op *op) |
int | MPI_Query_thread (int *provided) |
int | MPI_Recv (void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Status *) |
int | MPI_Reduce (void *sendbuf, void *recvbuf, int count, MPI_Datatype, MPI_Op, int, MPI_Comm) |
int | MPI_Send (void *, int, MPI_Datatype, int, int, MPI_Comm) |
int | MPI_Ssend (void *, int, MPI_Datatype, int, int, MPI_Comm) |
int | MPI_Test (MPI_Request *, int *flag, MPI_Status *) |
int | MPI_Testany (int, MPI_Request[], int *index, int *flag, MPI_Status *) |
int | MPI_Testsome (int, MPI_Request *, int *outcount, int *, MPI_Status *) |
int | MPI_Type_get_extent (MPI_Datatype datatype, MPI_Aint *lb, MPI_Aint *extent) |
double | MPI_Wtime () |
#define MPI_ANY_SOURCE -2 |
#define MPI_ANY_TAG -1 |
#define MPI_BAND ((MPI_Op)0x58000006) |
#define MPI_BOR ((MPI_Op)0x58000008) |
#define MPI_BXOR ((MPI_Op)0x5800000a) |
#define MPI_BYTE ((MPI_Datatype)0x4c00010d) |
#define MPI_CHAR ((MPI_Datatype)0x4c000101) |
#define MPI_COMM_NULL ((MPI_Comm)0x04000000) |
#define MPI_COMM_TYPE_SHARED 4 |
#define MPI_COMM_WORLD (0x44000000) |
#define MPI_CONGRUENT 1 |
#define MPI_DATATYPE_NULL ((MPI_Datatype)0x0c000000) |
#define MPI_DOUBLE ((MPI_Datatype)0x4c00080b) |
#define MPI_ERR_ARG 12 /* Invalid argument */ |
#define MPI_ERR_COMM 5 /* Invalid communicator */ |
#define MPI_ERR_IN_STATUS 999999 |
#define MPI_ERRHANDLER_NULL ((MPI_Errhandler)0x14000000) |
#define MPI_ERRORS_RETURN 888888 |
#define MPI_FLOAT ((MPI_Datatype)0x4c00040a) |
#define MPI_GROUP_NULL ((MPI_Group)0x08000000) |
#define MPI_IDENT 0 |
#define MPI_IN_PLACE ((void *) -1) |
#define MPI_INT ((MPI_Datatype)0x4c000405) |
#define MPI_LAND ((MPI_Op)0x58000005) |
#define MPI_LONG ((MPI_Datatype)0x4c000807) |
#define MPI_LONG_DOUBLE ((MPI_Datatype)0x4c00100c) |
#define MPI_LONG_LONG ((MPI_Datatype)0x4c000809) |
#define MPI_LONG_LONG_INT ((MPI_Datatype)0x4c000809) |
#define MPI_LOR ((MPI_Op)0x58000007) |
#define MPI_LXOR ((MPI_Op)0x58000009) |
#define MPI_MAX ((MPI_Op)0x58000001) |
#define MPI_MAX_ERROR_STRING 1024 |
#define MPI_MAXLOC ((MPI_Op)0x5800000c) |
#define MPI_MIN ((MPI_Op)0x58000002) |
#define MPI_MINLOC ((MPI_Op)0x5800000b) |
#define MPI_OP_NULL ((MPI_Op)0x18000000) |
#define MPI_PROC_NULL -1 |
#define MPI_PROD ((MPI_Op)0x58000004) |
#define MPI_REPLACE ((MPI_Op)0x5800000d) |
#define MPI_REQUEST_NULL ((MPI_Request)0x2c000000) |
#define MPI_SHORT ((MPI_Datatype)0x4c000203) |
#define MPI_SIGNED_CHAR ((MPI_Datatype)0x4c000118) |
#define MPI_SIMILAR 2 |
#define MPI_STATUS_IGNORE ((MPI_Status *)1) |
#define MPI_STATUSES_IGNORE ((MPI_Status *)1) |
#define MPI_SUCCESS 0 /* Successful return code */ |
#define MPI_SUM ((MPI_Op)0x58000003) |
#define MPI_THREAD_FUNNELED 1 |
#define MPI_THREAD_MULTIPLE 3 |
#define MPI_THREAD_SERIALIZED 2 |
#define MPI_THREAD_SINGLE 0 |
#define MPI_UNDEFINED (-32766) |
#define MPI_UNEQUAL 3 |
#define MPI_UNSIGNED ((MPI_Datatype)0x4c000406) |
#define MPI_UNSIGNED_CHAR ((MPI_Datatype)0x4c000102) |
#define MPI_UNSIGNED_LONG ((MPI_Datatype)0x4c000808) |
#define MPI_UNSIGNED_LONG_LONG ((MPI_Datatype)0x4c000819) |
#define MPI_UNSIGNED_SHORT ((MPI_Datatype)0x4c000204) |
#define MPI_WCHAR ((MPI_Datatype)0x4c00040e) |
typedef std::ptrdiff_t MPI_Aint |
typedef int MPI_Comm |
typedef int MPI_Datatype |
typedef int MPI_Errhandler |
typedef int MPI_Group |
typedef int MPI_Info |
typedef int MPI_Op |
typedef int MPI_Request |
typedef struct MPI_Status MPI_Status |
typedef void() MPI_User_function(void *a, void *b, int *len, MPI_Datatype *) |
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Abort(), and madness::detail::WorldMpi::initialize().
|
inline |
References MPI_IN_PLACE, and MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Allreduce().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Barrier().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Bcast().
|
inline |
References MPI_ERR_COMM.
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Attach_buffer().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Detach_buffer().
References MPI_IDENT, MPI_SUCCESS, and MPI_UNEQUAL.
Referenced by SafeMPI::Intracomm::Comm_compare().
References MPI_COMM_WORLD, and MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Create().
|
inline |
References MPI_COMM_NULL, and MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Impl::~Impl().
|
inline |
References MPI_ERR_COMM.
Referenced by SafeMPI::Intracomm::Get_attr().
References MPI_GROUP_NULL, and MPI_SUCCESS.
Referenced by SafeMPI::Group::Impl::Impl().
|
inline |
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::detail::init_comm_world().
|
inline |
References MPI_COMM_WORLD, and MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Split().
|
inline |
References MPI_COMM_NULL, MPI_SUCCESS, and MPI_UNDEFINED.
Referenced by SafeMPI::Intracomm::Split_type().
|
inline |
References MPI_ERR_ARG, MPI_ERR_COMM, and MPI_SUCCESS.
Referenced by SafeMPI::Exception::Exception(), SafeMPI::Exception::Exception(), madness::detail::WorldMpi::~WorldMpi(), and SafeMPI::detail::print_mpi_error().
|
inline |
References MPI_SUCCESS.
Referenced by main().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Is_finalized().
|
inline |
|
inline |
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Status::Get_count().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Group::Impl::~Impl().
References MPI_SUCCESS.
Referenced by SafeMPI::Group::Impl::Impl().
References MPI_SUCCESS.
Referenced by SafeMPI::Group::Translate_ranks().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Split_type().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Split_type().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Init(), and main().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Init_thread().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Is_initialized().
|
inline |
References MPI_ERR_COMM.
Referenced by SafeMPI::Intracomm::Irecv(), and main().
|
inline |
References MPI_ERR_COMM.
Referenced by SafeMPI::Intracomm::Isend(), and main().
|
inline |
References MPI_ERR_COMM.
Referenced by SafeMPI::Intracomm::Issend().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Op_create().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Op_free().
|
inline |
References MPI_SUCCESS.
Referenced by SafeMPI::Query_thread().
|
inline |
References MPI_ERR_COMM.
Referenced by SafeMPI::Intracomm::Recv(), and SafeMPI::Intracomm::Recv().
|
inline |
References MPI_IN_PLACE, and MPI_SUCCESS.
Referenced by SafeMPI::Intracomm::Reduce().
|
inline |
References MPI_ERR_COMM.
|
inline |
References MPI_ERR_COMM.
Referenced by SafeMPI::Intracomm::Send().
|
inline |
References MPI_SUCCESS.
Referenced by main(), SafeMPI::Request::Test_got_lock_already(), and SafeMPI::Request::Test_got_lock_already().
|
inline |
References MPI_SUCCESS, and MPI_UNDEFINED.
Referenced by SafeMPI::Request::Testany(), and SafeMPI::Request::Testany().
|
inline |
References MPI_SUCCESS, and MPI_UNDEFINED.
Referenced by SafeMPI::Request::Testsome(), and SafeMPI::Request::Testsome().
|
inline |
References MPI_BYTE, MPI_CHAR, MPI_DOUBLE, MPI_FLOAT, MPI_INT, MPI_LONG, MPI_LONG_DOUBLE, MPI_LONG_LONG_INT, MPI_SHORT, MPI_SIGNED_CHAR, MPI_SUCCESS, MPI_UNDEFINED, MPI_UNSIGNED, MPI_UNSIGNED_CHAR, MPI_UNSIGNED_LONG, MPI_UNSIGNED_LONG_LONG, MPI_UNSIGNED_SHORT, and MPI_WCHAR.
Referenced by MPI_Gatherv().
|
inline |
References madness::wall_time().
Referenced by SafeMPI::Wtime().