Converse BlueGene Simulator - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Converse BlueGene Simulator

Description:

Converse BlueGene Simulator – PowerPoint PPT presentation

Number of Views:47
Avg rating:3.0/5.0
Slides: 7
Provided by: gengbi
Learn more at: http://charm.cs.uiuc.edu
Category:

less

Transcript and Presenter's Notes

Title: Converse BlueGene Simulator


1
Converse BlueGene Simulator
  • 2/27/01

2
Big picture - simulator
Node(x1,y1,z1)
Node(x2,y2,z2)
  • 34x34x36 nodes
  • 25 processors per node
  • 8 threads per processor

Simulator Processor
3
Bluegene Simulator
Communication threads
Worker thread
inBuffer
Finity message queue
Infinity message queue
Node Structure
4
Ring Example
void BgGlobalInit(int argc, char argv) if
(argc lt 7) CmiAbort("Usage ltringgt ltxgt ltygt
ltzgt ltnumCommThgt ltnumWorkThgt\n")
BgSetSize(atoi(argv1), atoi(argv2),
atoi(argv3)) BgSetNumCommThread(atoi(argv4
)) BgSetNumWorkThread(atoi(argv5))
ringID BgRegisterHandler(passRing) void
BgNodeStart(int argc, char argv) int
x,y,z int nx, ny, nz int data888
BgGetXYZ(x, y, z) nextxyz(x, y, z,
nx, ny, nz) if (x 0 y0 z0)
BgSendPacket(nx, ny, nz, ringID,
LARGE_WORK, sizeof(int), (char )data) void
passRing(char msg) int x, y, z int nx,
ny, nz int data (int )msg BgGetXYZ(x,
y, z) nextxyz(x, y, z, nx, ny,
nz) if (x0 y0 z0) if (iter
MAXITER) BgShutdown() BgSendPacket(nx, ny,
nz, passRingHandler, LARGE_WORK, sizeof(int),
(char )data)
5
Communication Threads
6
Worker threads
Write a Comment
User Comments (0)
About PowerShow.com