Skip to Content.
Sympa Menu

charm - [charm] Question about BigNetSim

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Question about BigNetSim


Chronological Thread 
  • From: Xuehan Xu <xxhdx1985126 AT gmail.com>
  • To: charm AT cs.uiuc.edu
  • Subject: [charm] Question about BigNetSim
  • Date: Sat, 22 Oct 2011 02:27:21 +0800
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Dear Sirs:  
        I made some modification to the BlueGene network model, I wish some of the NetInterfaces in the network model to communicate with each other directly, not through channels or switches. So, in the NetInterface class, I insert the statement "POSE_invoke(recvPacket(p), NetInterface, DestId, Delay)" to let the NetInterfaces to communicate with each other directly when some condition is satisfied. But, it seems that every time this POSE_invoke is made,  the recvPacket of the NetInterface on the other side will try to call the "buildAck()" function which is only called when the multicast is available and lead to a segmentation fault. When I delete these POSE_invokes, the problem no longer exists, and the buildAck is never called at all.

       The problem can be duplicated by replacing the POSE_invoke call to switch at Nic.C line 186 with a POSE_invoke call to some NetInterface object in the network model.

        Why is this happenning? I'm so confused, please help me. Thanks everyone:-)



Archive powered by MHonArc 2.6.16.

Top of Page