Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS 584 Lecture 15 Assignment? (Due Friday) Friday paper presentations

Similar presentations


Presentation on theme: "CS 584 Lecture 15 Assignment? (Due Friday) Friday paper presentations"— Presentation transcript:

1 CS 584 Lecture 15 Assignment? (Due Friday) Friday paper presentations
Program model Speedup calculations Paper reviews Friday paper presentations Glenn Judd (SuperWeb) Matt Probst (Unet)

2 C* Programming Review Data parallel language
The parallel data structure is the shape Use the with statement to select the current shape Use left indexing to access the parallel variable Use the where statement to mask out values

3 Using C* on our Systems Set up PVM Set up C* Run your program
See the web page for C* setup instructions C* primer C* compiler options

4 Setting up PVM Create the directory $HOME/pvm3
Create the directory $HOME/pvm3/bin/HPPA Link $HOME/pvm3/lib to ~snell/pvm3/lib Set the environment variable PVM_ROOT to $HOME/pvm3 Do this in your login script Set up your .rhosts file Add $HOME/pvm3/lib/HPPA to your path

5 Setting up PVM Run pvm Using the add command, add in appropriate hosts to your virtual machine Use quit to leave pvm console but leave the virtual machine running Use halt to kill the virtual machine

6 Setting up C* Add ~snell/cstar/install.PVM.HPPA2D to your path
Set the following environment variables CSTAR_MODE scalar, pvm, 2d-pvm CSTAR_ROWS Number of rows in virtual mesh CSTAR_COLS Number of columns in virtual mesh

7 Running your C* program
Compile your program cs prog.cs -o prog Copy the executable to $HOME/pvm3/bin/HPPA Execute your program prog args….. To execute on a single processor either set up a pvm virtual machine with one processor set the CSTAR_MODE variable to scalar

8 Assignment Redo lab 1 in C*
Compare your program complexity with your message passing program Draw graphs to: Compare your speedups with your message passing program Compare your execution times with your message passing program


Download ppt "CS 584 Lecture 15 Assignment? (Due Friday) Friday paper presentations"

Similar presentations


Ads by Google