NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links


mpi_alm2map_slave


This subroutine complements the master routine mpi_alm2map, 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_alm2map_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_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_slave.

alm_tools
module


RELATED ROUTINES

This section lists the routines related to mpi_alm2map_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_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

Eric Hivon 2010-06-18
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650