Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Problems compiling MetisLB

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Problems compiling MetisLB


Chronological Thread 
  • From: Esteban Meneses-Rojas <emenesesitcr AT gmail.com>
  • To: Laércio Lima Pilla <llpilla AT inf.ufrgs.br>
  • Cc: Charm Mailing List <charm AT cs.illinois.edu>
  • Subject: Re: [charm] [ppl] Problems compiling MetisLB
  • Date: Mon, 7 Feb 2011 09:59:22 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

   Laércio,
   You need to install and build METIS library yourself:
http://glaros.dtc.umn.edu/gkhome/metis/metis/download
 Then, you have to link METIS library with your Charm++ program by setting the library path for METIS library.

On Mon, Feb 7, 2011 at 6:13 AM, Laércio Lima Pilla <llpilla AT inf.ufrgs.br> wrote:
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

_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm

_______________________________________________
ppl mailing list
ppl AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/ppl




--
Esteban Meneses
Profesor Adjunto
Centro de Investigaciones en Computación
Escuela de Ingeniería en Computación
Instituto Tecnológico de Costa Rica



Archive powered by MHonArc 2.6.16.

Top of Page