Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
dune-istl
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 25
    • Merge Requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Core Modules
  • dune-istl
  • Issues
  • #45

Closed
Open
Created Jan 08, 2018 by Simon Praetorius@simon.praetoriusOwner

ParMETIS with `real_t != float` not supported

When compiling dune-istl with ParMETIS, I get the error

dune/istl/repartition.hh:1381:27: error: cannot convert 'float*' to 'real_t* {aka double*}' 
  for argument '10' to 'int ParMETIS_V3_PartKway'

Explanation: ParMETIS was compiled with double precision instead of single precision

Difficulty: I think, old versions of ParMETIS do not have a #define real_t ...

Solution: Use real_t* instead of float*, with additionally something like

#ifndef REALTYPEWIDTH
#define real_t float
#endif

This issue is relevant for the Dune 2.6 release.

Assignee
Assign to
DUNE 2.6.0
Milestone
DUNE 2.6.0
Assign milestone
Time tracking
Jan 19, 2018
Due date
Jan 19, 2018