Parallel & Cluster Computing Monte Carlo Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma SC08 Education.

Slides:



Advertisements
Similar presentations
Supercomputing in Plain English Supercomputing in Plain English High Throughput Computing Henry Neeman, Director Director, OU Supercomputing Center for.
Advertisements

Supercomputing in Plain English High Throughput Computing Henry Neeman, Director OU Supercomputing Center for Education & Research Blue Waters Undergraduate.
High Performance Computing and CyberGIS Keith T. Weber, GISP GIS Director, ISU.
Research CU Boulder Cyberinfrastructure & Data management Thomas Hauser Director Research Computing CU-Boulder
Parallel & Cluster Computing Distributed Cartesian Meshes Paul Gray, University of Northern Iowa David Joiner, Shodor Education Foundation Tom Murphy,
Introduction to Parallel Programming & Cluster Computing Applications and Types of Parallelism Josh Alexander, University of Oklahoma Ivan Babic, Earlham.
Parallel Programming & Cluster Computing High Throughput Computing Henry Neeman, University of Oklahoma Charlie Peck, Earlham College Tuesday October 11.
Supercomputing in Plain English Part IX: High Throughput Computing Henry Neeman, Director OU Supercomputing Center for Education & Research University.
Supercomputing in Plain English Overview: What the Heck is Supercomputing? CS1313 Spring 2009.
Parallel Programming & Cluster Computing High Throughput Computing Henry Neeman, University of Oklahoma Paul Gray, University of Northern Iowa SC08 Education.
Supercomputing in Plain English Applications and Types of Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research University.
Parallel & Cluster Computing Linear Algebra Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma SC08 Education.
Parallel Programming & Cluster Computing Applications and Types of Parallelism Henry Neeman, University of Oklahoma Charlie Peck, Earlham College Tuesday.
Student: Fan Bai Instructor: Dr. Sushil K. Prasad Csc8530 Spring 2012.
Supercomputing in Plain English Supercomputing in Plain English High Throughput Computing Henry Neeman, Director OU Supercomputing Center for Education.
Effective Communication: How to Talk to Researchers about Their Research Henry Neeman, University of Oklahoma Director, OU Supercomputing Center for Education.
So You Want to Write a Cyberinfrastructure Proposal Henry Neeman, University of Oklahoma Director, OU Supercomputing Center for Education & Research (OSCER)
Cyberinfrastructure User Support Henry Neeman, University of Oklahoma Director, OU Supercomputing Center for Education & Research (OSCER) Assistant Vice.
Parallel Programming & Cluster Computing Instruction Level Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research University.
Parallel & Cluster Computing Overview of Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma SC08.
Parallel & Cluster Computing An Overview of High Performance Computing Henry Neeman, Director OU Supercomputing Center for Education & Research University.
Parallel & Cluster Computing The Tyranny of the Storage Hierarchy
Introduction to Research Consulting Henry Neeman, University of Oklahoma Director, OU Supercomputing Center for Education & Research (OSCER) Assistant.
Parallel & Cluster Computing MPI Introduction Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma SC08 Education.
Parallel & Cluster Computing Grab Bag Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma SC08 Education Program’s.
Advanced Cyberinfrastructure Research & Education Facilitators: Overview Henry Neeman, University of Oklahoma Director, OU Supercomputing Center for Education.
Supercomputing in Plain English Supercomputing in Plain English Applications and Types of Parallelism Henry Neeman, Director Director, OU Supercomputing.
Supercomputing in Plain English High Throughput Computing Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma.
RNGs in options pricing Presented by Yu Zhang. Outline Options  What is option?  Kinds of options  Why options? Options pricing Models Monte Carlo.
Cyberinfrastructure for Distributed Rapid Response to National Emergencies Henry Neeman, Director Horst Severini, Associate Director OU Supercomputing.
SC Education Program Paul Gray OU Supercomputing Symposium Oct. 6, 2008.
Parallel & Cluster Computing Multicore Madness Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma SC08 Education.
Parallel Programming & Cluster Computing Applications and Types of Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research.
Parallel & Cluster Computing High Throughput Computing Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma.
For a new configuration of the same volume V and number of molecules N, displace a randomly selected atom to a point chosen with uniform probability inside.
Supercomputing in Plain English Applications and Types of Parallelism PRESENTERNAME PRESENTERTITLE PRESENTERDEPARTMENT PRESENTERINSTITUTION DAY MONTH DATE.
Supercomputing in Plain English Supercomputing in Plain English Applications and Types of Parallelism Henry Neeman, Director OU Supercomputing Center for.
Parallel & Cluster Computing Distributed Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma SC08.
Supercomputing in Plain English Applications and Types of Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research Blue Waters.
Introduction to Parallel Programming & Cluster Computing Applications and Types of Parallelism Joshua Alexander, U Oklahoma Ivan Babic, Earlham College.
Supercomputing in Plain English Part VIII: High Throughput Computing Henry Neeman, Director OU Supercomputing Center for Education & Research University.
Parallel & Cluster Computing Stupid Compiler Tricks Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma SC08.
Parallel & Cluster Computing N-Body Simulation and Collective Communications Henry Neeman, Director OU Supercomputing Center for Education & Research University.
Supercomputing in Plain English An Introduction to High Performance Computing Part VI: Distributed Multiprocessing Henry Neeman, Director OU Supercomputing.
Supercomputing in Plain English Part VII: Applications and Types of Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research.
Supercomputing in Plain English Instruction Level Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma.
Parallel Programming & Cluster Computing Distributed Multiprocessing David Joiner, Kean University Tom Murphy, Contra Costa College Henry Neeman, University.
Parallel Programming & Cluster Computing N-Body Simulation and Collective Communications Henry Neeman, University of Oklahoma Paul Gray, University of.
Parallel & Cluster Computing Transport Codes and Shifting Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma.
October 2007 Cyberinfrastructure: Changing the Face of Science and Engineering Session Chairs Prof. Ann Gates, University of Texas El Paso Dr. Chaitan.
Introduction to Parallel Programming & Cluster Computing MPI Collective Communications Joshua Alexander, U Oklahoma Ivan Babic, Earlham College Michial.
Parallel Programming & Cluster Computing Linear Algebra Henry Neeman, University of Oklahoma Paul Gray, University of Northern Iowa SC08 Education Program’s.
Parallel Programming & Cluster Computing Monte Carlo Henry Neeman, University of Oklahoma Paul Gray, University of Northern Iowa SC08 Education Program’s.
Supercomputing in Plain English Part III: Instruction Level Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research University.
Parallel & Cluster Computing Shared Memory Parallelism Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma.
High Energy Physics at the OU Supercomputing Center for Education & Research Henry Neeman, Director OU Supercomputing Center for Education & Research University.
Advanced Cyberinfrastructure Research & Education Facilitators Virtual Residency: Overview Henry Neeman, University of Oklahoma Director, OU Supercomputing.
So You Want to Write a Cyberinfrastructure Proposal
Setting Up a Low Cost Statewide Cyberinfrastructure Initiative
Introduction to Research Facilitation
Saturday November 12 – Tuesday November
The Shifting Landscape of CI Funding
Introduction to Research Facilitation
Supercomputing in Plain English High Throughput Computing
Supercomputing in Plain English Applications and Types of Parallelism
Henry Neeman, University of Oklahoma
By Brandon, Ben, and Lee Parallel Computing.
Introduction to Research Facilitation
Parallel Programming & Cluster Computing Transport Codes and Shifting
Presentation transcript:

Parallel & Cluster Computing Monte Carlo Henry Neeman, Director OU Supercomputing Center for Education & Research University of Oklahoma SC08 Education Program’s Workshop on Parallel & Cluster computing August

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Okla. Supercomputing Symposium 2006 Keynote: Dan Atkins Head of NSF’s Office of Cyber- infrastructure 2004 Keynote: Sangtae Kim NSF Shared Cyberinfrastructure Division Director 2003 Keynote: Peter Freeman NSF Computer & Information Science & Engineering Assistant Director 2005 Keynote: Walt Brooks NASA Advanced Supercomputing Division Director Keynote: Jay Boisseau Director Texas Advanced Computing Center U. Texas Austin Tue Oct 7 OU Over 250 registrations already! Over 150 in the first day, over 200 in the first week, over 225 in the first month. FREE! Parallel Computing Workshop Mon Oct OU sponsored by SC08 FREE! Symposium Tue Oct OU 2008 Keynote: José Munoz Deputy Office Director/ Senior Scientific Advisor Office of Cyber- infrastructure National Science Foundation

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Embarrassingly Parallel An application is known as embarrassingly parallel if its parallel implementation: 1.can straightforwardly be broken up into roughly equal amounts of work per processor, AND 2.has minimal parallel overhead (e.g., communication among processors). We love embarrassingly parallel applications, because they get near-perfect parallel speedup, sometimes with modest programming effort. Embarrassingly parallel applications are also known as loosely coupled.

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Monte Carlo Methods Monte Carlo is a European city where people gamble; that is, they play games of chance, which involve randomness. Monte Carlo methods are ways of simulating (or otherwise calculating) physical phenomena based on randomness. Monte Carlo simulations typically are embarrassingly parallel.

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Monte Carlo Methods: Example Suppose you have some physical phenomenon. For example, consider High Energy Physics, in which we bang tiny particles together at incredibly high speeds. BANG! We want to know, say, the average properties of this phenomenon. There are infinitely many ways that two particles can be banged together. So, we can’t possibly simulate all of them.

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Monte Carlo Methods: Example Suppose you have some physical phenomenon. For example, consider High Energy Physics, in which we bang tiny particles together at incredibly high speeds. BANG! There are infinitely many ways that two particles can be banged together. So, we can’t possibly simulate all of them. Instead, we can randomly choose a finite subset of these infinitely many ways and simulate only the subset.

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Monte Carlo Methods: Example Suppose you have some physical phenomenon. For example, consider High Energy Physics, in which we bang tiny particles together at incredibly high speeds. BANG! There are infinitely many ways that two particles can be banged together. We randomly choose a finite subset of these infinitely many ways and simulate only the subset. The average of this subset will be close to the actual average.

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Monte Carlo Methods In a Monte Carlo method, you randomly generate a large number of example cases (realizations) of a phenomenon, and then take the average of the properties of these realizations. When the realizations’ average converges (i.e., doesn’t change substantially if new realizations are generated), then the Monte Carlo simulation stops.

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August MC: Embarrassingly Parallel Monte Carlo simulations are embarrassingly parallel, because each realization is completely independent of all of the other realizations. That is, if you’re going to run a million realizations, then: 1.you can straightforwardly break up into roughly 1M / N p chunks of realizations, one chunk for each of the N p processors, AND 2.the only parallel overhead (e.g., communication) comes from tracking the average properties, which doesn’t have to happen very often.

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Serial Monte Carlo Suppose you have an existing serial Monte Carlo simulation: PROGRAM monte_carlo CALL read_input(…) DO realization = 1, number_of_realizations CALL generate_random_realization(…) CALL calculate_properties(…) END DO CALL calculate_average(…) END PROGRAM monte_carlo How would you parallelize this?

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Parallel Monte Carlo PROGRAM monte_carlo [MPI startup] IF (my_rank == server_rank) THEN CALL read_input(…) END IF CALL MPI_Bcast(…) DO realization = 1, number_of_realizations CALL generate_random_realization(…) CALL calculate_realization_properties(…) CALL calculate_local_running_average(...) END DO IF (my_rank == server_rank) THEN [collect properties] ELSE [send properties] END IF CALL calculate_global_average_from_local_averages(…) CALL output_overall_average(...) [MPI shutdown] END PROGRAM monte_carlo

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August Okla. Supercomputing Symposium 2006 Keynote: Dan Atkins Head of NSF’s Office of Cyber- infrastructure 2004 Keynote: Sangtae Kim NSF Shared Cyberinfrastructure Division Director 2003 Keynote: Peter Freeman NSF Computer & Information Science & Engineering Assistant Director 2005 Keynote: Walt Brooks NASA Advanced Supercomputing Division Director Keynote: Jay Boisseau Director Texas Advanced Computing Center U. Texas Austin Tue Oct 7 OU Over 250 registrations already! Over 150 in the first day, over 200 in the first week, over 225 in the first month. FREE! Parallel Computing Workshop Mon Oct OU sponsored by SC08 FREE! Symposium Tue Oct OU 2008 Keynote: José Munoz Deputy Office Director/ Senior Scientific Advisor Office of Cyber- infrastructure National Science Foundation

SC08 Parallel & Cluster Computing: Monte Carlo University of Oklahoma, August To Learn More

Thanks for your attention! Questions?