[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mpi-21] MPI_Pcontrol



Nice work there.  

This appears on both page 203 (section 8.3.1) and page 221 (Appendix A.8) in the MPI 1.1 document. 

I tried to search for const in the PDF version of the document and found an example in the same chapter, page 204, that has const int count. Not sure how the const made it's way there also.

I guess these need to be added to the errata. 

Puri

----- Original Message -----
From: "Erez Haba" <erezh@xxxxxxxxxxxxx>
To: mpi-21@xxxxxxxxxxxxx
Sent: Thursday, January 10, 2008 6:58:37 PM (GMT-0600) America/Chicago
Subject: [mpi-21] MPI_Pcontrol



What was the idea behind defining the C interface for MPI_Pcontrol as, 

MPI_Pcontrol( const int leve l , â ) 

Adding the const was a joke, right? Itâs completely meaningless. 

Btw: all those that are worried about compilers compliant with the const keyword, here you go. We have const in the mpi.h header from MPI v1. The mpi C/C++ compilers are able to handle that keyword. 

Thanks, 
.Erez