[mpich-discuss] Compilation problem
Dave Goodell
goodell at mcs.anl.gov
Wed May 13 08:58:06 CDT 2009
You can try the attached patch out against trunk at r4546 if you need to
get unstuck right away. I'll put something along these lines into the
SVN trunk later today after a bit more testing and code review.
You can apply it from your mpich2 source directory with the command
"patch -p1 < path/to/dbg_printf_thread_fix.patch".
-Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbg_printf_thread_fix.patch
Type: application/octet-stream
Size: 5393 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090513/63b6398e/attachment.obj>
-------------- next part --------------
On May 13, 2009, at 7:54 AM, Dave Goodell wrote:
> Glancing at the code it looks like we are missing a check for
> HAVE_RUNTIME_THREADCHECK in that file, which is a bug. I'll work up
> a fix shortly.
>
> Thanks for the bug report,
> -Dave
>
> On May 13, 2009, at 3:41 AM, Fran?ois PELLEGRINI wrote:
>
>>
>> Hello all,
>>
>> When compiling build r4546 with the following configuration
>> line :
>>
>> ./configure CPPFLAGS='-I/usr/include/valgrind' --enable-error-
>> checking=all
>> --enable-error-messages=all --enable-g=all --enable-fast=defopt
>> --enable-debuginfo --enable-mpe --enable-threads=multiple
>> --with-thread-package=posix --disable-f77
>>
>> I get the following error :
>>
>> make[3]: Entering directory `/home/local/packages/mpich2-r4546/src/
>> util/dbg'
>> CC dbg_printf.c
>> CC timelimit.c
>> CC exit.c
>> dbg_printf.c: In function ?get_fp?:
>> dbg_printf.c:386: error: ?MPICH_ThreadInfo_t? has no member named
>> ?isThreaded?
>> dbg_printf.c: In function ?set_fp?:
>> dbg_printf.c:403: error: ?MPICH_ThreadInfo_t? has no member named
>> ?isThreaded?
>> make[3]: *** [dbg_printf.o] Error 1
>> make[3]: Leaving directory `/home/local/packages/mpich2-r4546/src/
>> util/dbg'
>> make[2]: *** [all-redirect] Error 2
>> make[2]: Leaving directory `/home/local/packages/mpich2-r4546/src/
>> util'
>> make[1]: *** [all-redirect] Error 2
>> make[1]: Leaving directory `/home/local/packages/mpich2-r4546/src'
>> make: *** [all-redirect] Error 2
>>
>> Did I do something wrong ?
>>
>> A+,
>>
>>
>> f.p.
>
More information about the mpich-discuss
mailing list