SF_MPI

Description

SciFortran MPI interface

Quick access

Routines:

bcast_mpi(), allgather_mpi(), allreduce_mpi(), init_mpi(), finalize_mpi(), startmsg_mpi(), barrier_mpi(), check_mpi(), get_size_mpi(), get_rank_mpi(), get_master_mpi(), get_last_mpi(), cpu_time_mpi(), error_mpi(), init_mpi(), finalize_mpi(), startmsg_mpi(), check_mpi(), get_size_mpi(), get_rank_mpi(), get_master_mpi(), get_last_mpi()

Subroutines and functions

interface  sf_mpi/bcast_mpi(comm, data[, root])
Parameters:
  • comm [integer, in]

  • data (various shapes) [logical, integer, real, complex, in]

Options:

root [integer, in]

interface  sf_mpi/allgather_mpi(comm, send, data[, root])
Parameters:
  • comm [integer, in]

  • send (various shapes) [logical, integer, real, complex, in]

  • data (various shapes) [logical, integer, real, complex, inout]

Options:

root [integer, in]

interface  sf_mpi/allreduce_mpi(comm, send, data[, root])
Parameters:
  • comm [integer, in]

  • send (various shapes) [logical, integer, real, complex, in]

  • data (various shapes) [logical, integer, real, complex, inout]

Options:

root [integer, in]

subroutine  sf_mpi/init_mpi([comm, msg])
Options:
  • comm [integer]

  • msg [logical]

subroutine  sf_mpi/finalize_mpi([comm])
Options:

comm [integer]

subroutine  sf_mpi/startmsg_mpi([comm])
Options:

comm [integer]

subroutine  sf_mpi/barrier_mpi([comm])
Options:

comm [integer]

function  sf_mpi/check_mpi()
Return:

bool [logical]

function  sf_mpi/get_size_mpi([comm])
Options:

comm [integer]

Return:

size [integer]

function  sf_mpi/get_rank_mpi([comm])
Options:

comm [integer]

Return:

rank [integer]

function  sf_mpi/get_master_mpi([comm])
Options:

comm [integer]

Return:

master [logical]

function  sf_mpi/get_last_mpi([comm])
Options:

comm [integer]

Return:

last [logical]

function  sf_mpi/cpu_time_mpi()
Return:

time [real]

subroutine  sf_mpi/error_mpi([err, sub])
Options:
  • err [integer, in]

  • sub [character(len=*), in]

subroutine  sf_mpi/init_mpi()
subroutine  sf_mpi/finalize_mpi()
subroutine  sf_mpi/startmsg_mpi(comm)
Parameters:

comm [integer]

function  sf_mpi/check_mpi()
Return:

bool [logical]

function  sf_mpi/get_size_mpi(comm)
Parameters:

comm [integer]

Return:

size [integer]

function  sf_mpi/get_rank_mpi(comm)
Parameters:

comm [integer]

Return:

rank [integer]

function  sf_mpi/get_master_mpi(comm)
Parameters:

comm [integer]

Return:

master [logical]

function  sf_mpi/get_last_mpi(comm)
Parameters:

comm [integer]

Return:

last [logical]