MpiFx 1.4.0
|
Contains wrapper for MPI_INIT
.
More...
Functions/Subroutines | |
subroutine, public | mpifx_init (error) |
Initializes the MPI environment. | |
subroutine, public | mpifx_init_thread (requiredthreading, providedthreading, error) |
Initializes a threaded MPI environment. | |
Contains wrapper for MPI_INIT
.
subroutine, public mpifx_init_module::mpifx_init | ( | integer, intent(out), optional | error | ) |
Initializes the MPI environment.
error | Error code on return. If not present and error code would have been non-zero, routine aborts program execution. |
MPI_INIT
)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
subroutine, public mpifx_init_module::mpifx_init_thread | ( | integer, intent(in) | requiredthreading, |
integer, intent(out), optional | providedthreading, | ||
integer, intent(out), optional | error ) |
Initializes a threaded MPI environment.
requiredThreading | Threading support required (MPI_THREAD_SINGLE, MPI_THREAD_FUNNELED, MPI_THREAD_SERIALIZED, MPI_THREAD_MULTIPLE) |
proviedeThreading | Threading level provided by the MPI-framework. If not present and the framework offers a lower support than required, the routine stops program execution. |
error | Error code on return. If not present and error code would have been non-zero, routine aborts program execution. |
MPI_INIT
)Example:
program test_mpifx use libmpifx_module implicit none type(mpifx_comm) :: mycomm call mpifx_init_thread(MPI_THREAD_FUNNELED) call mycomm%init() : call mpifx_finalize() end program test_mpifx