72#define SC_NORETURN __declspec(noreturn)
74#define SC_NORETURN __attribute__((noreturn))
127#define sc_MPI_SUCCESS MPI_SUCCESS
128#define sc_MPI_ERR_ARG MPI_ERR_ARG
129#define sc_MPI_ERR_COUNT MPI_ERR_COUNT
130#define sc_MPI_ERR_UNKNOWN MPI_ERR_UNKNOWN
131#define sc_MPI_ERR_OTHER MPI_ERR_OTHER
132#define sc_MPI_ERR_NO_MEM MPI_ERR_NO_MEM
133#define sc_MPI_MAX_ERROR_STRING MPI_MAX_ERROR_STRING
135#ifdef SC_ENABLE_MPIIO
137#define sc_MPI_ERR_FILE MPI_ERR_FILE
138#define sc_MPI_ERR_NOT_SAME MPI_ERR_NOT_SAME
139#define sc_MPI_ERR_AMODE MPI_ERR_AMODE
140#define sc_MPI_ERR_UNSUPPORTED_DATAREP MPI_ERR_UNSUPPORTED_DATAREP
141#define sc_MPI_ERR_UNSUPPORTED_OPERATION MPI_ERR_UNSUPPORTED_OPERATION
142#define sc_MPI_ERR_NO_SUCH_FILE MPI_ERR_NO_SUCH_FILE
143#define sc_MPI_ERR_FILE_EXISTS MPI_ERR_FILE_EXISTS
144#define sc_MPI_ERR_BAD_FILE MPI_ERR_BAD_FILE
145#define sc_MPI_ERR_ACCESS MPI_ERR_ACCESS
146#define sc_MPI_ERR_NO_SPACE MPI_ERR_NO_SPACE
147#define sc_MPI_ERR_QUOTA MPI_ERR_QUOTA
148#define sc_MPI_ERR_READ_ONLY MPI_ERR_READ_ONLY
149#define sc_MPI_ERR_FILE_IN_USE MPI_ERR_FILE_IN_USE
150#define sc_MPI_ERR_DUP_DATAREP MPI_ERR_DUP_DATAREP
151#define sc_MPI_ERR_CONVERSION MPI_ERR_CONVERSION
152#define sc_MPI_ERR_IO MPI_ERR_IO
154#define sc_MPI_ERR_LASTCODE MPI_ERR_LASTCODE
157#define sc_MPI_Aint MPI_Aint
161typedef enum sc_MPI_IO_Errorcode
185sc_MPI_IO_Errorcode_t;
187#define sc_MPI_Aint sc3_MPI_Aint_t
191#define sc_MPI_COMM_NULL MPI_COMM_NULL
192#define sc_MPI_COMM_WORLD MPI_COMM_WORLD
193#define sc_MPI_COMM_SELF MPI_COMM_SELF
195#define sc_MPI_GROUP_NULL MPI_GROUP_NULL
196#define sc_MPI_GROUP_EMPTY MPI_GROUP_EMPTY
198#define sc_MPI_IDENT MPI_IDENT
199#define sc_MPI_CONGRUENT MPI_CONGRUENT
200#define sc_MPI_SIMILAR MPI_SIMILAR
201#define sc_MPI_UNEQUAL MPI_UNEQUAL
203#define sc_MPI_ANY_SOURCE MPI_ANY_SOURCE
204#define sc_MPI_ANY_TAG MPI_ANY_TAG
205#define sc_MPI_STATUS_IGNORE MPI_STATUS_IGNORE
206#define sc_MPI_STATUSES_IGNORE MPI_STATUSES_IGNORE
208#define sc_MPI_REQUEST_NULL MPI_REQUEST_NULL
210#define sc_MPI_DATATYPE_NULL MPI_DATATYPE_NULL
211#define sc_MPI_BYTE MPI_BYTE
212#define sc_MPI_CHAR MPI_CHAR
213#define sc_MPI_UNSIGNED_CHAR MPI_UNSIGNED_CHAR
214#define sc_MPI_SHORT MPI_SHORT
215#define sc_MPI_UNSIGNED_SHORT MPI_UNSIGNED_SHORT
216#define sc_MPI_INT MPI_INT
217#define sc_MPI_UNSIGNED MPI_UNSIGNED
218#define sc_MPI_LONG MPI_LONG
219#define sc_MPI_UNSIGNED_LONG MPI_UNSIGNED_LONG
221#ifdef SC_HAVE_MPI_UNSIGNED_LONG_LONG
222#define sc_MPI_UNSIGNED_LONG_LONG MPI_UNSIGNED_LONG_LONG
225#define sc_MPI_UNSIGNED_LONG_LONG MPI_DATATYPE_NULL
228#ifdef SC_HAVE_MPI_SIGNED_CHAR
229#define sc_MPI_SIGNED_CHAR MPI_SIGNED_CHAR
232#define sc_MPI_SIGNED_CHAR MPI_DATATYPE_NULL
235#ifdef SC_HAVE_MPI_INT8_T
236#define sc_MPI_INT8_T MPI_INT8_T
239#define sc_MPI_INT8_T MPI_DATATYPE_NULL
241#define sc_MPI_LONG_LONG_INT MPI_LONG_LONG_INT
242#define sc_MPI_FLOAT MPI_FLOAT
243#define sc_MPI_DOUBLE MPI_DOUBLE
244#define sc_MPI_LONG_DOUBLE MPI_LONG_DOUBLE
245#define sc_MPI_2INT MPI_2INT
246#define sc_MPI_DOUBLE_INT MPI_DOUBLE_INT
247#define sc_MPI_PACKED MPI_PACKED
249#define sc_MPI_OP_NULL MPI_OP_NULL
250#define sc_MPI_MAX MPI_MAX
251#define sc_MPI_MIN MPI_MIN
252#define sc_MPI_LAND MPI_LAND
253#define sc_MPI_BAND MPI_BAND
254#define sc_MPI_LOR MPI_LOR
255#define sc_MPI_BOR MPI_BOR
256#define sc_MPI_LXOR MPI_LXOR
257#define sc_MPI_BXOR MPI_BXOR
258#define sc_MPI_MINLOC MPI_MINLOC
259#define sc_MPI_MAXLOC MPI_MAXLOC
260#define sc_MPI_REPLACE MPI_REPLACE
261#define sc_MPI_SUM MPI_SUM
262#define sc_MPI_PROD MPI_PROD
264#define sc_MPI_UNDEFINED MPI_UNDEFINED
266#define sc_MPI_KEYVAL_INVALID MPI_KEYVAL_INVALID
270#define sc_MPI_Comm MPI_Comm
271#define sc_MPI_Group MPI_Group
272#define sc_MPI_Datatype MPI_Datatype
273#define sc_MPI_Op MPI_Op
274#define sc_MPI_Request MPI_Request
275#define sc_MPI_Status MPI_Status
276#define sc_MPI_Info MPI_Info
280#define sc_MPI_INFO_NULL MPI_INFO_NULL
284#define sc_MPI_Init MPI_Init
286#define sc_MPI_Finalize MPI_Finalize
287#define sc_MPI_Abort MPI_Abort
288#define sc_MPI_Alloc_mem MPI_Alloc_mem
289#define sc_MPI_Free_mem MPI_Free_mem
290#define sc_MPI_Comm_set_attr MPI_Comm_set_attr
291#define sc_MPI_Comm_get_attr MPI_Comm_get_attr
292#define sc_MPI_Comm_delete_attr MPI_Comm_delete_attr
293#define sc_MPI_Comm_create_keyval MPI_Comm_create_keyval
294#define sc_MPI_Comm_dup MPI_Comm_dup
295#define sc_MPI_Comm_create MPI_Comm_create
296#define sc_MPI_Comm_split MPI_Comm_split
297#define sc_MPI_Comm_free MPI_Comm_free
298#define sc_MPI_Comm_size MPI_Comm_size
299#define sc_MPI_Comm_rank MPI_Comm_rank
300#define sc_MPI_Comm_compare MPI_Comm_compare
301#define sc_MPI_Comm_group MPI_Comm_group
302#define sc_MPI_Group_free MPI_Group_free
303#define sc_MPI_Group_size MPI_Group_size
304#define sc_MPI_Group_rank MPI_Group_rank
305#define sc_MPI_Group_translate_ranks MPI_Group_translate_ranks
306#define sc_MPI_Group_compare MPI_Group_compare
307#define sc_MPI_Group_union MPI_Group_union
308#define sc_MPI_Group_intersection MPI_Group_intersection
309#define sc_MPI_Group_difference MPI_Group_difference
310#define sc_MPI_Group_incl MPI_Group_incl
311#define sc_MPI_Group_excl MPI_Group_excl
312#define sc_MPI_Group_range_incl MPI_Group_range_incl
313#define sc_MPI_Group_range_excl MPI_Group_range_excl
314#define sc_MPI_Barrier MPI_Barrier
315#define sc_MPI_Bcast MPI_Bcast
316#define sc_MPI_Gather MPI_Gather
317#define sc_MPI_Gatherv MPI_Gatherv
318#define sc_MPI_Allgather MPI_Allgather
319#define sc_MPI_Allgatherv MPI_Allgatherv
320#define sc_MPI_Alltoall MPI_Alltoall
321#define sc_MPI_Reduce MPI_Reduce
322#define sc_MPI_Reduce_scatter_block MPI_Reduce_scatter_block
323#define sc_MPI_Allreduce MPI_Allreduce
324#define sc_MPI_Scan MPI_Scan
325#define sc_MPI_Exscan MPI_Exscan
326#define sc_MPI_Recv MPI_Recv
327#define sc_MPI_Irecv MPI_Irecv
328#define sc_MPI_Send MPI_Send
329#define sc_MPI_Isend MPI_Isend
330#define sc_MPI_Sendrecv MPI_Sendrecv
331#define sc_MPI_Probe MPI_Probe
332#define sc_MPI_Iprobe MPI_Iprobe
333#define sc_MPI_Get_count MPI_Get_count
334#define sc_MPI_Wtime MPI_Wtime
335#define sc_MPI_Wait MPI_Wait
337#define sc_MPI_Type_size MPI_Type_size
338#define sc_MPI_Pack MPI_Pack
339#define sc_MPI_Unpack MPI_Unpack
340#define sc_MPI_Pack_size MPI_Pack_size
341#ifdef SC_HAVE_AINT_DIFF
343#define sc_MPI_Aint_diff MPI_Aint_diff
354sc_MPI_Aint sc_MPI_Aint_diff (sc_MPI_Aint a, sc_MPI_Aint b);
362#define sc_MPI_SUCCESS SC3_MPI_SUCCESS
363#define sc_MPI_ERR_ARG SC3_MPI_ERR_ARG
364#define sc_MPI_ERR_COUNT SC3_MPI_ERR_COUNT
365#define sc_MPI_ERR_UNKNOWN SC3_MPI_ERR_UNKNOWN
366#define sc_MPI_ERR_OTHER SC3_MPI_ERR_OTHER
367#define sc_MPI_ERR_NO_MEM SC3_MPI_ERR_NO_MEM
368#define sc_MPI_ERR_FILE SC3_MPI_ERR_FILE
369#define sc_MPI_ERR_NOT_SAME SC3_MPI_ERR_NOT_SAME
370#define sc_MPI_ERR_AMODE SC3_MPI_ERR_AMODE
372#define sc_MPI_ERR_UNSUPPORTED_DATAREP SC3_MPI_ERR_UNSUPPORTED_DATAREP
374#define sc_MPI_ERR_UNSUPPORTED_OPERATION SC3_MPI_ERR_UNSUPPORTED_OPERATION
376#define sc_MPI_ERR_NO_SUCH_FILE SC3_MPI_ERR_NO_SUCH_FILE
377#define sc_MPI_ERR_FILE_EXISTS SC3_MPI_ERR_FILE_EXISTS
378#define sc_MPI_ERR_BAD_FILE SC3_MPI_ERR_BAD_FILE
379#define sc_MPI_ERR_ACCESS SC3_MPI_ERR_ACCESS
380#define sc_MPI_ERR_NO_SPACE SC3_MPI_ERR_NO_SPACE
381#define sc_MPI_ERR_QUOTA SC3_MPI_ERR_QUOTA
382#define sc_MPI_ERR_READ_ONLY SC3_MPI_ERR_READ_ONLY
383#define sc_MPI_ERR_FILE_IN_USE SC3_MPI_ERR_FILE_IN_USE
384#define sc_MPI_ERR_DUP_DATAREP SC3_MPI_ERR_DUP_DATAREP
385#define sc_MPI_ERR_CONVERSION SC3_MPI_ERR_CONVERSION
386#define sc_MPI_ERR_IO SC3_MPI_ERR_IO
387#define sc_MPI_ERR_LASTCODE SC3_MPI_ERR_LASTCODE
390#define sc_MPI_MAX_ERROR_STRING SC3_MPI_MAX_ERROR_STRING
392#define sc_MPI_COMM_NULL SC3_MPI_COMM_NULL
393#define sc_MPI_COMM_WORLD SC3_MPI_COMM_WORLD
394#define sc_MPI_COMM_SELF SC3_MPI_COMM_SELF
397#define sc_MPI_GROUP_NULL ((sc_MPI_Group) 0x54000000)
399#define sc_MPI_GROUP_EMPTY ((sc_MPI_Group) 0x54000001)
402#define sc_MPI_IDENT (1)
403#define sc_MPI_CONGRUENT (2)
404#define sc_MPI_SIMILAR (3)
405#define sc_MPI_UNEQUAL (-1)
407#define sc_MPI_ANY_SOURCE (-2)
408#define sc_MPI_ANY_TAG (-1)
409#define sc_MPI_STATUS_IGNORE (sc_MPI_Status *) 1
410#define sc_MPI_STATUSES_IGNORE (sc_MPI_Status *) 1
412#define sc_MPI_REQUEST_NULL ((sc_MPI_Request) 0x2c000000)
413#define sc_MPI_DATATYPE_NULL SC3_MPI_DATATYPE_NULL
415#define sc_MPI_CHAR ((sc_MPI_Datatype) 0x4c000101)
416#define sc_MPI_SIGNED_CHAR ((sc_MPI_Datatype) 0x4c000118)
417#define sc_MPI_UNSIGNED_CHAR ((sc_MPI_Datatype) 0x4c000102)
418#define sc_MPI_BYTE SC3_MPI_BYTE
419#define sc_MPI_SHORT ((sc_MPI_Datatype) 0x4c000203)
420#define sc_MPI_UNSIGNED_SHORT ((sc_MPI_Datatype) 0x4c000204)
421#define sc_MPI_INT SC3_MPI_INT
422#define sc_MPI_INT8_T ((sc_MPI_Datatype) 0x4c000205)
423#define sc_MPI_2INT SC3_MPI_2INT
424#define sc_MPI_UNSIGNED SC3_MPI_UNSIGNED
425#define sc_MPI_LONG SC3_MPI_LONG
426#define sc_MPI_UNSIGNED_LONG ((sc_MPI_Datatype) 0x4c000408)
427#define sc_MPI_LONG_LONG_INT SC3_MPI_LONG_LONG
428#define sc_MPI_UNSIGNED_LONG_LONG ((sc_MPI_Datatype) 0x4c000409)
429#define sc_MPI_FLOAT SC3_MPI_FLOAT
430#define sc_MPI_DOUBLE SC3_MPI_DOUBLE
431#define sc_MPI_DOUBLE_INT SC3_MPI_DOUBLE_INT
432#define sc_MPI_LONG_DOUBLE ((sc_MPI_Datatype) 0x4c000c0c)
433#define sc_MPI_PACKED ((sc_MPI_Datatype) 0x4c001001)
434#define sc_MPI_Aint sc3_MPI_Aint_t
436#define sc_MPI_OP_NULL SC3_MPI_OP_NULL
437#define sc_MPI_MINLOC SC3_MPI_MINLOC
438#define sc_MPI_MAXLOC SC3_MPI_MAXLOC
439#define sc_MPI_LOR SC3_MPI_LOR
440#define sc_MPI_LAND SC3_MPI_LAND
441#define sc_MPI_LXOR SC3_MPI_LXOR
442#define sc_MPI_BOR SC3_MPI_BOR
443#define sc_MPI_BAND SC3_MPI_BAND
444#define sc_MPI_BXOR SC3_MPI_BXOR
445#define sc_MPI_REPLACE SC3_MPI_REPLACE
446#define sc_MPI_PROD SC3_MPI_PROD
449#define sc_MPI_MIN SC3_MPI_MIN
450#define sc_MPI_MAX SC3_MPI_MAX
451#define sc_MPI_SUM SC3_MPI_SUM
454#define sc_MPI_UNDEFINED SC3_MPI_UNDEFINED
478#define sc_MPI_INFO_NULL NULL
529 int outsize,
int *position,
543 int *position,
void *outbuf,
int outcount,
614int sc_MPI_Reduce_scatter_block (
void *,
void *,
639sc_MPI_Aint sc_MPI_Aint_diff (sc_MPI_Aint a, sc_MPI_Aint b);
658int sc_MPI_Group_translate_ranks (
sc_MPI_Group,
int,
int *,
710#if defined SC_ENABLE_MPI && defined SC_ENABLE_MPICOMMSHARED
711#define sc_MPI_COMM_TYPE_SHARED MPI_COMM_TYPE_SHARED
713#define sc_MPI_COMM_TYPE_SHARED sc_MPI_UNDEFINED
722 int split_type,
int key,
726#if defined SC_ENABLE_MPI && defined SC_ENABLE_MPITHREAD
728#define sc_MPI_THREAD_SINGLE MPI_THREAD_SINGLE
729#define sc_MPI_THREAD_FUNNELED MPI_THREAD_FUNNELED
730#define sc_MPI_THREAD_SERIALIZED MPI_THREAD_SERIALIZED
731#define sc_MPI_THREAD_MULTIPLE MPI_THREAD_MULTIPLE
733#define sc_MPI_Init_thread MPI_Init_thread
738#define sc_MPI_THREAD_SINGLE 0
739#define sc_MPI_THREAD_FUNNELED 1
740#define sc_MPI_THREAD_SERIALIZED 2
741#define sc_MPI_THREAD_MULTIPLE 3
744int sc_MPI_Init_thread (
int *argc,
char ***argv,
745 int required,
int *provided);
749#ifdef SC_ENABLE_MPIIO
753#define sc_MPI_MODE_RDONLY MPI_MODE_RDONLY
754#define sc_MPI_MODE_RDWR MPI_MODE_RDWR
755#define sc_MPI_MODE_WRONLY MPI_MODE_WRONLY
756#define sc_MPI_MODE_CREATE MPI_MODE_CREATE
757#define sc_MPI_MODE_EXCL MPI_MODE_EXCL
758#define sc_MPI_MODE_DELETE_ON_CLOSE MPI_MODE_DELETE_ON_CLOSE
759#define sc_MPI_MODE_UNIQUE_OPEN MPI_MODE_UNIQUE_OPEN
760#define sc_MPI_MODE_SEQUENTIAL MPI_MODE_SEQUENTIAL
761#define sc_MPI_MODE_APPEND MPI_MODE_APPEND
765#define sc_MPI_SEEK_SET MPI_SEEK_SET
766#define sc_MPI_SEEK_CUR MPI_SEEK_CUR
767#define sc_MPI_SEEK_END MPI_SEEK_END
771#define sc_MPI_Offset MPI_Offset
773#define sc_MPI_File MPI_File
774#define sc_MPI_FILE_NULL MPI_FILE_NULL
776#define sc_MPI_File_open MPI_File_open
777#define sc_MPI_File_close MPI_File_close
779#define sc_MPI_File_get_view MPI_File_get_view
780#define sc_MPI_File_set_view MPI_File_set_view
782#define sc_MPI_File_write_all MPI_File_write_all
783#define sc_MPI_File_read_all MPI_File_read_all
785#define sc_MPI_File_write_at_all MPI_File_write_at_all
786#define sc_MPI_File_read_at_all MPI_File_read_at_all
788#define sc_MPI_File_get_size MPI_File_get_size
789#define sc_MPI_File_set_size MPI_File_set_size
810#define sc_MPI_FILE_NULL NULL
897void sc_mpi_comm_attach_node_comms (
sc_MPI_Comm comm,
898 int processes_per_node);
908void sc_mpi_comm_detach_node_comms (
sc_MPI_Comm comm);
We provide MPI replacement data types for configuring without MPI.
enum sc3_MPI_Op sc3_MPI_Op_t
We wrap the MPI operation types we use.
struct sc3_MPI_Info * sc3_MPI_Info_t
Wrapped MPI info object.
Definition sc3_mpi_types.h:159
enum sc3_MPI_Datatype sc3_MPI_Datatype_t
We wrap the MPI datatypes we use.
struct sc3_MPI_Comm * sc3_MPI_Comm_t
Wrapped MPI communicator.
Definition sc3_mpi_types.h:155
#define sc_MPI_ERR_NO_SUCH_FILE
Emulate SC_MPI_ERR_NO_SUCH_FILE.
Definition sc_mpi.h:376
int sc_MPI_Comm_free(sc_MPI_Comm *freecomm)
Free a previously created MPI communicator.
int sc_MPI_Error_class(int errorcode, int *errorclass)
Turn an MPI error code into its error class.
#define sc_MPI_ERR_LASTCODE
Emulate SC_MPI_ERR_LASTCODE.
Definition sc_mpi.h:387
size_t sc_mpi_sizeof(sc_MPI_Datatype t)
Return the size of MPI datatypes.
#define sc_MPI_ERR_CONVERSION
Emulate SC_MPI_ERR_CONVERSION.
Definition sc_mpi.h:385
SC_NORETURN int sc_MPI_Abort(sc_MPI_Comm mpicomm, int ecode)
Abort an MPI program.
int sc_MPI_Group_size(sc_MPI_Group mpigroup, int *size)
Query size of an MPI group.
#define sc_MPI_ERR_BAD_FILE
Emulate SC_MPI_ERR_BAD_FILE.
Definition sc_mpi.h:378
int sc_MPI_Unpack(const void *inbuf, int insize, int *position, void *outbuf, int outcount, sc_MPI_Datatype datatype, sc_MPI_Comm comm)
Unpack contiguous memory into several instances of the same datatype.
int sc_MPI_Allreduce(void *, void *, int, sc_MPI_Datatype, sc_MPI_Op, sc_MPI_Comm)
Execute the MPI_Allreduce algorithm.
#define sc_MPI_ERR_FILE
Emulate SC_MPI_ERR_FILE.
Definition sc_mpi.h:368
sc3_MPI_Datatype_t sc_MPI_Datatype
Emulate MPI datatypes.
Definition sc_mpi.h:462
int sc_MPI_Reduce(void *, void *, int, sc_MPI_Datatype, sc_MPI_Op, int, sc_MPI_Comm)
Execute the MPI_Reduce algorithm.
#define sc_MPI_ERR_READ_ONLY
Emulate SC_MPI_ERR_READ_ONLY.
Definition sc_mpi.h:382
int sc_MPI_Bcast(void *, int, sc_MPI_Datatype, int, sc_MPI_Comm)
Execute the MPI_Bcast algorithm.
#define SC_NORETURN
​Platform-specific noreturn
Definition sc_mpi.h:74
int sc_MPI_Type_size(sc_MPI_Datatype datatype, int *size)
Return size of an MPI datatype.
struct sc_no_mpiio_file * sc_MPI_File
Replacement object for an MPI file.
Definition sc_mpi.h:808
int sc_MPI_Exscan(void *, void *, int, sc_MPI_Datatype, sc_MPI_Op, sc_MPI_Comm)
Execute the MPI_Exscan algorithm.
#define sc_MPI_ERR_DUP_DATAREP
Emulate SC_MPI_ERR_DUP_DATAREP.
Definition sc_mpi.h:384
int sc_MPI_Alltoall(void *, int, sc_MPI_Datatype, void *, int, sc_MPI_Datatype, sc_MPI_Comm)
Execute the MPI_Alltoall algorithm.
int sc_MPI_Finalize(void)
MPI finalization.
#define sc_MPI_ERR_UNSUPPORTED_DATAREP
Emulate SC_MPI_ERR_UNSUPPORTED_DATAREP.
Definition sc_mpi.h:372
int sc_mpi_is_shared(void)
Return whether MPI supports type split and shared windows.
#define sc_MPI_ERR_QUOTA
Emulate SC_MPI_ERR_QUOTA.
Definition sc_mpi.h:381
int sc_MPI_Group_rank(sc_MPI_Group mpigroup, int *rank)
Query rank of an MPI process within a group.
int sc_MPI_Isend_bytes(const void *buf, size_t byte_count, int dest, int tag, sc_MPI_Comm comm, sc_MPI_Request *request)
MPI-Isend for byte-messages with increased message sizes.
sc_tag_t
Enumerate all MPI tags used internally to the sc library.
Definition sc_mpi.h:98
@ SC_TAG_AG_ALLTOALL
Used in MPI alltoall replacement.
Definition sc_mpi.h:100
@ SC_TAG_REDUCE
Used in MPI reduce replacement.
Definition sc_mpi.h:117
@ SC_TAG_AG_RECURSIVE_C
Internal tag; do not use.
Definition sc_mpi.h:103
@ SC_TAG_LAST
End marker of tag enumeration.
Definition sc_mpi.h:120
@ SC_TAG_NOTIFY_RANGES
Internal tag to sc_notify.
Definition sc_mpi.h:110
@ SC_TAG_PSORT_LO
Internal tag to sc_psort.
Definition sc_mpi.h:118
@ SC_TAG_AG_RECURSIVE_A
Internal tag; do not use.
Definition sc_mpi.h:101
@ SC_TAG_NOTIFY_CENSUSV
Internal tag to sc_notify.
Definition sc_mpi.h:105
@ SC_TAG_NOTIFY_WRAPPERV
Internal tag to sc_notify.
Definition sc_mpi.h:109
@ SC_TAG_NOTIFY_RECURSIVE
Internal tag to sc_notify.
Definition sc_mpi.h:114
@ SC_TAG_NOTIFY_NBXV
Internal tag to sc_notify.
Definition sc_mpi.h:107
@ SC_TAG_NOTIFY_WRAPPER
Internal tag to sc_notify.
Definition sc_mpi.h:108
@ SC_TAG_NOTIFY_NBX
Internal tag to sc_notify.
Definition sc_mpi.h:106
@ SC_TAG_NOTIFY_CENSUS
Internal tag to sc_notify.
Definition sc_mpi.h:104
@ SC_TAG_NOTIFY_SUPER_EXTRA
Internal tag to sc_notify.
Definition sc_mpi.h:113
@ SC_TAG_NOTIFY_SUPER_TRUE
Internal tag to sc_notify.
Definition sc_mpi.h:112
@ SC_TAG_FIRST
Anything really.
Definition sc_mpi.h:99
@ SC_TAG_NOTIFY_NARY
Internal tag to sc_notify.
Definition sc_mpi.h:116
@ SC_TAG_AG_RECURSIVE_B
Internal tag; do not use.
Definition sc_mpi.h:102
@ SC_TAG_NOTIFY_PAYLOAD
Internal tag to sc_notify.
Definition sc_mpi.h:111
@ SC_TAG_PSORT_HI
Internal tag to sc_psort.
Definition sc_mpi.h:119
int sc_MPI_Group
Emulate an MPI group.
Definition sc_mpi.h:458
int sc_MPI_Barrier(sc_MPI_Comm mpicomm)
Execute a parallel barrier.
sc3_MPI_Comm_t sc_MPI_Comm
Emulate an MPI communicator.
Definition sc_mpi.h:460
#define sc_MPI_ERR_FILE_IN_USE
Emulate SC_MPI_ERR_FILE_IN_USE.
Definition sc_mpi.h:383
int sc_MPI_Comm_rank(sc_MPI_Comm mpicomm, int *mpirank)
Query rank of an MPI process within a communicator.
double sc_MPI_Wtime(void)
Execute the MPI_Wtime function.
int sc_MPI_Allgatherv(void *, int, sc_MPI_Datatype, void *, int *, int *, sc_MPI_Datatype, sc_MPI_Comm)
Execute the MPI_Allgatherv algorithm.
sc3_MPI_Info_t sc_MPI_Info
Emulate an MPI Info object.
Definition sc_mpi.h:461
#define sc_MPI_ERR_AMODE
Emulate SC_MPI_ERR_AMODE .
Definition sc_mpi.h:370
#define sc_MPI_ERR_IO
Emulate SC_MPI_ERR_IO.
Definition sc_mpi.h:386
int sc_MPI_Allgather(void *, int, sc_MPI_Datatype, void *, int, sc_MPI_Datatype, sc_MPI_Comm)
Execute the MPI_Allgather algorithm.
int sc_MPI_Init(int *argc, char ***argv)
MPI initialization.
#define sc_MPI_ERR_FILE_EXISTS
Emulate SC_MPI_ERR_FILE_EXISTS.
Definition sc_mpi.h:377
int sc_MPI_Request
Emulate an MPI request.
Definition sc_mpi.h:459
int sc_MPI_Scan(void *, void *, int, sc_MPI_Datatype, sc_MPI_Op, sc_MPI_Comm)
Execute the MPI_Scan algorithm.
int sc_MPI_Pack(const void *inbuf, int incount, sc_MPI_Datatype datatype, void *outbuf, int outsize, int *position, sc_MPI_Comm comm)
Pack several instances of the same datatype into contiguous memory.
#define sc_MPI_ERR_ACCESS
Emulate SC_MPI_ERR_ACCESS.
Definition sc_mpi.h:379
int sc_mpi_is_enabled(void)
Return whether MPI is configured.
long sc_MPI_Offset
Emulate the MPI offset type.
Definition sc_mpi.h:793
int sc_MPI_Pack_size(int incount, sc_MPI_Datatype datatype, sc_MPI_Comm comm, int *size)
Determine space needed to pack several instances of the same datatype.
sc3_MPI_Op_t sc_MPI_Op
Emulate MPI operations.
Definition sc_mpi.h:463
#define sc_MPI_ERR_NOT_SAME
Emulate SC_MPI_ERR_NOT_SAME.
Definition sc_mpi.h:369
int sc_MPI_Comm_split(sc_MPI_Comm, int, int, sc_MPI_Comm *)
Return the input communicator in lieu of splitting.
int sc_MPI_Irecv_bytes(void *buf, size_t byte_count, int source, int tag, sc_MPI_Comm comm, sc_MPI_Request *request)
MPI-Irecv for byte-messages with increased message sizes.
int sc_MPI_Comm_size(sc_MPI_Comm mpicomm, int *mpisize)
Query size of an MPI communicator.
int sc_MPI_Comm_split_type(sc_MPI_Comm mpicomm, int split_type, int key, sc_MPI_Info info, sc_MPI_Comm *newcomm)
Wrapper to split an MPI communicator by shared node type.
#define sc_MPI_ERR_UNSUPPORTED_OPERATION
Emulate SC_MPI_ERR_UNSUPPORTED_OPERATION.
Definition sc_mpi.h:374
#define sc_MPI_ERR_NO_SPACE
Emulate SC_MPI_ERR_NO_SPACE.
Definition sc_mpi.h:380
int sc_MPI_Error_string(int errorcode, char *string, int *resultlen)
Turn MPI error code into a string.
int sc_MPI_Comm_dup(sc_MPI_Comm mpicomm, sc_MPI_Comm *dupcomm)
Duplicate an MPI communicator.
Replacement of MPI_Status for non-MPI configuration.
Definition sc_mpi.h:467
int MPI_ERROR
Error occurred.
Definition sc_mpi.h:472
int MPI_TAG
Tag of the message.
Definition sc_mpi.h:471
int cancelled
Cancellation occurred.
Definition sc_mpi.h:469
int count
Bytes sent/received.
Definition sc_mpi.h:468
int MPI_SOURCE
Rank of the source.
Definition sc_mpi.h:470
Replacement structure for MPI_File.
Definition sc_mpi.h:799
FILE * file
Underlying file object.
Definition sc_mpi.h:802
const char * filename
Name of the file.
Definition sc_mpi.h:801
int mpirank
Rank of this process.
Definition sc_mpi.h:804
int mpisize
Ranks in communicator.
Definition sc_mpi.h:803
sc_MPI_Comm mpicomm
The MPI communicator.
Definition sc_mpi.h:800