1 / 4

Modeling the Shallow Water Equations with C and MPI

LA-UR-07-6793 Approved for public release; distribution is unlimited. Modeling the Shallow Water Equations with C and MPI. Bob Robey. Setup. The software is already setup on the computers

livana
Download Presentation

Modeling the Shallow Water Equations with C and MPI

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LA-UR-07-6793 Approved for public release; distribution is unlimited Modeling the Shallow Water Equations with C and MPI 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 haven’t already done that. • Untar the lab files with “tar –xzvf C_MPI_Wave_Lab.tgz”

  3. 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 user’s directory with some modifications Setting up User’s 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 Setting up Software

  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

More Related