10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-09-27 12:00:56 +02:00
quantum_package/docs/source/modules/mpi.rst

131 lines
1.6 KiB
ReStructuredText
Raw Normal View History

2019-01-16 11:47:09 +01:00
.. _mpi:
.. program:: mpi
.. default-role:: option
2019-01-05 01:51:21 +01:00
===
mpi
===
Contains all the functions and providers for parallelization with |MPI|.
2019-01-16 11:47:09 +01:00
Providers
---------
2019-01-05 01:51:21 +01:00
.. c:var:: mpi_initialized
.. code:: text
logical :: mpi_initialized
File: :file:`mpi.irp.f`
Always true. Initialized MPI
2019-01-16 11:47:09 +01:00
2019-01-05 01:51:21 +01:00
.. c:var:: mpi_master
.. code:: text
logical :: mpi_master
File: :file:`mpi.irp.f`
If true, rank is zero
2019-01-16 11:47:09 +01:00
2019-01-05 01:51:21 +01:00
.. c:var:: mpi_rank
.. code:: text
integer :: mpi_rank
integer :: mpi_size
File: :file:`mpi.irp.f`
Rank of MPI process and number of MPI processes
2019-01-16 11:47:09 +01:00
2019-01-05 01:51:21 +01:00
.. c:var:: mpi_size
.. code:: text
integer :: mpi_rank
integer :: mpi_size
File: :file:`mpi.irp.f`
Rank of MPI process and number of MPI processes
2019-01-16 11:47:09 +01:00
Subroutines / functions
-----------------------
2019-01-05 01:51:21 +01:00
.. c:function:: broadcast_chunks_double
.. code:: text
subroutine broadcast_chunks_double(A, LDA)
File: :file:`mpi.irp.f_template_97`
Broadcast with chunks of ~2GB
2019-01-16 11:47:09 +01:00
2019-01-05 01:51:21 +01:00
.. c:function:: broadcast_chunks_integer
.. code:: text
subroutine broadcast_chunks_integer(A, LDA)
File: :file:`mpi.irp.f_template_97`
Broadcast with chunks of ~2GB
2019-01-16 11:47:09 +01:00
2019-01-05 01:51:21 +01:00
.. c:function:: broadcast_chunks_integer8
.. code:: text
subroutine broadcast_chunks_integer8(A, LDA)
File: :file:`mpi.irp.f_template_97`
Broadcast with chunks of ~2GB
2019-01-16 11:47:09 +01:00
2019-01-05 01:51:21 +01:00
.. c:function:: mpi_print
.. code:: text
subroutine mpi_print(string)
File: :file:`mpi.irp.f`
Print string to stdout if the MPI rank is zero.