<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=386041419-29102007><FONT face=Arial
color=#0000ff size=2>1. They are listed in the MPIDI_CH3_Pkt_type enum in
src/mpid/ch3/include/mpidpkt.h and, as the comment in there says, a channel can
add more types.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=386041419-29102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=386041419-29102007><FONT face=Arial
color=#0000ff size=2>2. Not as such, unless you want to add something to the
MPID_MPI_FUNC_ENTER/EXIT macros.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=386041419-29102007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=386041419-29102007><FONT face=Arial
color=#0000ff size=2>Rajeev</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Ruini
Xue<BR><B>Sent:</B> Monday, October 29, 2007 8:24 AM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [MPICH] MPI message head
definiation<BR></FONT><BR></DIV>
<DIV></DIV>Hello,<BR><BR>I want to pack additional information into the MPI
message header (add a new field in the header struct). <BR>I went through the
MPICH code roughly and found that there are different header types for
different communication styles. ( e.g. for eager and for rndv). <BR><BR>I have
two question:<BR>1. <SPAN style="FONT-WEIGHT: bold">How many header types are
there and which .h files are they in?</SPAN><BR>2. <SPAN
style="FONT-WEIGHT: bold">Is there any hook or callback for each MPI API? (I
want to perform some additional work before and after the MPI functions)
<BR><BR></SPAN>Best<BR><BR>Andrew<BR><BR></BLOCKQUOTE></BODY></HTML>