scientific computing lecture 10
DESCRIPTION
Scientific Computing Lecture 10. Dr. Guy Tel- Zur. Agenda. Hybrid MPI+OpenMP PDEs – continued from last lecture Fourier Transform – Theory, FFT and Parallel FFT Solution of EXE #1 EXE #3 (last ) Star HPC Hybrid Parallel Computing (MPI + OpenMP ) New Kind of Science & Condor demo - PowerPoint PPT PresentationTRANSCRIPT
Scientific ComputingLecture 10
Dr. Guy Tel-Zur
Agenda
• Hybrid MPI+OpenMP• PDEs – continued from last lecture• Fourier Transform – Theory, FFT and Parallel FFT• Solution of EXE #1• EXE #3 (last)• Star HPC• Hybrid Parallel Computing (MPI + OpenMP)• New Kind of Science & Condor demo• OpenFoam
Star-HPC
• http://web.mit.edu/star/hpc/index.html• StarHPC provides an on-demand computing
cluster configured for parallel programming in both OpenMP and OpenMPI technologies. StarHPC uses Amazon's EC2 web service to completely virtualize the entire parallel programming experience allowing anyone to quickly get started learning MPI and OpenMP programming.
Username: mpiuserPassword: starhpc08
Hybrid MPI + OpenMP DemoMachine File:
hobbit1hobbit2hobbit3hobbit4
Each hobbit has 8 cores
mpicc -o mpi_out mpi_test.c -fopenmp
MPI
OpenMP
An Idea for a final project!!!
cd ~/mpi program name: hybridpi.c
MPI is not installed yet on the hobbits, in the
meanwhile:vdwarf5vdwarf6vdwarf7vdwarf8
top -u tel-zur -H -d 0.05
H – show threads, d – delay for refresh, u - user
Hybrid MPI+OpenMP continued
NKSReference: http://telzur.blogspot.com/2008/01/mysteries-of-cellular-automata.html
Working directoryC:\Users\telzur\Documents\BGU\Teaching\ComputationalPhysics\2011A\Lectures\03\NKS