charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Nikhil Jain <nikhil.life AT gmail.com>
- To: Abhinav S Bhatele <bhatele AT illinois.edu>
- Cc: Christiane Pousa <Christiane.Pousa AT imag.fr>, Charm Mailing List <charm AT cs.illinois.edu>
- Subject: Re: [charm] [ppl] Problems compiling MetisLB
- Date: Mon, 14 Feb 2011 21:39:56 -0600
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
Hi Abhinav
There seems to be some issue with Scotch LB. I obtained
the following error while running a code with ScotchLB:
[0] ScotchLB started at: 3.018012.
ERROR: graphCheck: arc data do not match
ERROR: stratParserParse: invalid method name "1", before "f{bal=0.001,move=80},org=f{bal=0.001,move=80}}}|m{type=h,vert=80,low=h{pass=10}f{bal=0.001,move=80},asc=b{bnd=1f{bal=0.001,move=80},org=f{bal=0.001,move=80}}})}"
ERROR: SCOTCH_stratGraphMap: error in mapping strategy
make: *** [test] Interrupt
--Nikhil
On Mon, Feb 14, 2011 at 9:20 PM, Abhinav S Bhatele <bhatele AT illinois.edu> wrote:
Hi Laercio,I just checked in some changes to charm, so you'll need the development version from git.Can you please follow these instructions and tell me if they work --1. Compile charm indicating where Metis and Scotch are installed:./build charm++ net-linux-x86_64 --incdir=/expand/home/bhatele/work/metis-4.0/Lib --libdir=/expand/home/bhatele/work/metis-4.0 --incdir=/expand/home/bhatele/work/scotch/scotch_5.1.10b/include --libdir=/expand/home/bhatele/work/scotch/scotch_5.1.10b/lib -j8 -O22. Go to net-linux-x86_64/tmp and edit Makefile_lb.sh and add MetisLB, ScotchLB to this line:ALL_LDBS="$COMMON_LDBS $OTHER_LDBS"Run ./Makefile_lb.sh3. Edit MetisLB.C and ScotchLB.C to comment the include of metis.h and scotch.h respectively4. Run make depends5. Uncomment the lines commented in step 3 and then run:make charm++ OPTS="-O2"Thanks,- AbhinavOn 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 -lmoduleMetisLBcollect2: ld returned 1 exit statusWhen 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 ) ; fiif [ -f charmrun ] ; then ( cp -f charmrun ../bin ) ; fig++ -c -o MetisLB.o MetisLB.CMetisLB.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 scopeMetisLB.C:76: error: ‘xadj’ was not declared in this scopeMetisLB.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 scopeMetisLB.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 scopeMetisLB.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 scopeMetisLB.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 scopeMetisLB.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 scopeMetisLB.C:139: error: ‘METIS_WPartGraphRecursive’ was not declared in this scopeMetisLB.C:146: error: type ‘<type error>’ argument given to ‘delete’, expected pointerMetisLB.C:147: error: type ‘<type error>’ argument given to ‘delete’, expected pointerMetisLB.C:148: error: type ‘<type error>’ argument given to ‘delete’, expected pointerMetisLB.C:149: error: type ‘<type error>’ argument given to ‘delete’, expected pointerMetisLB.C:160: error: type ‘<type error>’ argument given to ‘delete’, expected pointerAny 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
--
Abhinav S Bhatele, Ph. D.
Webpage: www.bhatele.org
_______________________________________________
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
--
"Success may ditch you most of the times, but if you ditch it once : your job is done."
Nikhil Jain
Phone: +1-217-979-0918
- [charm] Problems compiling MetisLB, Laércio Lima Pilla, 02/07/2011
- Re: [charm] [ppl] Problems compiling MetisLB, Esteban Meneses-Rojas, 02/07/2011
- Re: [charm] [ppl] Problems compiling MetisLB, Abhinav S Bhatele, 02/14/2011
- Re: [charm] [ppl] Problems compiling MetisLB, Nikhil Jain, 02/14/2011
- Re: [charm] [ppl] Problems compiling MetisLB, Abhinav S Bhatele, 02/20/2011
- Re: [charm] [ppl] Problems compiling MetisLB, Nikhil Jain, 02/20/2011
- Re: [charm] [ppl] Problems compiling MetisLB, Abhinav S Bhatele, 02/20/2011
- Re: [charm] [ppl] Problems compiling MetisLB, Phil Miller, 02/17/2011
- Re: [charm] [ppl] Problems compiling MetisLB, Nikhil Jain, 02/14/2011
Archive powered by MHonArc 2.6.16.