Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Question about IB

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Question about IB


Chronological Thread 
  • From: Eric Bohm <ebohm AT illinois.edu>
  • To: <ppl AT cs.uiuc.edu>, "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] [ppl] Question about IB
  • Date: Mon, 6 Jun 2011 12:35:03 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Yes it can. If you modify the first line of the netconfig file to disable the transceiver:

USE_TRANSCEIVER 0

Then it will expect you to load the communication from trace files.

Also, in case there was some confusion in the matter, the IB simulation stands for Input Buffered (as opposed to Output Buffered) not as an abbreviation for infiniband.

On 06/06/2011 01:13 AM, Xuehan Xu wrote:
Dear sirs:
Can the IB simulation in BigNetSim use the bgTrace file to
generate the network traffic? I tried, but I got this error

Charmrun> charmrun started...
Charmrun> using /root/.nodelist as nodesfile
Charmrun> remote shell (localhost:0) started
Charmrun> node programs all started
Charmrun remote shell(localhost.0)> remote responding...
Charmrun remote shell(localhost.0)> using xterm /usr/bin/xterm
Charmrun remote shell(localhost.0)> using debugger /usr/local/bin/gdb
Charmrun remote shell(localhost.0)> starting node-program...
Charmrun remote shell(localhost.0)> rsh phase successful.
Charmrun> node programs all connected
Charmrun> started all node programs in 3.022 seconds.
Charmrun> adding client 0: "localhost", IP:127.0.0.1
Charmrun> Charmrun = localhost.localdomain, port = 40834
start_nodes_rsh
Charmrun> Sending "0 localhost.localdomain 40834 4413 0" to client 0.
Charmrun> find the node program "/root/BigNetSim/trunk/IB/../tmp/pgm" at
"/root/BigNetSim/trunk/IB" for 0.
Charmrun> Starting ssh localhost -l root /bin/sh -f
Charmrun> Waiting for 0-th client to connect.
Charmrun> client 0 connected (IP=127.0.0.1 data_port=38504)
Charmrun> All clients connected.
Charmrun> IP tables sent.
Warning> Randomization of stack pointer is turned on in kernel, thread
migration may not work! Run 'echo 0 >
/proc/sys/kernel/randomize_va_space' as root to disable it, or try run
with '+isomalloc_sync'.
Charm++> scheduler running in netpoll mode.
Charm++> Running on 1 unique compute nodes.
Charm++> cpu topology info is gathered in 0.003 seconds.
================= Simulation Configuration =================
Number of physical PEs: 1
POSE mode: Parallel
Command line: /root/BigNetSim/trunk/tmp/pgm 1 0
Timing factor: 1.000000e+08 (i.e., 1 GVT tick = 10 ns)
cpufactor: 1.000000
bgTrace summary: totalBGProcs=8 X=2 Y=2 Z=2 #CommThreads=1
#WorkerThreads=1 #PEs=1 LogVersion=6
Simulation mode: trace driven
Simulation network mode: full contention
Initializing POSE...
POSE initialization complete.
Using Inactivity Detection for termination.
fanout 3 numP 6
Network parameters:
Max packet size: 256
File window size: 0
Debug print level: 0
Window load threshold: 0
Intra node latency: 0.500000 us
Intra node bandwidth: 1.000000 GB/s
Number of buffers per port in each switch: 12
Switch buffer size: 1024
Channel bandwidth: 1.000000
Channel delay: 0
Link stats collection interval: 1000000 GVT ticks
Link stats on: no
Message stats on: no
Adaptive routing on: yes
Header size: 16 bytes
Processor send overhead: 0 GVT ticks
Processor receive overhead: 0 GVT ticks
Number of simulated nodes: 9
============================================================
Info> invoking startup task from proc 0 ...
Info> Starting at the beginning of the simulation
Info> Running to the end of the simulation
176477 I am 0 But src 0 dst 0
Packet misrouted to destination
------------- Processor 0 Exiting: Called CmiAbort ------------
Reason: Commit ERROR
[0] Stack Traceback:
[0:0] CmiAbort+0x75 [0x82ac98f]
[0:1] _ZN10eventQueue12CommitEventsEP3simx+0x1d3 [0x81be099]
[0:2] _ZN3sim6CommitEv+0x194 [0x81c00ce]
[0:3] _ZN10pvtObjects6CommitEv+0x52 [0x81cbb08]
[0:4] _ZN3PVT6setGVTEP6GVTMsg+0x11a [0x81ba470]
[0:5] _ZN11CkIndex_PVT19_call_setGVT_GVTMsgEPvP3PVT+0x18 [0x81ba958]
[0:6] CkDeliverMessageFree+0x44 [0x821a972]
[0:7] /root/BigNetSim/trunk/tmp/pgm [0x821aa12]
[0:8] /root/BigNetSim/trunk/tmp/pgm [0x821aaa9]
[0:9] /root/BigNetSim/trunk/tmp/pgm [0x821b0dc]
[0:10] /root/BigNetSim/trunk/tmp/pgm [0x821b4e5]
[0:11] _Z15_processHandlerPvP11CkCoreState+0x10d [0x821c377]
[0:12] CmiHandleMessage+0x63 [0x82b2dee]
[0:13] CsdScheduleForever+0x6a [0x82b2ff1]
[0:14] CsdScheduler+0x11 [0x82b2f5c]
[0:15] /root/BigNetSim/trunk/tmp/pgm [0x82b138b]
[0:16] ConverseInit+0x344 [0x82b189c]
[0:17] main+0x49 [0x8222e8d]
[0:18] __libc_start_main+0xdc [0x125e9c]
[0:19] __gxx_personality_v0+0x375 [0x813beb1]
Charmrun: error on request socket--
Socket closed before recv.

Please help me, thank you:-)



_______________________________________________
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





Archive powered by MHonArc 2.6.16.

Top of Page