Re: [Mpi-forum] Compile problems with examples in MPI Standard
24 Jul
2012
24 Jul
'12
11:30 a.m.
On Jul 24 2012, 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
Agreed.
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[]))), since the usual inside-out reading of that is "argv_p is an array of pointers to pointers", which isn't the intent, though it might make the compiler happy.
Agreed. 'char (*(*(argv_p[])))' is quite simply perverse and, while equivalent, will merely confuse people :-) Regards, Nick Maclaren.
5113
Age (days ago)
5113
Last active (days ago)
0 comments
1 participants
participants (1)
-
N.M. Maclaren