(git:6a2e663)
swarm_mpi Module Reference

Handles the MPI communication of the swarm framework. More...

Functions/Subroutines

subroutine, public swarm_mpi_init (swarm_mpi, world_para_env, root_section, n_workers, worker_id, iw)
 Initialize MPI communicators for a swarm run. More...
 
subroutine, public swarm_mpi_finalize (swarm_mpi, root_section)
 Finalizes the MPI communicators of a swarm run. More...
 
subroutine, public swarm_mpi_send_report (swarm_mpi, report)
 Sends a report via MPI. More...
 
subroutine, public swarm_mpi_recv_report (swarm_mpi, report)
 Receives a report via MPI. More...
 
subroutine, public swarm_mpi_send_command (swarm_mpi, cmd)
 Sends a command via MPI. More...
 
subroutine, public swarm_mpi_recv_command (swarm_mpi, cmd)
 Receives a command via MPI and broadcasts it within a worker. More...
 

Detailed Description

Handles the MPI communication of the swarm framework.

Author
Ole Schuett

Function/Subroutine Documentation

◆ swarm_mpi_init()

subroutine, public swarm_mpi::swarm_mpi_init ( type(swarm_mpi_type)  swarm_mpi,
type(mp_para_env_type), pointer  world_para_env,
type(section_vals_type), pointer  root_section,
integer, intent(in)  n_workers,
integer, intent(out)  worker_id,
integer, intent(in)  iw 
)

Initialize MPI communicators for a swarm run.

Parameters
swarm_mpi...
world_para_env...
root_section...
n_workers...
worker_id...
iw...
Author
Ole Schuett

Definition at line 69 of file swarm_mpi.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swarm_mpi_finalize()

subroutine, public swarm_mpi::swarm_mpi_finalize ( type(swarm_mpi_type)  swarm_mpi,
type(section_vals_type), pointer  root_section 
)

Finalizes the MPI communicators of a swarm run.

Parameters
swarm_mpi...
root_section...
Author
Ole Schuett

Definition at line 268 of file swarm_mpi.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swarm_mpi_send_report()

subroutine, public swarm_mpi::swarm_mpi_send_report ( type(swarm_mpi_type)  swarm_mpi,
type(swarm_message_type)  report 
)

Sends a report via MPI.

Parameters
swarm_mpi...
report...
Author
Ole Schuett

Definition at line 323 of file swarm_mpi.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swarm_mpi_recv_report()

subroutine, public swarm_mpi::swarm_mpi_recv_report ( type(swarm_mpi_type)  swarm_mpi,
type(swarm_message_type), intent(out)  report 
)

Receives a report via MPI.

Parameters
swarm_mpi...
report...
Author
Ole Schuett

Definition at line 345 of file swarm_mpi.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swarm_mpi_send_command()

subroutine, public swarm_mpi::swarm_mpi_send_command ( type(swarm_mpi_type)  swarm_mpi,
type(swarm_message_type)  cmd 
)

Sends a command via MPI.

Parameters
swarm_mpi...
cmd...
Author
Ole Schuett

Definition at line 364 of file swarm_mpi.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swarm_mpi_recv_command()

subroutine, public swarm_mpi::swarm_mpi_recv_command ( type(swarm_mpi_type)  swarm_mpi,
type(swarm_message_type), intent(out)  cmd 
)

Receives a command via MPI and broadcasts it within a worker.

Parameters
swarm_mpi...
cmd...
Author
Ole Schuett

Definition at line 384 of file swarm_mpi.F.

Here is the call graph for this function:
Here is the caller graph for this function: