mpi_map2alm*
This subroutine implements MPI parallelization of the serial map2alm
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_map2alm*(
map, alms
)
ARGUMENTS
name & dimensionality |
kind |
in/out |
description |
|
|
|
|
map(0:npix,1:nmaps) |
SP or DP |
IN |
map to analyse. If
nmaps=1, only temperature information is included; if nmaps=3,
polarization information is included |
alms(1:nmaps,0:lmax,0:nmax) |
SPC or DPC |
OUT |
output alms. nmaps must
equal that of the input map |
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*.
-
alm_tools
- module
RELATED ROUTINES
This section lists the routines related to mpi_map2alm*
-
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_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.82, 2022-07-28