Modeling the Shallow Water Equations with C and MPI - PowerPoint PPT Presentation

1 / 4
About This Presentation
Title:

Modeling the Shallow Water Equations with C and MPI

Description:

Change initial conditions to two colliding waves with a height of 4 at each end ... Try running 1, 2, or 4 processes and time the runs. ... – PowerPoint PPT presentation

Number of Views:49
Avg rating:3.0/5.0
Slides: 5
Provided by: challe2
Category:

less

Transcript and Presenter's Notes

Title: Modeling the Shallow Water Equations with C and MPI


1
Modeling the Shallow Water Equations with C and
MPI
LA-UR-07-6793 Approved for public
release distribution is unlimited
  • Bob Robey

2
Setup
  • The software is already setup on the computers
  • For setup on home computers, there are two parts.
    First download the files from the Supercomputing
    Challenge website for the lab in C/MPI if you
    havent already done that.
  • Untar the lab files with
  • tar xzvf C_MPI_Wave_Lab.tgz

3
Setting up Software
  • Setting up System Software
  • Need Java, OpenMPI and MPE package from MPICH
  • Download and install according to instructions in
    openmpi_setup.sh
  • Can install in users directory with some
    modifications
  • Setting up Users workspace
  • Download eclipse software including eclipse, PTP
    and PLDT
  • Install according to instructions in
    eclipse_setup.sh
  • Import wave source files and setup eclipse
    according to instructions in eclipse_setup.sh

4
Lab Exercises
  • Change initial conditions to two colliding waves
    with a height of 4 at each end declining to 2 at
    the quarter points.
  • Change the number of cells in the x direction and
    observe the impact on the solution
  • Try running 1, 2, or 4 processes and time the
    runs. Note that you can run 4 processes even if
    you are on a one processor system.
  • Switch to PTP debug perspective and try stepping
    through the program
Write a Comment
User Comments (0)
About PowerShow.com