MPI-SCATCI  2.0
An MPI version of SCATCI
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. More...
 
subroutine verbose_log_message (this, message)
 Will log a message whilst attaching a number in the beginning. More...
 
subroutine log_message (this, message)
 Will only log if the rank is zero. More...
 

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)
private

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.

Here is the caller graph for this function:

◆ 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.