Bug#612606: SCOTCH_PTSCOTCH not defined in ptscotch.h

Johannes Ring johannr at simula.no
Wed Feb 9 15:39:13 UTC 2011


On Wed, Feb 9, 2011 at 4:28 PM, trophime
<christophe.trophime at lncmi.cnrs.fr> wrote:
> On Wed, 2011-02-09 at 15:56 +0100, Johannes Ring wrote:
>> Package: libptscotch-dev
>> Version: 5.1.11.dfsg-3
>>
>> Hi,
>>
>> The file /usr/include/scotch/ptscotch.h does not define
>> SCOTCH_PTSCOTCH as it should. When I build SCOTCH and PT-SCOTCH
>> manually I see the following in ptscotch.h:
>>
>>   #ifndef SCOTCH_PTSCOTCH
>>   #define SCOTCH_PTSCOTCH
>>   #endif /* SCOTCH_PTSCOTCH */
>>
>> while the ptscotch.h in the libptscotch-dev package contains this:
>>
>>   #ifndef SCOTCH_PTSCOTCH
>>   #define SCOTCH_SEQSCOTCH
>>   #endif /* SCOTCH_PTSCOTCH */
>>
>> As a side effect this now makes DOLFIN FTBFS (#612602).
>
> As a temporary work-around does it help to add -DSCOTCH_PTSCOTCH flag to
> dolfin compilation options?

Yes, that would make it work but I believe that this should be fixed
in the libptscotch-dev package. Besides, there are other issues with
PT-SCOTCH in Debian that makes it unusable. I'm filing a separate bug
report for this now.

Best regards,

Johannes





More information about the debian-science-maintainers mailing list