Re: [Mpi3-tools] MPI handles interface
On Thu, 2009-04-16 at 17:31 -0400, Jeff Squyres wrote:
What about enums -- will those be problematic? I tended to prefer enums in most places (vs. #define's) because a debugger can show those value names (when debugging this software itself -- not necessarily when in general use by a debugger for an MPI job). If enums are going to be problematic, I can switch to #defines -- but it would be nice not to, if possible.
For reference the original code uses enums.
The communicator "query" functions that I created start around line 649:
http://www.open-mpi.org/hg/hgwebdir.cgi/jsquyres/mpi3-tools-handles/file/4c5...
Could I get some comments on the group as to the general style of what I did?
The general style looks OK to me, without digging too far however I'm concerned about the idea of the DLL allocating memory and then having the debugger free it, this seems like a recipe for disaster to me. I should be in the TelCon later all being well. Ashley Pittman.
participants (1)
-
Ashley Pittman