Download presentation
Presentation is loading. Please wait.
Published byAmie Osborne Modified over 9 years ago
1
1 Modeling the Shallow Water Equations with C and MPI LA-UR-07-6793 Approved for public release; distribution is unlimited Bob Robey
2
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
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 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
4
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.