title | TOCTitle | ms:assetid | ms:mtpsurl | ms:contentKeyID | ms.date | mtps_version | f1_keywords | dev_langs | api_location | api_name | api_type | product | topic_type | product_family_name | ROBOTS | description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MPI_Finalize function |
MPI_Finalize function |
e93c2023-9526-466a-892d-f11d18bb9bfe |
59360908 |
03/28/2018 |
v=VS.85 |
|
|
|
|
|
|
|
VS |
INDEX,FOLLOW |
Learn about the MPI_Finalize function on Microsoft's platform. Understand its syntax, parameters, return value, and how it impacts MPI processes. |
Terminates the calling MPI process’s execution environment.
int MPIAPI MPI_Finalize(void);
This function has no parameters.
MPI_SUCCESS if the function returns successfully. Other error codes if the call failed for other reasons (such as invalid arguments). In Fortran the return value is stored in the IERROR parameter.
MPI_FINALIZE(IERROR)
INTEGER IERROR
All MPI Processes must call this routine before exiting on the thread that called MPI_Init or MPI_Init_thread.
The MPI_Finalize function cleans up all state related to MPI. Once it is called, no other MPI functions may be called, including MPI_Init and MPI_Init_thread. The application must ensure that all pending communications are completed or canceled before calling MPI_Finalize.
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Library |
Msmpi.lib |
DLL |
Msmpi.dll |