[Mpi-forum] MPI_UNDEFINED

William Gropp wgropp at illinois.edu
Fri Feb 4 14:39:13 CST 2011


This should be a proper ticket - its not "minor" in the way we define  
minor.

Bill

On Feb 4, 2011, at 2:14 PM, Jeff Squyres wrote:

> Is this a "minor" issue such that it could be done in 1 reading, or  
> should I do a proper ticket + formal reading + 2 votes?
>
> (either is fine with me; I'm just asking for clarification)
>
>
> On Feb 4, 2011, at 3:07 PM, William Gropp wrote:
>
>> I recommend a change to the standard - I'm sure the Forum intended  
>> integer constants to be valid here.
>>
>> Bill
>>
>> On Feb 4, 2011, at 1:18 PM, Jeff Squyres wrote:
>>
>>> Question about MPI_UNDEFINED (and all the constants in the top  
>>> table in MPI-2.2 p515): its type in C is listed as (const int) or  
>>> unnamed (enum).  But in Open MPI, we have this value in mpi.h as:
>>>
>>>  #define MPI_UNDEFINED          -32766
>>>
>>> So does MPICH2.
>>>
>>> A #define of an integer constant will work just fine with other  
>>> const int's, but it technically isn't a const int or unnamed enum.
>>>
>>> Are we wrong?  Or should I propose a ticket to change the wording  
>>> of this table from:
>>>
>>>  C type: const int (or unnamed enum)
>>>
>>> to
>>>
>>>  C type: const int, unnamed enum, or integer constant
>>>
>>> (the same issue doesn't exist for the C++ constants -- even though  
>>> the point is moot with them, since they're deprecated -- because  
>>> they're in the MPI:: namespace, and therefore really should be  
>>> const int's or unnamed enum's)
>>>
>>> -- 
>>> Jeff Squyres
>>> jsquyres at cisco.com
>>> For corporate legal information go to:
>>> http://www.cisco.com/web/about/doing_business/legal/cri/
>>>
>>>
>>> _______________________________________________
>>> mpi-forum mailing list
>>> mpi-forum at lists.mpi-forum.org
>>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
>>
>> William Gropp
>> Deputy Director for Research
>> Institute for Advanced Computing Applications and Technologies
>> Paul and Cynthia Saylor Professor of Computer Science
>> University of Illinois Urbana-Champaign
>>
>>
>>
>>
>> _______________________________________________
>> mpi-forum mailing list
>> mpi-forum at lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
>
>
> -- 
> Jeff Squyres
> jsquyres at cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> _______________________________________________
> mpi-forum mailing list
> mpi-forum at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum

William Gropp
Deputy Director for Research
Institute for Advanced Computing Applications and Technologies
Paul and Cynthia Saylor Professor of Computer Science
University of Illinois Urbana-Champaign







More information about the mpi-forum mailing list