charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- 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
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
- [charm] Charm 6.7.1 MetisLB bug, Nels John Frazier, 12/05/2016
- RE: [charm] Charm 6.7.1 MetisLB bug, Chandrasekar, Kavitha, 12/05/2016
Archive powered by MHonArc 2.6.19.