#598 Alugriid header provides wrong declaration of Parmetis function
Metadata
Property | Value |
---|---|
Reported by | Markus Blatt (markus@dr-blatt.de) |
Reported at | Sep 18, 2009 12:04 |
Type | FAQ |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Robert K (robertk@posteo.org) |
Last edited at | Jan 18, 2010 07:57 |
Closed by | Robert K (robertk@posteo.org) |
Closed at | Jan 18, 2010 07:57 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | Fixed in Version 1.20 of ALUGrid. |
Description
the header include/parallel/parmetis.h provides a declaration of a parmetis function. Unfortunately (at least for ParMetis 3.1.1) the argument list is wrong!
If this header is needed it would be nice to correct this. The correct function is
void ParMETIS_V3_PartKway( idxtype *vtxdist, idxtype *xadj, idxtype *adjncy, idxtype *vwgt, idxtype *adjwgt, int *wgtflag, int *numflag, int *ncon, int *nparts, float *tpwgts, float *ubvec, int *options, int *edgecut, idxtype *part, MPI_Comm *comm);
This bug renders all programs relying on the parmetis interface incompatible with ALUGrid.