mpi_alm2map*

This subroutine implements MPI parallelization of the serial alm2map routine. It supports both temperature and polarization inputs in both single and double precision. It must only be run by the root node of the MPI communicator.

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


FORMAT

call mpi_alm2map*( alms, map )


ARGUMENTS

name & dimensionality kind in/out description
       
alms(1:nmaps,0:lmax,0:nmax) SPC or DPC IN Input alms. If nmaps=1, only temperature information is included; if nmaps=3, polarization information is included
map(0:npix,1:nmaps) SP or DP OUT Output map. nmaps must match that of the input alms array.


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_alm2map(alms, map)
else
call mpi_initialize_alm_tools(comm)
call mpi_alm2map_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 alm2map operation, and 3) frees the previously allocated memory.


MODULES & ROUTINES

This section lists the modules and routines used by mpi_alm2map*.

alm_tools
module


RELATED ROUTINES

This section lists the routines related to mpi_alm2map*

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_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_map2alm_slave
Routine for executing a parallel spherical harmonics transform (slave 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.83, 2024-11-13