[petsc-dev] Compliant C89

Jed Brown jedbrown at mcs.anl.gov
Tue Jan 15 17:38:12 CST 2013


On Mon, Jan 14, 2013 at 4:34 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> Added 2 different builds for these options.
>
>
> https://bitbucket.org/petsc/petsc-dev/commits/ea7d7e14f0425f98ed345b1490243b7c
>
> I've enabled --with-64-bit-indices with metis/parmetis/pastix etc that
> are supporsed to work with it - but the builds are failing.
>

It looks like the C89 build worked fine.

I don't believe that PT-Scotch works with 64-bit.

$ grep 'typedef.*SCOTCH_Num' scotch_5.1.12_esmumps/**/*.h
scotch_5.1.12_esmumps/include/ptscotch.h:typedef int32_t SCOTCH_Num;
scotch_5.1.12_esmumps/src/libscotch/library.h:typedef DUMMYINT SCOTCH_Num;
scotch_5.1.12_esmumps/src/libscotch/scotch.h:typedef int32_t SCOTCH_Num;

It looks like METIS_USE_LONGINDEX is not defined anywhere in the build,
leading to that problem.

I don't know what's going on with PaStiX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130115/268bffd4/attachment.html>


More information about the petsc-dev mailing list