MpiFx 1.4.0
Functions/Subroutines
mpifx_finalize_module Module Reference

Contains wrapper for MPI_FINALIZE. More...

Functions/Subroutines

subroutine, public mpifx_finalize (error)
 Finalizes the MPI framework.
 

Detailed Description

Contains wrapper for MPI_FINALIZE.

Function/Subroutine Documentation

◆ mpifx_finalize()

subroutine, public mpifx_finalize_module::mpifx_finalize ( integer, intent(out), optional error)

Finalizes the MPI framework.

Parameters
errorError code on return. If not present and error code would have been non-zero, routine aborts program execution.
See also
MPI documentation (MPI_FINALIZE)

Example:

program test_mpifx
  use libmpifx_module
  implicit none

  type(mpifx_comm) :: mycomm

  call mpifx_init()
  call mycomm%init()
  :
  call mpifx_finalize()

end program test_mpifx