🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: aus.computers.parallel
1 messages
1 total messages Started by Ian Hien Nguyen Thu, 09 Oct 1997 00:00
Help with parallel problem
#358
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads