<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I am looking at allgatherv.c from:<br><br><a href="http://git.mpich.org/mpich.git/tree/HEAD:/src/mpi/coll">git.mpich.org/mpich.git/tree/HEAD:/src/mpi/coll</a><br><br></div>It says the following:<br><br></div>"For short or medium-size messages and power-of-two no. of processes,<br></div>we use the recursive doubling algorithm.<br>...<br></div>For long messages or medium-size messages and non-power-of-two<br></div>no. of processes, we use a ring algorithm.<br>..."<br><br></div>Could someone please tell me what algorithm is used when we have "long messages and power-of-two no. of processes"? Thanks a lot!<br><br></div>Best,<br></div>Jen<br></div>