Go to the source code of this file.
--- interface to user-adjustable core routines of scales ppm
- Copyright
- (C) 2010 Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
- Author
- Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
Definition in file core.h.
◆ __attribute__
#define __attribute__ |
( |
| x | ) |
|
◆ die
Value:
#define SymPrefix(symbol)
Definition at line 131 of file core.h.
◆ XT_UNUSED
Value:
Definition at line 84 of file core.h.
◆ (abort_func)
typedef void(*)(MPI_Comm comm, const char *msg, const char *source, int line) SymPrefi (abort_func)) ((noreturn)) |
functions used as error handler must conform to this interface
Definition at line 90 of file core.h.
◆ MPI_Comm
fall back to int in case no MPI implementation was found
Definition at line 64 of file core.h.
◆ MPI_Fint
fall back to int in case no MPI implementation was found
Definition at line 68 of file core.h.
◆ anonymous enum
provide value to use in case no actual communicators exist
Enumerator |
---|
MPI_COMM_WORLD | |
MPI_COMM_NULL | |
Definition at line 72 of file core.h.
◆ abort_default()
void SymPrefix abort_default |
( |
MPI_Comm | comm, |
|
|
const char * | msg, |
|
|
const char * | source, |
|
|
int | line ) |
|
extern |
This function prints the message argument and file and line of the error to standard error, and calls either MPI_Abort or abort depending on whether MPI is initialized.
- Parameters
-
comm | MPI communcator object to use on call to MPI_Abort |
msg | message text to print |
source | string describing source file name |
line | line number of caller |
Definition at line 116 of file core.c.
◆ restore_default_abort_handler()
void SymPrefix restore_default_abort_handler |
( |
void | | ) |
|
Restore default abort handler.
◆ set_default_comm()
change default communicator object
◆ SymPrefix() [1/2]
Unless modified, this function pointer will reference PPM_abort_default.
Definition at line 133 of file core.c.
◆ SymPrefix() [2/2]
communicator object to use by default