Skip to Content.
Sympa Menu

charm - [charm] Problems compiling MetisLB

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Problems compiling MetisLB


Chronological Thread 
  • From: Laércio Lima Pilla <llpilla AT inf.ufrgs.br>
  • To: Charm Mailing List <charm AT cs.illinois.edu>
  • Subject: [charm] Problems compiling MetisLB
  • Date: Mon, 7 Feb 2011 10:13:21 -0200
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hello,

I'm having some problems compiling MetisLB. I'm using charm version 6.2.1 (60303).

When I just run make METIS on my multicore-linux64/tmp folder, I do not get any errors, but I also don't get the load balancer working.
Error when trying to compile a program with -module MetisLB:

/usr/bin/ld: cannot find -lmoduleMetisLB
collect2: ld returned 1 exit status

When I add MetisLB to the list of CommonLBs and try to make charm++ or make METIS, I get the following error:

if [ -d charmrun ] ; then ( cd charmrun ; make OPTS='' -j1 ) ; fi
if [ -f charmrun ] ; then ( cp -f charmrun ../bin ) ; fi
g++    -c -o MetisLB.o MetisLB.C
MetisLB.C:13:19: error: metis.h: Aucun fichier ou dossier de ce type <- (cannot find this file)
MetisLB.C: In member function ‘virtual void MetisLB::work(BaseLB::LDStats*)’:
MetisLB.C:76: error: ‘idxtype’ was not declared in this scope
MetisLB.C:76: error: ‘xadj’ was not declared in this scope
MetisLB.C:76: error: expected type-specifier before ‘idxtype’
MetisLB.C:76: error: expected ‘;’ before ‘idxtype’
MetisLB.C:78: error: ‘adjncy’ was not declared in this scope
MetisLB.C:78: error: expected type-specifier before ‘idxtype’
MetisLB.C:78: error: expected ‘;’ before ‘idxtype’
MetisLB.C:80: error: ‘vwgt’ was not declared in this scope
MetisLB.C:80: error: expected type-specifier before ‘idxtype’
MetisLB.C:80: error: expected ‘;’ before ‘idxtype’
MetisLB.C:82: error: ‘adjwgt’ was not declared in this scope
MetisLB.C:82: error: expected type-specifier before ‘idxtype’
MetisLB.C:82: error: expected ‘;’ before ‘idxtype’
MetisLB.C:103: error: ‘pemap’ was not declared in this scope
MetisLB.C:107: error: expected type-specifier before ‘idxtype’
MetisLB.C:107: error: expected ‘;’ before ‘idxtype’
MetisLB.C:136: error: ‘METIS_WPartGraphKway’ was not declared in this scope
MetisLB.C:139: error: ‘METIS_WPartGraphRecursive’ was not declared in this scope
MetisLB.C:146: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
MetisLB.C:147: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
MetisLB.C:148: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
MetisLB.C:149: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
MetisLB.C:160: error: type ‘<type error>’ argument given to ‘delete’, expected pointer

Any ideas of what I may be doing wrong?

Best regards,

Laércio LIMA PILLA

PhD Student at Federal University of Rio Grande do Sul (UFRGS)
Email: laercio.pilla AT inf.ufrgs.br or laercio.lima.pilla AT gmail.com 
Tel: +55 54 9973 6313
Website: www.inf.ufrgs.br/~llpilla



Archive powered by MHonArc 2.6.16.

Top of Page