Skip to Content.
Sympa Menu

charm - RE: [charm] Charm 6.7.1 MetisLB bug

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

RE: [charm] Charm 6.7.1 MetisLB bug


Chronological Thread 
  • From: "Chandrasekar, Kavitha" <kchndrs2 AT illinois.edu>
  • To: Nels John Frazier <nfrazie1 AT uwyo.edu>, "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: RE: [charm] Charm 6.7.1 MetisLB bug
  • Date: Tue, 6 Dec 2016 04:16:18 +0000
  • Accept-language: en-US

Hi Nels,

Thanks for your fix related to the method calls to Metis library. I have submitted your patch to be merged, here: https://charm.cs.illinois.edu/gerrit/2024/

Thanks,
Kavitha


From: Nels John Frazier [nfrazie1 AT uwyo.edu]
Sent: Monday, December 05, 2016 3:11 PM
To: charm AT cs.illinois.edu
Subject: [charm] Charm 6.7.1 MetisLB bug

Hi,


I was recently compiling charm++ 6.7.1 with Metis on a new machine, and ran across a bug in the MetisLB.C and and TeamLB.C and TeamLB.h files.

It appears that Metis type defs all arguments to its functions as idx_t, which in the Metis library I have is a 64 bit int, but the charm code declares some of its variables as simply int and then passes these pointers to the function.  The gcc compiler (4.8) won't compile, because it cannot convert an int* to a long int *.


Attached is a patch to correctly define the types needed by the Metis functions using the Metis idx_t type def.


Nels Frazier




Archive powered by MHonArc 2.6.19.

Top of Page