Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Error when running BigNetSim

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Error when running BigNetSim


Chronological Thread 
  • From: "Mokos, Ryan" <mokos AT illinois.edu>
  • To: Balaji S <balaji.ceg.13 AT gmail.com>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] [ppl] Error when running BigNetSim
  • Date: Mon, 20 Feb 2012 17:35:50 +0000
  • Accept-language: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi Balaji,

First, please note that the first argument to ./bigsimulator should either be a 0 (latency only mode) or a 1 (detailed contention model).  However, I think anything greater than a 1 will default to the detailed contention model anyway.

How did you build charm, what traces are you trying to simulate, and did it print any configuration information before it aborted?

I just tried building charm and BigNetSim, copied the sample trace files provided with BigNetSim to BigNetSim/trunk/tmp, and had no problems running with the command line you give below.  This is what I did:

1. Checked out charm and BigNetSim from the repositories

2. Built pose and bigsim in charm (these are the only components needed for BigNetSim):

~/charm> ./build pose net-linux-x86_64 -j8 -g
~/charm> ./build bigsim net-linux-x86_64 -j8 -g

3. Changed CHARMBASE in BigNetSim/trunk/Makefile.common to point to my charm build

4. Built BigNetSim:

~/BigNetSim/trunk/BlueGene> make

5. Copied traces to tmp directory:

~/BigNetSim/trunk/tmp> cp ../sampleTrace/bgTrace* .

6. I ran BigNetSim with all of the following and had no problems:

~/BigNetSim/trunk/tmp> ./charmrun +p2 ./bigsimulator 0 0
~/BigNetSim/trunk/tmp> ./charmrun +p2 ./bigsimulator 1 0
~/BigNetSim/trunk/tmp> ./charmrun +p2 ./bigsimulator 1 1
~/BigNetSim/trunk/tmp> ./charmrun +p2 ./bigsimulator 2 0
~/BigNetSim/trunk/tmp> ./charmrun +p2 ./bigsimulator 2 1
~/BigNetSim/trunk/tmp> ./charmrun +p2 ./bigsimulator 2 2

As I said above, the first parameter should be only 0 or 1, but it has no problem running with a 2 there.  Also, anything other than 0 for the second parameter is meaningless with these traces as they have no skip points.  But again, I ran them all for the sake of being thorough.

Ryan




From: Balaji S [balaji.ceg.13 AT gmail.com]
Sent: Saturday, February 18, 2012 4:50 AM
To: Mokos, Ryan
Cc: charm AT cs.uiuc.edu
Subject: Re: [ppl] [charm] Error when running BigNetSim

Hi sir,
         Thank you . I downloaded the nightly build and its working fine now.. but when i run make in the bluegene folder i get some files in tmp folder, while i giv ./charmrun +p2 ./bigsimulator 2 2 (as given in the manual ) i get the following error:
   ------------ Processor 0 Exiting: Called CmiAbort ------------
Reason: Must use adaptive routing and routingVC with modDirectionOrderedNDTorus and maxAvailBufferBubbleVc

 
Please help!!!

On Thu, Feb 16, 2012 at 11:24 AM, Mokos, Ryan <mokos AT illinois.edu> wrote:
Hi Balaji,

Please make sure you have the newest development version of charm (from the git archive).  Apparently these changes haven't made it into the charm distribution yet.

Ryan


From: ppl-bounces AT cs.uiuc.edu [ppl-bounces AT cs.uiuc.edu] on behalf of Balaji S [balaji.ceg.13 AT gmail.com]
Sent: Wednesday, February 15, 2012 9:36 PM
To: charm AT cs.uiuc.edu
Cc: Gengbin Zheng
Subject: [ppl] [charm] Error when running BigNetSim

HI i get the following errors in my ubuntu 10.04 terminal when i run make in BigNetSim.

TCsim_sim.C:49: error: ‘class BgTimeLog’ has no member named ‘mpiOp’
TCsim_sim.C:50: error: ‘class BgTimeLog’ has no member named ‘mpiSize’
TCsim_sim.C: In constructor ‘state_BGproc::state_BGproc(BGprocMsg*)’:
TCsim_sim.C:573: error: ‘class CProxy_sim’ has no member named ‘setSimulationStartGVT’
TCsim_sim.C:577: error: ‘class CProxy_sim’ has no member named ‘setSimulationStartGVT’
TCsim_sim.C: In member function ‘bool state_BGproc::handleAsCollectiveOp(Task&)’:
TCsim_sim.C:835: error: ‘MPI_BARRIER’ was not declared in this scope
TCsim_sim.C:835: error: ‘MPI_ALLREDUCE’ was not declared in this scope
TCsim_sim.C:839: error: ‘MPI_NONE’ was not declared in this scope
TCsim_sim.C: In member function ‘virtual POSE_TimeType BPCollectiveOperationModel::computeDelay(int, int)’:
TCsim_sim.C:2195: error: ‘MPI_BARRIER’ was not declared in this scope
Fatal Error by charmc in directory /home/balaji/charm-6.2/BigNetSim/trunk/Main
   Command g++ -fPIC -m64 -I/home/balaji/charm-6.2/net-linux-x86_64/bin/../include -D__CHARMC__=1 -I/home/balaji/charm-6.2/net-linux-x86_64/include/pose -I/home/balaji/charm-6.2/net-linux-x86_64/include -I../BlueGene -g -c TCsim_sim.C -o ../tmp/TCsim_sim.o returned error code 1
charmc exiting...
make[2]: *** [../tmp/TCsim_sim.o] Error 1
make[2]: Leaving directory `/home/balaji/charm-6.2/BigNetSim/trunk/Main'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/balaji/charm-6.2/BigNetSim/trunk/BlueGene'
make: *** [bigsimulator] Error 2


Please help!!!!

--
With Regards,
    Balaji.S




--
With Regards,
    Balaji.S




Archive powered by MHonArc 2.6.16.

Top of Page