![]() |
(git:b77b4be)
|
Handles the MPI communication of the swarm framework. More...
Data Types | |
type | swarm_mpi_type |
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. | |
subroutine, public | swarm_mpi_finalize (swarm_mpi, root_section) |
Finalizes the MPI communicators of a swarm run. | |
subroutine, public | swarm_mpi_send_report (swarm_mpi, report) |
Sends a report via MPI. | |
subroutine, public | swarm_mpi_recv_report (swarm_mpi, report) |
Receives a report via MPI. | |
subroutine, public | swarm_mpi_send_command (swarm_mpi, cmd) |
Sends a command via MPI. | |
subroutine, public | swarm_mpi_recv_command (swarm_mpi, cmd) |
Receives a command via MPI and broadcasts it within a worker. | |
Handles the MPI communication of the swarm framework.
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.
swarm_mpi | ... |
world_para_env | ... |
root_section | ... |
n_workers | ... |
worker_id | ... |
iw | ... |
Definition at line 69 of file swarm_mpi.F.
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.
swarm_mpi | ... |
root_section | ... |
Definition at line 268 of file swarm_mpi.F.
subroutine, public swarm_mpi::swarm_mpi_send_report | ( | type(swarm_mpi_type) | swarm_mpi, |
type(swarm_message_type) | report | ||
) |
Sends a report via MPI.
swarm_mpi | ... |
report | ... |
Definition at line 323 of file swarm_mpi.F.
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.
swarm_mpi | ... |
report | ... |
Definition at line 345 of file swarm_mpi.F.
subroutine, public swarm_mpi::swarm_mpi_send_command | ( | type(swarm_mpi_type) | swarm_mpi, |
type(swarm_message_type) | cmd | ||
) |
Sends a command via MPI.
swarm_mpi | ... |
cmd | ... |
Definition at line 364 of file swarm_mpi.F.
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.
swarm_mpi | ... |
cmd | ... |
Definition at line 384 of file swarm_mpi.F.