MCSR_logo.jpg (56K)
Home My MCSR Supercomputers Software Research Education
Login
Quick Links:

FAQs
Minicamp
Chemistry
insideHPC Blog
Current Jobs
Job History
Mathematica
Training
News
Contact Us
Intro to MPI Workshop

Intro to MPI Workshop

Engineering 692: Parallel Programming

March 8, 2007

University of Mississippi

 

1.      Log into mimosa.mcsr.olemiss.edu via secure shell.

2.      Execute this setup script: /home/appl/mpiworkshop/circuits/gorebs

3.      Confirm that the script created a directory called: chapter4

4.      cd chapter4

5.      ls to list the directory contents

6.      cat or edit the compile_circuits file/script

7.      execute the compile_circuits script to compile the two source file

8.      Confirm that two executable were created: circuit1.exe and circuit2.exe

9.      cat/edit/examine the PBS script: circuit1.1p.pbs

10.  Submit the PBS script like this: qsub circuit1.1p.pbs

11.  Use qstat to view the status of the submitted job:
qstat
qstat –u $USER
qstat MCSR-CA
watch qstat –u $USER

12.  After the job completes, list the contents of the directory to confirm the existence of the PBS output file and the PBS error file.
ls

13.  Examine the pbs output file, and confirm that the output is correct

14.  Examine the pbs error file, to check for errors, and to see timing information

15.  Next, submit, monitor the queue status of, and view the output and timing info of the 2nd circuit program from the book:
qsub circuit2.1p.pbs

16.  Similarly, run the circuit2 program on 2 nodes and 4 nodes, using circuit2.2p.pbs and circuit2.4p.pbs, and view the output files.

17.  Compute the speedup (if any) and the parallel efficiency of the 2-node and 4-node runs, as compared to the 1-node run of the circuit2 program.

18.  ..

19.  For additional practice:

20.  Complete the example MPI exercises 1, 2, and 3 listed on the MCSR Web Page:
http://www.mcsr.olemiss.edu/appssubpage.php?pagename=mpi.inc

See also:
http://www.mcsr.olemiss.edu/appssubpage.php?pagename=pbs_1.inc&menu=vMBPBS.inc

http://www.mcsr.olemiss.edu/appssubpage.php?pagename=cmcsr.inc

 

 


Last Modified:June 08, 2007 10:31:43.   Copyright © 1997-2012 The Mississippi Center for Supercomputing Research. All Rights Reserved.   The University of Mississippi
Valid RSS