Hi,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have been working on a small profiling module and I wish to test it out by integrating it while building mpich. I am yet to modify the makefiles, I tried to compile the new files directly, by making sure that I have specified all the paths.&nbsp; I am faced with many errors relating to the files in the include directory. For example, in the file 
<span style="color: rgb(51, 51, 255);">mpiimplthread.h, </span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">20 /*#if (MPICH_THREAD_LEVEL &gt;= MPI_THREAD_SERIALIZED)
</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;21 #include &quot;mpid_thread.h&quot;</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;22 #endif</span>

<br><br> &nbsp;&nbsp;&nbsp;&nbsp; The if test succeeds and the compiler complains that there is no file of that name. <br><br>or <br><br>in the file <span style="color: rgb(51, 51, 255);">mpiimpl.h,</span><br style="color: rgb(51, 51, 255);">

<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;99 #include &quot;mpidpre.h&quot;</span><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Again, there is no file with that name.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; And there are also many errors of the type : error: expected specifier-qualifier-list before &quot; ... &quot; . Could someone shed some 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