1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> 2 3<!--Converted with LaTeX2HTML 2018.3 (Released July 19, 2018) --> 4<HTML lang="EN"> 5<HEAD> 6<TITLE>mpi_alm_tools*</TITLE> 7<META NAME="description" CONTENT="mpi_alm_tools*"> 8<META NAME="keywords" CONTENT="subroutines"> 9<META NAME="resource-type" CONTENT="document"> 10<META NAME="distribution" CONTENT="global"> 11 12<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> 13<META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0"> 14<META NAME="Generator" CONTENT="LaTeX2HTML v2018.3"> 15 <link rel='apple-touch-icon' sizes='180x180' href='images/favicons/apple-touch-icon.png?v=2017'> 16 <link rel='icon' type='image/png' sizes='32x32' href='images/favicons/favicon-32x32.png?v=2017'> 17 <link rel='icon' type='image/png' sizes='16x16' href='images/favicons/favicon-16x16.png?v=2017'> 18 <link rel='manifest' href='images/favicons/manifest.json?v=2017'> 19 <link rel='mask-icon' href='images/favicons/safari-pinned-tab.svg?v=2017' color='#5bbad5'> 20 <link rel='shortcut icon' href='images/favicons/favicon.ico?v=2017'> 21 <meta name='apple-mobile-web-app-title' content='HEALPix'> 22 <meta name='application-name' content='HEALPix'> 23 <meta name='msapplication-config' content='images/favicons/browserconfig.xml?v=2017'> 24 <meta name='theme-color' content='#ffffff'> 25 26<LINK REL="STYLESHEET" HREF="subroutines.css"> 27 28<LINK REL="next" HREF="sub_mpi_alm2map.htm"> 29<LINK REL="previous" HREF="sub_merge_headers.htm"> 30<LINK REL="next" HREF="sub_mpi_alm2map.htm"> 31</HEAD> 32 33<body text="#000000" bgcolor="#FFFFFA"> 34 35<DIV CLASS="navigation"><!--Navigation Panel--> 36<A 37 HREF="sub_merge_headers.htm"> 38<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 39<A 40 HREF="sub_HEALPix_F90_subroutines.htm"> 41<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 42<A 43 HREF="sub_mpi_alm2map.htm"> 44<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 45<A ID="tex2html402" 46 HREF="sub_TABLE_CONTENTS.htm"> 47<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A> 48<BR> 49<B> Previous:</B> <A 50 HREF="sub_merge_headers.htm">merge_headers</A> 51 52<B>Up:</B> <A 53 HREF="sub_HEALPix_F90_subroutines.htm">HEALPix/F90 subroutines</A> 54 55<B> Next:</B> <A 56 HREF="sub_mpi_alm2map.htm">mpi_alm2map*</A> 57<B> Top:</B> <a href="main.htm">Main Page</a></DIV> 58<!--End of Navigation Panel--> 59 60<H1><A ID="SECTION5500"></A> 61<A ID="sub:mpi_alm_tools"></A> 62<BR> 63 64</H1> 65 66<P> 67<b><font size=+6><FONT COLOR="#CC0000">mpi_alm_tools*</FONT></font></b><hr> 68<H3>This module implements MPI parallelization of the alm2map and map2alm routines. 69It is not compiled by default during installation, but rather intended for 70users who need massive parallelization in their own programming. Typical 71applications are Monte Carlo simulations and Markov chain type 72analyses. 73<br><br>The routines can be called in two modes, either simple or 74advanced. The former mimics the interface of the standard routines, 75but with an additional MPI handle as a first argument, and is intended 76for applications which requires only one or a few transforms. The 77latter interface provides both more flexibility (in particular the 78option of pre-computation of the Legendre polynomials) and a simpler 79interface when multiple transforms are required. This interface is 80particularly well suited for Monte Carlo simulations and Markov chain 81type analyses. </H3> 82Location in HEALPix directory tree: <a href="https://sourceforge.net/p/healpix/code/1005/tree/trunk/src/f90/mod/mpi_alm_tools.f90"><b>src/f90/mod/mpi_alm_tools.f90</b></a> 83 84<P> 85<HR><H1>EXAMPLE:</H1> 86<tt><DL COMPACT><DT><DD><IMG WIDTH="14" HEIGHT="14" SRC="greenball.png" ALT="*"> 87 Simple one-line interfaces:<DL COMPACT><DT><DD><IMG WIDTH="14" HEIGHT="14" SRC="greenball.png" ALT="*"> 88 mpi_map2alm_simple<DT><DD><IMG WIDTH="14" HEIGHT="14" SRC="greenball.png" ALT="*"> 89 mpi_alm2map_simple</DL> 90<P> 91<DT><DD><IMG WIDTH="14" HEIGHT="14" SRC="greenball.png" ALT="*"> 92 Three-step advanced interfaces: 93<OL> 94<LI>Initialization: 95<BR> 96mpi_initialize_alm_tools 97</LI> 98<LI>Execution of spherical harmonics transforms <DL COMPACT><DT><DD><IMG WIDTH="14" HEIGHT="14" SRC="greenball.png" ALT="*"> 99 mpi_map2alm (root processor) <DT><DD><IMG WIDTH="14" HEIGHT="14" SRC="greenball.png" ALT="*"> 100 mpi_alm2map (root processor) <DT><DD><IMG WIDTH="14" HEIGHT="14" SRC="greenball.png" ALT="*"> 101 mpi_map2alm_slave (slave processor) <DT><DD><IMG WIDTH="14" HEIGHT="14" SRC="greenball.png" ALT="*"> 102 mpi_alm2map_slave (slave processor) </DL> 103</LI> 104<LI>Finalizing: 105<BR> 106mpi_cleanup_alm_tools 107</LI> 108</OL></DL></tt> 109 110<P> 111 112<P> 113 114 115<P> 116 117<P> 118 119<DIV CLASS="navigation"><HR> 120<!--Navigation Panel--> 121<A 122 HREF="sub_merge_headers.htm"> 123<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 124<A 125 HREF="sub_HEALPix_F90_subroutines.htm"> 126<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 127<A 128 HREF="sub_mpi_alm2map.htm"> 129<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 130<A ID="tex2html402" 131 HREF="sub_TABLE_CONTENTS.htm"> 132<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A> 133<BR> 134<B> Previous:</B> <A 135 HREF="sub_merge_headers.htm">merge_headers</A> 136 137<B>Up:</B> <A 138 HREF="sub_HEALPix_F90_subroutines.htm">HEALPix/F90 subroutines</A> 139 140<B> Next:</B> <A 141 HREF="sub_mpi_alm2map.htm">mpi_alm2map*</A> 142<B> Top:</B> <a href="main.htm">Main Page</a></DIV> 143<!--End of Navigation Panel--> 144<ADDRESS> 145Version 3.50, 2018-12-10 146</ADDRESS> 147</BODY> 148</HTML> 149