<!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.16587" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=866551717-25012008><FONT face=Arial
color=#0000ff size=2>Your component probably includes some .h file that in turn
includes other .h files. If the include paths are not specified correctly during
the build, it will complain. You can try including your component in say the
ch3/sock/src directory and use the Makefile in there to build your code as well
and see if it works. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=866551717-25012008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=866551717-25012008><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>Krishna
Chaitanya<BR><B>Sent:</B> Thursday, January 24, 2008 11:34 PM<BR><B>To:</B>
Dave Goodell<BR><B>Cc:</B> mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> Re:
[MPICH] Compiling mpich with a new component<BR></FONT><BR></DIV>
<DIV></DIV>There are still references to such non-existent .h files even after
configure has returned successfully. I find it had to understand how such
errors are not reported when I detach my component. Does it mean that they are
not actually necessary? <BR><BR>
<DIV class=gmail_quote>On Jan 24, 2008 2:00 PM, Dave Goodell <<A
href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</A>> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Make
sure that you run configure first. There are a number of files<BR>of
the form "<A href="http://FOO.BAR.in" target=_blank>FOO.BAR.in</A>" that are
used by configure to create<BR>"FOO.BAR". "mpid_thread.h" is an
example of one of these files. <BR><BR>For what it's worth, the mpich2 build
system is somewhat complicated,<BR>so you should be prepared to spend quite
a bit of time poking around<BR>with it in order to be able to add your own
files.<BR><FONT color=#888888><BR>-Dave<BR></FONT>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c><BR>On Jan 24, 2008, at 12:13 PM, Krishna Chaitanya
wrote:<BR><BR>> Hi,<BR>> I have been working on a
small profiling module and I wish to<BR>> test it out by integrating it
while building mpich. I am yet to <BR>> modify the makefiles, I tried to
compile the new files directly, by<BR>> making sure that I have specified
all the paths. I am faced with<BR>> many errors relating to the
files in the include directory. For <BR>> example, in the file
mpiimplthread.h,<BR>><BR>> 20 /*#if (MPICH_THREAD_LEVEL >=
MPI_THREAD_SERIALIZED)<BR>> 21 #include "mpid_thread.h"<BR>>
22 #endif<BR>><BR>> The if test succeeds and
the compiler complains that there is <BR>> no file of that
name.<BR>><BR>> or<BR>><BR>> in the file
mpiimpl.h,<BR>><BR>> 99 #include "mpidpre.h"<BR>><BR>>
Again, there is no file with that name.<BR>>
And there are also many errors of the type :
error: expected <BR>> specifier-qualifier-list before " ... " . Could
someone shed some<BR>> light on these?<BR>><BR>> Thanks,<BR>>
Krishna Chaitanya K,<BR>> National Institute of Technology,Karnataka
(NITK),<BR>> India<BR>><BR>><BR>> --<BR>> In the middle of
difficulty, lies opportunity<BR><BR></DIV></DIV></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>In the middle of difficulty, lies opportunity
</BLOCKQUOTE></BODY></HTML>