scientific computing lecture 10

12
Scientific Computing Lecture 10 Dr. Guy Tel-Zur

Upload: wesley

Post on 29-Jan-2016

29 views

Category:

Documents


0 download

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 Presentation

TRANSCRIPT

Page 1: Scientific Computing Lecture 10

Scientific ComputingLecture 10

Dr. Guy Tel-Zur

Page 2: Scientific Computing Lecture 10

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

Page 3: Scientific Computing Lecture 10

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.

Page 4: Scientific Computing Lecture 10
Page 5: Scientific Computing Lecture 10

Username: mpiuserPassword: starhpc08

Page 6: Scientific Computing Lecture 10
Page 7: Scientific Computing Lecture 10
Page 8: Scientific Computing Lecture 10

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

Page 9: Scientific Computing Lecture 10

MPI is not installed yet on the hobbits, in the

meanwhile:vdwarf5vdwarf6vdwarf7vdwarf8

Page 10: Scientific Computing Lecture 10

top -u tel-zur -H -d 0.05

H – show threads, d – delay for refresh, u - user

Page 11: Scientific Computing Lecture 10

Hybrid MPI+OpenMP continued

Page 12: Scientific Computing Lecture 10

NKSReference: http://telzur.blogspot.com/2008/01/mysteries-of-cellular-automata.html

Working directoryC:\Users\telzur\Documents\BGU\Teaching\ComputationalPhysics\2011A\Lectures\03\NKS