1MPIL_Request_set_name(3) LAM/MPI MPIL_Request_set_name(3)
2
3
4
6 MPIL_Request_set_name - LAM/MPI-specific function to set a string name
7 on an MPI_Request
8
10 #include <mpi.h>
11 int
12 MPIL_Request_set_name(MPI_Request req, char *name)
13
15 req - MPI_Request (handle)
16 name - Name
17
18
20 The name must be a null-terminated string. It is copied into internal
21 storage during this call.
22
23
25 If an error occurs in an MPI function, the current MPI error handler is
26 called to handle it. By default, this error handler aborts the MPI
27 job. The error handler may be changed with MPI_Errhandler_set ; the
28 predefined error handler MPI_ERRORS_RETURN may be used to cause error
29 values to be returned (in C and Fortran; this error handler is less
30 useful in with the C++ MPI bindings. The predefined error handler
31 MPI::ERRORS_THROW_EXCEPTIONS should be used in C++ if the error value
32 needs to be recovered). Note that MPI does not guarantee that an MPI
33 program can continue past an error.
34
35 All MPI routines (except MPI_Wtime and MPI_Wtick ) return an error
36 value; C routines as the value of the function and Fortran routines in
37 the last argument. The C++ bindings for MPI do not return error val‐
38 ues; instead, error values are communicated by throwing exceptions of
39 type MPI::Exception (but not by default). Exceptions are only thrown
40 if the error value is not MPI::SUCCESS .
41
42
43 Note that if the MPI::ERRORS_RETURN handler is set in C++, while MPI
44 functions will return upon an error, there will be no way to recover
45 what the actual error value was.
46 MPI_SUCCESS
47 - No error; MPI routine completed successfully.
48 MPI_ERR_ARG
49 - Invalid argument. Some argument is invalid and is not identi‐
50 fied by a specific error class. This is typically a NULL
51 pointer or other such error.
52
53
55 MPIL_Request_get_name
56
58 mpil_rsetname.c
59
60
61
62LAM/MPI 7.1.2 2/23/2006 MPIL_Request_set_name(3)