MPI-SCATCI 2.0
An MPI version of SCATCI
Loading...
Searching...
No Matches
BaseMPI_module Module Reference

Base MPI module. More...

Data Types

type  BaseMPI
 Base MPI type. More...

Functions/Subroutines

subroutine basempi_ctor (this)
 Constructs the BaseMPI object by assigning rank and nProcs.
subroutine verbose_log_message (this, message)
 Will log a message whilst attaching a number in the beginning.
subroutine log_message (this, message)
 Will only log if the rank is zero.

Detailed Description

Base MPI module.

Authors
A Al-Refaie
Date
2017

Uses MPI module from GBTOlib.

Note
16/01/2019 - Jakub Benda: Unifom coding style and expanded documentation.

Function/Subroutine Documentation

◆ basempi_ctor()

subroutine BaseMPI_module::basempi_ctor ( class(basempi) this)

Constructs the BaseMPI object by assigning rank and nProcs.

Authors
A Al-Refaie
Date
2017

Checks if MPI is running; if it is then assign values.

Definition at line 69 of file BaseMPI_module.f90.

◆ log_message()

subroutine BaseMPI_module::log_message ( class(basempi) this,
character(len=*), intent(in) message )
private

Will only log if the rank is zero.

Authors
A Al-Refaie
Date
2017

Definition at line 96 of file BaseMPI_module.f90.

◆ verbose_log_message()

subroutine BaseMPI_module::verbose_log_message ( class(basempi), intent(in) this,
character(len=*), intent(in) message )
private

Will log a message whilst attaching a number in the beginning.

Authors
A Al-Refaie
Date
2017

Definition at line 83 of file BaseMPI_module.f90.