Reference documentation for deal.II version 9.6.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Utilities::MPI::LargeCount Namespace Reference

Functions

int Type_contiguous_c (MPI_Count count, MPI_Datatype oldtype, MPI_Datatype *newtype)
 
int Send_c (const void *buf, MPI_Count count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
 
int Recv_c (void *buf, MPI_Count count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status)
 
int Bcast_c (void *buf, MPI_Count count, MPI_Datatype datatype, unsigned int root_mpi_rank, MPI_Comm comm)
 
int File_write_at_c (MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count, MPI_Datatype datatype, MPI_Status *status)
 
int File_write_at_all_c (MPI_File fh, MPI_Offset offset, const void *buf, MPI_Count count, MPI_Datatype datatype, MPI_Status *status)
 
int File_write_ordered_c (MPI_File fh, const void *buf, MPI_Count count, MPI_Datatype datatype, MPI_Status *status)
 
int File_read_at_c (MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count, MPI_Datatype datatype, MPI_Status *status)
 
int File_read_at_all_c (MPI_File fh, MPI_Offset offset, void *buf, MPI_Count count, MPI_Datatype datatype, MPI_Status *status)
 

Variables

static constexpr MPI_Count mpi_max_int_count
 

Detailed Description

This namespace contains symbols to support MPI routines with large "counts" on MPI implementations that implement version 3.x of the standard, where count is a signed integer.

Function Documentation

◆ Type_contiguous_c()

int Utilities::MPI::LargeCount::Type_contiguous_c ( MPI_Count count,
MPI_Datatype oldtype,
MPI_Datatype * newtype )
inline

Create a contiguous type of (possibly large) count.

See the MPI 4.x standard for details.

Definition at line 66 of file mpi_large_count.h.

◆ Send_c()

int Utilities::MPI::LargeCount::Send_c ( const void * buf,
MPI_Count count,
MPI_Datatype datatype,
int dest,
int tag,
MPI_Comm comm )
inline

Send a package to rank dest with a (possibly large) count.

See the MPI 4.x standard for details.

Definition at line 153 of file mpi_large_count.h.

◆ Recv_c()

int Utilities::MPI::LargeCount::Recv_c ( void * buf,
MPI_Count count,
MPI_Datatype datatype,
int source,
int tag,
MPI_Comm comm,
MPI_Status * status )
inline

Receive a package from rank source with a (possibly large) count.

See the MPI 4.x standard for details.

Definition at line 192 of file mpi_large_count.h.

◆ Bcast_c()

int Utilities::MPI::LargeCount::Bcast_c ( void * buf,
MPI_Count count,
MPI_Datatype datatype,
unsigned int root_mpi_rank,
MPI_Comm comm )
inline

Broadcast a message of possibly large count of data from the process with rank "root" to all other processes.

See the MPI 4.x standard for details.

Definition at line 234 of file mpi_large_count.h.

◆ File_write_at_c()

int Utilities::MPI::LargeCount::File_write_at_c ( MPI_File fh,
MPI_Offset offset,
const void * buf,
MPI_Count count,
MPI_Datatype datatype,
MPI_Status * status )
inline

Write a possibly large count of data at the location offset.

See the MPI 4.x standard for details.

Definition at line 272 of file mpi_large_count.h.

◆ File_write_at_all_c()

int Utilities::MPI::LargeCount::File_write_at_all_c ( MPI_File fh,
MPI_Offset offset,
const void * buf,
MPI_Count count,
MPI_Datatype datatype,
MPI_Status * status )
inline

Collectively write a possibly large count of data at the location offset.

See the MPI 4.x standard for details.

Definition at line 308 of file mpi_large_count.h.

◆ File_write_ordered_c()

int Utilities::MPI::LargeCount::File_write_ordered_c ( MPI_File fh,
const void * buf,
MPI_Count count,
MPI_Datatype datatype,
MPI_Status * status )
inline

Collectively write a possibly large count of data in order.

See the MPI 4.x standard for details.

Definition at line 344 of file mpi_large_count.h.

◆ File_read_at_c()

int Utilities::MPI::LargeCount::File_read_at_c ( MPI_File fh,
MPI_Offset offset,
void * buf,
MPI_Count count,
MPI_Datatype datatype,
MPI_Status * status )
inline

Read a possibly large count of data at the location offset.

See the MPI 4.x standard for details.

Definition at line 379 of file mpi_large_count.h.

◆ File_read_at_all_c()

int Utilities::MPI::LargeCount::File_read_at_all_c ( MPI_File fh,
MPI_Offset offset,
void * buf,
MPI_Count count,
MPI_Datatype datatype,
MPI_Status * status )
inline

Collectively read a possibly large count of data at the location offset.

See the MPI 4.x standard for details.

Definition at line 415 of file mpi_large_count.h.

Variable Documentation

◆ mpi_max_int_count

MPI_Count Utilities::MPI::LargeCount::mpi_max_int_count
staticconstexpr
Initial value:
=
std::numeric_limits<int>::max()

This is the largest count supported when it is represented with a signed integer (old MPI routines).

Definition at line 57 of file mpi_large_count.h.