(git:b279b6b)
message_passing.F File Reference

Go to the source code of this file.

Modules

module  message_passing
 Interface to the message passing library MPI.
 

Macros

#define MPI_DATA_TYPE   INTEGER
 
#define MPI_COMM_TYPE   INTEGER
 
#define MPI_REQUEST_TYPE   INTEGER
 
#define MPI_WIN_TYPE   INTEGER
 
#define MPI_FILE_TYPE   INTEGER
 
#define MPI_INFO_TYPE   INTEGER
 
#define MPI_STATUS_TYPE   INTEGER, DIMENSION(MPI_STATUS_SIZE)
 
#define MPI_GROUP_TYPE   INTEGER
 
#define MPI_STATUS_EXTRACT(X)   (X)
 
#define MPI_GET_COMP
 

Functions/Subroutines

subroutine, public message_passing::mp_world_init (mp_comm)
 initializes the system default communicator More...
 
subroutine, public message_passing::mp_world_finalize ()
 finalizes the system default communicator More...
 
subroutine, public message_passing::mp_abort ()
 globally stops all tasks this is intended to be low level, most of CP2K should call cp_abort() More...
 
subroutine, public message_passing::mp_para_env_create (para_env, group)
 creates a new para environment More...
 
subroutine, public message_passing::mp_para_env_release (para_env)
 releases the para object (to be called when you don't want anymore the shared copy of this object) More...
 
subroutine, public message_passing::mp_para_cart_create (cart, group)
 creates a cart (multidimensional parallel environment) More...
 
subroutine, public message_passing::mp_para_cart_release (cart)
 releases the given cart More...
 
subroutine, public message_passing::mp_dims_create (nodes, dims)
 wrapper to MPI_Dims_create More...
 
subroutine, public message_passing::mp_waitany (requests, completed)
 waits for completion of any of the given requests More...
 
integer function, public message_passing::mp_get_node_global_rank ()
 Get the local rank on the node according to the global communicator. More...
 
subroutine, public message_passing::mp_get_library_version (version, resultlen)
 Get Version of the MPI Library (MPI 3) More...
 
subroutine, public message_passing::mp_file_delete (filepath, info)
 Deletes a file. Auxiliary routine to emulate 'replace' action for mp_file_open. Only the master processor should call this routine. More...
 
subroutine, public message_passing::mp_type_size (type_descriptor, type_size)
 Returns the size of a data type in bytes. More...
 
type(mp_file_descriptor_type) function, public message_passing::mp_file_type_hindexed_make_chv (count, lengths, displs)
 Creates an indexed MPI type for arrays of strings using bytes for spacing (hindexed type) More...
 
subroutine, public message_passing::mp_file_type_set_view_chv (fh, offset, type_descriptor)
 Uses a previously created indexed MPI character type to tell the MPI processes how to partition (set_view) an opened file. More...
 
subroutine, public message_passing::mp_file_type_free (type_descriptor)
 Releases the type used for MPI I/O. More...
 
subroutine, public message_passing::mp_file_get_amode (mpi_io, replace, amode, form, action, status, position)
 (parallel) Utility routine to determine MPI file access mode based on variables More...
 
type(mp_type_descriptor_type) function, public message_passing::mp_type_indexed_make_d (count, lengths, displs)
 ... More...
 
type(mp_type_descriptor_type) function, public message_passing::mp_type_indexed_make_r (count, lengths, displs)
 ... More...
 
type(mp_type_descriptor_type) function, public message_passing::mp_type_indexed_make_z (count, lengths, displs)
 ... More...
 
type(mp_type_descriptor_type) function, public message_passing::mp_type_indexed_make_c (count, lengths, displs)
 ... More...
 

Variables

logical, parameter, public message_passing::cp2k_is_parallel = .FALSE.
 
integer, parameter, public message_passing::mp_any_tag = -1
 
integer, parameter, public message_passing::mp_any_source = -2
 
integer, parameter, public message_passing::mp_status_size = -9
 
integer, parameter, public message_passing::mp_proc_null = -10
 
integer, parameter, public message_passing::mp_max_library_version_string = 1
 
integer, parameter, public message_passing::file_offset = int_8
 
integer, parameter, public message_passing::address_kind = int_8
 
integer, parameter, public message_passing::file_amode_create = 1
 
integer, parameter, public message_passing::file_amode_rdonly = 2
 
integer, parameter, public message_passing::file_amode_wronly = 4
 
integer, parameter, public message_passing::file_amode_rdwr = 8
 
integer, parameter, public message_passing::file_amode_excl = 64
 
integer, parameter, public message_passing::file_amode_append = 128
 
integer, parameter, public message_passing::mpi_character_size = 1
 
integer, parameter, public message_passing::mpi_integer_size = 4
 
type(mp_comm_type), parameter, public message_passing::mp_comm_null = mp_comm_type(mp_comm_null_handle)
 
type(mp_comm_type), parameter, public message_passing::mp_comm_self = mp_comm_type(mp_comm_self_handle)
 
type(mp_comm_type), parameter, public message_passing::mp_comm_world = mp_comm_type(mp_comm_world_handle)
 
type(mp_request_type), parameter, public message_passing::mp_request_null = mp_request_type(mp_request_null_handle)
 
type(mp_win_type), parameter, public message_passing::mp_win_null = mp_win_type(mp_win_null_handle)
 
type(mp_file_type), parameter, public message_passing::mp_file_null = mp_file_type(mp_file_null_handle)
 
type(mp_info_type), parameter, public message_passing::mp_info_null = mp_info_type(mp_info_null_handle)
 
integer, parameter, public message_passing::mp_comm_ident = 0
 
integer, parameter, public message_passing::mp_comm_congruent = 1
 
integer, parameter, public message_passing::mp_comm_similar = 2
 
integer, parameter, public message_passing::mp_comm_unequal = 3
 
integer, parameter, public message_passing::mp_comm_compare_default = -1
 
logical, save, public message_passing::mp_collect_timings = .FALSE.
 

Macro Definition Documentation

◆ MPI_DATA_TYPE

#define MPI_DATA_TYPE   INTEGER

◆ MPI_COMM_TYPE

#define MPI_COMM_TYPE   INTEGER

◆ MPI_REQUEST_TYPE

#define MPI_REQUEST_TYPE   INTEGER

◆ MPI_WIN_TYPE

#define MPI_WIN_TYPE   INTEGER

◆ MPI_FILE_TYPE

#define MPI_FILE_TYPE   INTEGER

◆ MPI_INFO_TYPE

#define MPI_INFO_TYPE   INTEGER

◆ MPI_STATUS_TYPE

#define MPI_STATUS_TYPE   INTEGER, DIMENSION(MPI_STATUS_SIZE)

◆ MPI_GROUP_TYPE

#define MPI_GROUP_TYPE   INTEGER

◆ MPI_STATUS_EXTRACT

#define MPI_STATUS_EXTRACT (   X)    (X)

◆ MPI_GET_COMP

#define MPI_GET_COMP