[MPICH] Compiling mpich with a new component
Dave Goodell
goodell at mcs.anl.gov
Thu Jan 24 13:00:54 CST 2008
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
More information about the mpich-discuss
mailing list