🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.parallel
Article #358

Help with parallel problem

#358
From: Ian Hien Nguyen
Date: Thu, 09 Oct 1997 00:00
33 lines
1508 bytes

Hello all, 

I wonder if anybody can give me some help with a problem I having. I am
suppose to develop a pseudocode to solve an equation in parallel. The
equation taks the following form:

T(i,j, t+) = [T(i-1,j,t) + T(i,j-1,t) + T(i,j+1,t) + T(i+1,j,t)] / 4

This is an equation to calculate the temperature of the edges. The
temperature will be entered by the user. The program (or pseudocode)
should calculates the above equation until the temperature converge to
within 0.01 of the previous result.

It is assume that this algorithm is developed for a SIMD computer. As well
as the pseudocode of my choice I have the following instruction set:

Parallel[processor id]
...			all instructions in this block executed
			in parallel on slaves
EndParallel


load(var, processor id)		Sends and receives variables from 
store(var, processor id)	master processor to slaves


propagate(var, neighbouring processor id)  allows neighbouring slave
				           processor to communicate


Any help would be greatly appreciated. Thanks.
Technical Details
Message-ID: <Pine.GSO.3.95.971009164410.27402A-100000@edna.vut.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9e8f,3bcf457ce3197a21,start
X-Google-Attributes: gidf9e8f,public
From: Ian Hien Nguyen <s8900784@edna.vut.edu.au>
Subject: Help with parallel problem
Date: 1997/10/09
Message-ID: <Pine.GSO.3.95.971009164410.27402A-100000@edna.vut.edu.au>
X-Deja-AN: 278955524
Sender: news@matilda.vut.edu.au
Organization: Victoria University of Technology
Newsgroups: aus.computers.parallel