Just to clarify.  Jeff and I believe the spec is "icky" (Jeff's words not mine :-)  ).  There may be ways to fix make it better in MPI-3.  I'll think about it and send out an email later to see if anyone has ideas on how to improve it.<div>
<br></div><div>-craig<br><br><div class="gmail_quote">On Tue, May 25, 2010 at 2:41 PM, Jeff Squyres <span dir="ltr"><<a href="mailto:jsquyres@cisco.com">jsquyres@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On May 25, 2010, at 4:23 PM, Rolf Rabenseifner wrote:<br>
<br>
> MPI-2.2, p310:18-25 defines:<br>
><br>
> "The argv argument argv is an array of strings containing arguments that are passed to<br>
> the program. The first element of argv is the first argument passed to command, not, as<br>
> is conventional in some contexts, the command itself. The argument list is terminated by<br>
> NULL in C and C++ and an empty string in Fortran.<br>
<br>
</div>I mis-read this last line when I read it -- now I understand what Rolf is saying (and, in fact, it's exactly what someone said earlier that the spec would need to be right).<br>
<br>
Thanks Rolf!<br>
<div class="im"><br>
> The code fragment below is wrong because it does<br>
> try to detect an overall second_dim_size instead of individual<br>
> second_dim_size(i) for i=1,count.<br>
<br>
</div>Also a good point -- in OMPI, we assume that all the argv arrays will have the same number of tokens for each command.  But this is not necessarily the case.  I'll fix.<br>
<div><div></div><div class="h5"><br>
Thanks!<br>
<br>
--<br>
Jeff Squyres<br>
<a href="mailto:jsquyres@cisco.com">jsquyres@cisco.com</a><br>
For corporate legal information go to:<br>
<a href="http://www.cisco.com/web/about/doing_business/legal/cri/" target="_blank">http://www.cisco.com/web/about/doing_business/legal/cri/</a><br>
<br>
<br>
_______________________________________________<br>
mpi3-fortran mailing list<br>
<a href="mailto:mpi3-fortran@lists.mpi-forum.org">mpi3-fortran@lists.mpi-forum.org</a><br>
<a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-fortran" target="_blank">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-fortran</a><br>
</div></div></blockquote></div><br></div>