[MPICH] Compiling mpich with a new component

Krishna Chaitanya kris.c1986 at gmail.com
Thu Jan 24 23:34:18 CST 2008


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?

On Jan 24, 2008 2:00 PM, Dave Goodell <goodell at mcs.anl.gov> wrote:

> Make sure that you run configure first.  There are a number of files
> of the form "FOO.BAR.in" that are used by configure to create
> "FOO.BAR".  "mpid_thread.h" is an example of one of these files.
>
> For what it's worth, the mpich2 build system is somewhat complicated,
> so you should be prepared to spend quite a bit of time poking around
> with it in order to be able to add your own files.
>
> -Dave
>
> On Jan 24, 2008, at 12:13 PM, Krishna Chaitanya wrote:
>
> > Hi,
> >       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.  I am faced with
> > many errors relating to the files in the include directory. For
> > example, in the file mpiimplthread.h,
> >
> > 20 /*#if (MPICH_THREAD_LEVEL >= MPI_THREAD_SERIALIZED)
> >  21 #include "mpid_thread.h"
> >  22 #endif
> >
> >      The if test succeeds and the compiler complains that there is
> > no file of that name.
> >
> > or
> >
> > in the file mpiimpl.h,
> >
> >  99 #include "mpidpre.h"
> >
> >        Again, there is no file with that name.
> >        And there are also many errors of the type : error: expected
> > specifier-qualifier-list before " ... " . Could someone shed some
> > light on these?
> >
> > Thanks,
> > Krishna Chaitanya K,
> > National Institute of Technology,Karnataka (NITK),
> > India
> >
> >
> > --
> > In the middle of difficulty, lies opportunity
>
>


-- 
In the middle of difficulty, lies opportunity
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080125/c00dc84d/attachment.htm>


More information about the mpich-discuss mailing list