src/mpi.f90 File Reference

The pmc_mpi module. More...

Namespaces

namespace  pmc_mpi
 

Wrapper functions for MPI.


Functions

logical pmc_mpi::pmc_mpi_support ()
 Whether MPI support is compiled in.
subroutine pmc_mpi::pmc_mpi_check_ierr (ierr)
 Dies if ierr is not ok.
subroutine pmc_mpi::pmc_mpi_init ()
 Initialize MPI.
subroutine pmc_mpi::pmc_mpi_abort (status)
 Abort the program.
subroutine pmc_mpi::pmc_mpi_finalize ()
 Shut down MPI.
subroutine pmc_mpi::pmc_mpi_barrier ()
 Synchronize all processors.
integer pmc_mpi::pmc_mpi_rank ()
 Returns the rank of the current process.
integer pmc_mpi::pmc_mpi_size ()
 Returns the total number of processes.
subroutine pmc_mpi::pmc_mpi_bcast_integer (val)
 Broadcast the given value from process 0 to all other processes.
subroutine pmc_mpi::pmc_mpi_bcast_string (val)
 Broadcast the given value from process 0 to all other processes.
subroutine pmc_mpi::pmc_mpi_bcast_packed (val)
 Broadcast the given value from process 0 to all other processes.
integer pmc_mpi::pmc_mpi_pack_size_integer (val)
 Determines the number of bytes required to pack the given value.
integer pmc_mpi::pmc_mpi_pack_size_real (val)
 Determines the number of bytes required to pack the given value.
integer pmc_mpi::pmc_mpi_pack_size_string (val)
 Determines the number of bytes required to pack the given value.
integer pmc_mpi::pmc_mpi_pack_size_logical (val)
 Determines the number of bytes required to pack the given value.
integer pmc_mpi::pmc_mpi_pack_size_complex (val)
 Determines the number of bytes required to pack the given value.
integer pmc_mpi::pmc_mpi_pack_size_integer_array (val)
 Determines the number of bytes required to pack the given value.
integer pmc_mpi::pmc_mpi_pack_size_real_array (val)
 Determines the number of bytes required to pack the given value.
integer pmc_mpi::pmc_mpi_pack_size_string_array (val)
 Determines the number of bytes required to pack the given value.
integer pmc_mpi::pmc_mpi_pack_size_real_array_2d (val)
 Determines the number of bytes required to pack the given value.
subroutine pmc_mpi::pmc_mpi_pack_integer (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_pack_real (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_pack_string (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_pack_logical (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_pack_complex (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_pack_integer_array (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_pack_real_array (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_pack_string_array (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_pack_real_array_2d (buffer, position, val)
 Packs the given value into the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_unpack_integer (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_unpack_real (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_unpack_string (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_unpack_logical (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_unpack_complex (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_unpack_integer_array (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_unpack_real_array (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_unpack_string_array (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_unpack_real_array_2d (buffer, position, val)
 Unpacks the given value from the buffer, advancing position.
subroutine pmc_mpi::pmc_mpi_reduce_avg_real (val, val_avg)
 Computes the average of val across all processes, storing the result in val_avg on the root process.
subroutine pmc_mpi::pmc_mpi_reduce_avg_real_array (val, val_avg)
 Computes the average of val across all processes, storing the result in val_avg on the root process.
subroutine pmc_mpi::pmc_mpi_reduce_avg_real_array_2d (val, val_avg)
 Computes the average of val across all processes, storing the result in val_avg on the root process.
subroutine pmc_mpi::pmc_mpi_allreduce_average_real (val, val_avg)
 Computes the average of val across all processes, storing the result in val_avg on the root process.
subroutine pmc_mpi::pmc_mpi_allreduce_average_real_array (val, val_avg)
 Computes the average of val across all processes, storing the result in val_avg on the root process.

Detailed Description

The pmc_mpi module.


Generated on 29 Mar 2010 for PartMC by  doxygen 1.6.1