[Mpi-comments] Bug in example 7.9 about neighbourhood collectives

William Gropp wgropp at illinois.edu
Tue Jan 26 08:41:11 CST 2016


Thanks, Dan.  Can you open an issue for this?
Bill

William Gropp
Director, Parallel Computing Institute
Thomas M. Siebel Chair in Computer Science
Chief Scientist, NCSA
University of Illinois Urbana-Champaign





On Jan 26, 2016, at 7:59 AM, Daniel Holmes <dholmes at epcc.ed.ac.uk> wrote:

> In Figure 7.2 (part of example 7.9, in section 7.6, page 330, line 18), the call to "MPI_DIMS_CREATE" is erroneous because the first parameter is given as "comm" rather than "comm_size". To pass "comm_size", the example would need an extra variable declaration and an extra line of code (between lines 17 and 18) that calls the "MPI_COMM_SIZE" function.
> 
> Cheers,
> Dan.
> 
> -- 
> Dan Holmes
> Applications Consultant in HPC Research
> EPCC, The University of Edinburgh
> James Clerk Maxwell Building
> The Kings Buildings
> Peter Guthrie Tait Road
> Edinburgh
> EH9 3FD
> T: +44(0)131 651 3465
> E: dholmes at epcc.ed.ac.uk
> 
> *Please consider the environment before printing this email.*
> 
> 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 
> _______________________________________________
> mpi-comments mailing list
> mpi-comments at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-comments




More information about the mpi-comments mailing list