mpi_map2alm_slave

This subroutine complements the master routine mpi_map2alm, and should be run by all slaves in the current MPI communicator. It is run without arguments, but after an appropriate call to initialize_mpi_alm_tools.

Location in HEALPix directory tree: src/f90/mod/mpi_alm_tools.f90 


FORMAT

call mpi_map2alm_slave( )


ARGUMENTS

None.


EXAMPLE:

call mpi_comm_rank(comm, myid, ierr)
if (myid == root) then
call mpi_initialize_alm_tools(comm, nsmax, nlmax, nmmax,
zbounds,polarization, precompute_plms)
call mpi_map2alm(map, alms)
else
call mpi_initialize_alm_tools(comm)
call mpi_map2alm_slave
end
call mpi_cleanup_alm_tools
This example 1) initializes the mpi_alm_tools module (i.e., allocates internal arrays and defines required parameters), 2) executes a parallel map2alm operation, and 3) frees the previously allocated memory.


MODULES & ROUTINES

This section lists the modules and routines used by mpi_map2alm_slave.

alm_tools
module


RELATED ROUTINES

This section lists the routines related to mpi_map2alm_slave

mpi_cleanup_alm_tools
Frees memory that is allocated by the current routine.
mpi_initialize_alm_tools
Allocates memory and defines variables for the mpi_alm_tools module.
mpi_alm2map
Routine for executing a parallel inverse spherical harmonics transform (root processor interface)
mpi_alm2map_slave
Routine for executing a parallel inverse spherical harmonics transform (slave processor interface)
mpi_map2alm
Routine for executing a parallel spherical harmonics transform (root processor interface)
mpi_alm2map_simple
One-line interface to the parallel inverse spherical harmonics transform
mpi_map2alm_simple
One-line interface to the parallel spherical harmonics transform

Version 3.82, 2022-07-28