[Mpi-forum] Compile problems with examples in MPI Standard

Bronis R. de Supinski bronis at llnl.gov
Wed Jul 25 12:34:35 CDT 2012


Rolf:

You misstated Bill's preference. It should be:

- Bill's preference            (..., char ***argv

Bronis


On Wed, 25 Jul 2012, Rolf Rabenseifner wrote:

> I'm no specialist on this, but I want that you look at:
>
> - MPI-2.2 MPI_INIT       (..., char ***argv
>           MPI_INIT_THREAD(..., char *((*argv)[])
> - Bill's preference            char (*(*(argv_p[])))
> - current MPI-3.0 (r1486)
>   MPI_INIT and MPI_INI_THREAD  char *((*argv)[])
>
> I would say, if there is no guaranteed backward compatible
> change, I would prefere to stay with MPI-2.2 declarations
> as they are.
>
> This is only a formal answer after detecting that
> Bill's position is not identical to one of
> the existing solutions.
>
> Rolf
>
>
> ----- Original Message -----
>> From: "William Gropp" <wgropp at illinois.edu>
>> To: "Main MPI Forum mailing list" <mpi-forum at lists.mpi-forum.org>
>> Sent: Wednesday, July 25, 2012 7:08:04 PM
>> Subject: Re: [Mpi-forum] Compile problems with examples in MPI Standard
>> We need to make an explicit decision on this. Shall we change the
>> second argument of MPI_Init and MPI_Init_thread to be char *** ?
>>
>> Bill
>>
>> William Gropp
>> Director, Parallel Computing Institute
>> Deputy Director for Research
>> Institute for Advanced Computing Applications and Technologies
>> Paul and Cynthia Saylor Professor of Computer Science
>> University of Illinois Urbana-Champaign
>>
>>
>>
>> On Jul 24, 2012, at 11:42 AM, Jeff Squyres wrote:
>>
>>> On Jul 24, 2012, at 12:21 PM, William Gropp wrote:
>>>
>>>> Clearly, we need to change the prototype for MPI_Init and
>>>> MPI_Init_thread. The best choice is probably back to the original:
>>>>
>>>> char ***argv_p
>>>>
>>>> since that's what it is (complete with a rationale for why it isn't
>>>> what we're currently using). I prefer this to the char
>>>> (*(*(argv_p[]))), ...
>>>
>>> Oh the irony!! :-)
>>>
>>> --
>>> 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
>>
>>
>> _______________________________________________
>> mpi-forum mailing list
>> mpi-forum at lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
>
> -- 
> Dr. Rolf Rabenseifner . . . . . . . . . .. email rabenseifner at hlrs.de
> High Performance Computing Center (HLRS) . phone ++49(0)711/685-65530
> University of Stuttgart . . . . . . . . .. fax ++49(0)711 / 685-65832
> Head of Dpmt Parallel Computing . . . www.hlrs.de/people/rabenseifner
> Nobelstr. 19, D-70550 Stuttgart, Germany . (Office: Allmandring 30)
> _______________________________________________
> mpi-forum mailing list
> mpi-forum at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
>



More information about the mpi-forum mailing list