Building with ParMETIS 3.2 fails

Bug #1072704 reported by Johannes Ring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Fix Released
Undecided
Johannes Ring

Bug Description

Building with ParMETIS 3.2 has been failing since revision 7008:

revno: 7008 [merge]
committer: Garth N. Wells <email address hidden>
branch nick: wells
timestamp: Wed 2012-10-17 09:27:33 +0100
message:
  Merge with trunk
    ------------------------------------------------------------
    revno: 7005.1.1
    committer: Garth N. Wells <email address hidden>
    branch nick: wells
    timestamp: Tue 2012-10-16 11:56:48 +0100
    message:
      Split ParMETIS partitioning into two phases (graph building + graph partitioning)

Error message:

[ 34%] Building CXX object dolfin/CMakeFiles/dolfin.dir/graph/ParMETIS.cpp.o
../../dolfin/graph/ParMETIS.cpp: In static member function 'static void dolfin::ParMETIS::compute_partition(std::vector<unsigned int, std::allocator<unsigned int> >&, const dolfin::LocalMeshData&)':
../../dolfin/graph/ParMETIS.cpp:123: error: 'idx_t' was not declared in this scope
../../dolfin/graph/ParMETIS.cpp:123: error: 'xadj' was not declared in this scope
../../dolfin/graph/ParMETIS.cpp:124: error: 'adjncy' was not declared in this scope
../../dolfin/graph/ParMETIS.cpp:148: error: 'METIS_Free' was not declared in this scope
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/graph/ParMETIS.cpp.o] Error 1

If this won't be fixed, we should change the minimum supported version of ParMETIS (in main CMakeLists.txt).

Related branches

Revision history for this message
Garth Wells (garth-wells) wrote :

I suggest that we move to ParMETIS 4.0.2.

Revision history for this message
Johannes Ring (johannr) wrote :

OK. ParMETIS >= 4.0.2 is now required.

Changed in dolfin:
status: New → Fix Committed
milestone: none → 1.1.0
assignee: nobody → Johannes Ring (johannr)
Changed in dolfin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.