MPI-AMRVAC  2.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Functions/Subroutines
comm_lib.t File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine comm_start
 Initialize the MPI environment. More...
 
subroutine comm_finalize
 Finalize (or shutdown) the MPI environment. More...
 
subroutine init_comm_types
 Create and store the MPI types that will be used for parallel communication. More...
 
subroutine mpistop (message)
 Exit MPI-AMRVAC with an error message. More...
 

Detailed Description

Todo:
Convert this file to a module

Definition in file comm_lib.t.

Function/Subroutine Documentation

◆ comm_finalize()

subroutine comm_finalize ( )

Finalize (or shutdown) the MPI environment.

Definition at line 39 of file comm_lib.t.

◆ comm_start()

subroutine comm_start ( )

Initialize the MPI environment.

Todo:
Check for errors in return code

Definition at line 7 of file comm_lib.t.

Here is the call graph for this function:

◆ init_comm_types()

subroutine init_comm_types ( )

Create and store the MPI types that will be used for parallel communication.

Definition at line 48 of file comm_lib.t.

◆ mpistop()

subroutine mpistop ( character(len=*), intent(in)  message)

Exit MPI-AMRVAC with an error message.

Parameters
[in]messageThe error message

Definition at line 198 of file comm_lib.t.