Parallelization of a Non-Linear Analysis Code Lee Hively and Jim Nutaro (mentors) Computational Sciences and Engineering Travis Whitlow Research Alliance.

Slides:



Advertisements
Similar presentations
O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Center for Computational Sciences Cray X1 and Black Widow at ORNL Center for Computational.
Advertisements

Attack Graphs for Proactive Digital Forensics Tara L. McQueen Delaware State University Louis P. Wilder Computational Sciences and Engineering Division.
I would like to thank Louis P. Wilder and Dr. Joseph Trien for the opportunity to work on this project and for their continued support. The Research Alliance.
O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 1 A Brief Summer Recap Flocking, CUDA, GPU, Ants, and More Jesse St.Charles.
Weigh-in-Motion User Manual for WIM Integrated System Cindy Lopez City University of New York-York College Research Alliance in Math and Science (RAMS)
First Lego League of Tennessee Quentoria Leeks Fisk University Research Alliance in Math and Science Computer Applications and Web Technologies Networking.
Presented to George Seweryniak Mathematical, Information, and Computational Sciences Erin A. Lennartz Virginia Polytechnic Institute and State University.
Managed by UT-Battelle for the Department of Energy 1 Mathematical Modeling of Fatty Acid Oxidation in Skeletal Muscle Cells Sheds New Light on Obesity.
An Introduction to Parallel Computing Dr. David Cronk Innovative Computing Lab University of Tennessee Distribution A: Approved for public release; distribution.
O AK R IDGE N ATIONAL L ABORATORY U.S. D EPARTMENT OF E NERGY 1 Identifying Regulatory Transcriptional Elements on Functional Gene Groups Using Computer-
Cluster Computing Applications Project: Parallelizing BLAST The field of Bioinformatics needs faster string matching algorithms. What Exactly is BLAST?
O AK R IDGE N ATIONAL L ABORATORY U.S. D EPARTMENT OF E NERGY Cluster Computing Applications Project Parallelizing BLAST Research Alliance of Minorities.
Application of robotics methods to Neutron and Synchrotron diffraction instrumentation Jon James, Nov 2008 Department of Design, Development, Environment.
The Evaluation of an Embedded System for First Responders Nicholas Brabson The University of Tennessee David Hill Computational Sciences and Engineering.
1 Web Based Interface for Numerical Simulations of Nonlinear Evolution Equations Ryan N. Foster & Thiab Taha Department of Computer Science The University.
Weigh-in-Motion User Manual For WIM Integrated System Cindy Lopez City University of New York – York College Research Alliance in Math and Science Computational.
Introduction to Parallel Programming MapReduce Except where otherwise noted all portions of this work are Copyright (c) 2007 Google and are licensed under.
CHAPTER 12 ADVANCED INTELLIGENT SYSTEMS © 2005 Prentice Hall, Decision Support Systems and Intelligent Systems, 7th Edition, Turban, Aronson, and Liang.
Exercise problems for students taking the Programming Parallel Computers course. Janusz Kowalik Piotr Arlukowicz Tadeusz Puzniakowski Informatics Institute.
Methods  OpenGL Functionality Visualization Tool Functionality 1)3D Shape/Adding Color1)Atom/element representations 2)Blending/Rotation 2)Rotation 3)Sphere.
Tiffany M. Marshall Saint Mary-of-the-Woods College Mentors : Tim McKnight Measurement Science and Systems.
Tennessee Technological University1 The Scientific Importance of Big Data Xia Li Tennessee Technological University.
O AK R IDGE N ATIONAL L ABORATORY U.S. D EPARTMENT OF E NERGY Nanoscale Electronics / Single-Electron Transport in Quantum Dot Arrays Dene Farrell SUNY.
Integrating Visualization Peripherals into Power-Walls and Similar Tiled Display Environments James Da Cunha Savannah State University Research Alliance.
ICOM 5995: Performance Instrumentation and Visualization for High Performance Computer Systems Lecture 7 October 16, 2002 Nayda G. Santiago.
The Effects of Radio Propagation in the Workplace Carolyn Jo Shields Research Alliance in Math and Science Information Technology Services Division, Oak.
O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY RobustMap: A Fast and Robust Algorithm for Dimension Reduction and Clustering Lionel F.
United States Grid Security and Reliability Control in High Load Conditions Christopher Lanclos—Mississippi Valley State University Research Alliance in.
OAK RIDGE NATIONAL LABORATORY U.S. DEPARTMENT OF ENERGY Parallel Solution of 2-D Heat Equation Using Laplace Finite Difference Presented by Valerie Spencer.
POSTER TEMPLATES BY: Meta data - data that provides information about data.Meta data - data that provides information about.
Introduction Relationship between climate and health widely studied Climatic temperature stress increases cardiovascular disease risk Solar UV radiation.
Lionel F. Lovett, II Jackson State University Research Alliance in Math and Science Computer Science and Mathematics Division Mentors: George Ostrouchov.
Managed by UT-Battelle for the Department of Energy 1 Advanced Brain-Wave Analysis For Early Diagnosis of Alzheimer’s Disease (AD) Presented by Jaron Murphy.
Managed by UT-Battelle for the Department of Energy 1 Integrated Catalogue (ICAT) Auto Update System Presented by Jessica Feng Research Alliance in Math.
Parallelization: Area Under a Curve. AUC: An important task in science Neuroscience – Endocrine levels in the body over time Economics – Discounting:
O AK R IDGE N ATIONAL L ABORATORY U.S. D EPARTMENT OF E NERGY 1 Parallel Solution of the 3-D Laplace Equation Using a Symmetric-Galerkin Boundary Integral.
A performance evaluation approach openModeller: A Framework for species distribution Modelling.
O AK R IDGE N ATIONAL L ABORATORY U.S. D EPARTMENT OF E NERGY A Comparison of Methods for Aligning Genomic Sequences Ja’Nera Mitchom Fisk University Research.
O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 1 On-line Automated Performance Diagnosis on Thousands of Processors Philip C. Roth Future.
April 26, CSE8380 Parallel and Distributed Processing Presentation Hong Yue Department of Computer Science & Engineering Southern Methodist University.
O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 1 SNS 2 Meeting Opening Remarks, Purpose Glenn R. Young Physics Division, ORNL August 28,
Parametric Study of Mechanical Stress in Abdominal Aortic Aneurysms (AAA) Erin A. Lennartz Virginia Polytechnic Institute and State University Research.
Modeling and Simulation Discrete-Event Simulation
Managed by UT-Battelle for the Department of Energy Flux Coupling Machines and Switched Reluctance Motors to Replace Permanent Magnets in Electric Vehicles.
METHODS CT scans were segmented and triangular surface meshes generated using Amira. Antiga and Steinman’s method (2004) for automatically extracting parameterized.
Hormone Replacement Therapy: Friend or Foe? A Retrospective Study for Prospective Research Research Alliance in Math and Science Computational Sciences.
The Research Alliance in Math and Science program is sponsored by the Office of Advanced Scientific Computing Research, Office of Science, U.S. Department.
O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 1 Ideas on a Framework and Methods for Estimating the Benefits of Government- Sponsored.
CCSM3 / HadCM3 Under predict precipitation rate near equator regions CCSM3 under predicts greater in SE U.S. than HadCM3 Methodology and Results Interpolate.
Advanced Brain-Wave Analysis For Early Diagnosis of Alzheimer’s Disease (AD) Jaron Murphy The Ohio State University Research Alliance in Math and Science.
1 Spallation Neutron Source Data Analysis Jessica Travierso Research Alliance in Math and Science Program Austin Peay State University Mentor: Vickie E.
CS- 492 : Distributed system & Parallel Processing Lecture 7: Sun: 15/5/1435 Foundations of designing parallel algorithms and shared memory models Lecturer/
Dr. Jacob Barhen Computer Science and Mathematics Division.
Project18’s Communication Drawing Design By: Camilo A. Silva BIOinformatics Summer 2008.
 Programming - the process of creating computer programs.
Managed by UT-Battelle for the Department of Energy 1 Decreasing the Artificial Attenuation of the RCSIM Radio Channel Simulation Software Abigail Snyder.
232 Th EVALUATION IN THE RESOLVED RESONANCE RANGE FROM 0 to 4 keV Nuclear Data Group Nuclear Science and Technology Division Oak Ridge National Laboratory.
Detecting Undesirable Insider Behavior Joseph A. Calandrino* Princeton University Steven J. McKinney* North Carolina State University Frederick T. Sheldon.
1 Advanced MPI William D. Gropp Rusty Lusk and Rajeev Thakur Mathematics and Computer Science Division Argonne National Laboratory.
Managed by UT-Battelle for the Department of Energy 1 United States Grid Security and Reliability Control in High Load Conditions Presented to Associate.
Source Localization in a Moving Sensor Field Acknowledgements A special thanks to my mentor Dr. Jacob Barhen for his assistance through the duration of.
Introduction to Performance Tuning Chia-heng Tu PAS Lab Summer Workshop 2009 June 30,
Report on the FCT MDC Stuart Anderson, Kent Blackburn, Philip Charlton, Jeffrey Edlund, Rick Jenet, Albert Lazzarini, Tom Prince, Massimo Tinto, Linqing.
Regression Testing for CHIMERA Jessica Travierso Austin Peay State University Bronson Messer National Center for Computational Sciences August 2009.
Regression Testing for CHIMERA Jessica Travierso Austin Peay State University Research Alliance in Math and Science National Center for Computational Sciences,
INTRODUCTION TO HIGH PERFORMANCE COMPUTING AND TERMINOLOGY.
Introduction to Parallel Computing: MPI, OpenMP and Hybrid Programming
Is System X for Me? Cal Ribbens Computer Science Department
Use of Mathematics using Technology (Maltlab)
CSE8380 Parallel and Distributed Processing Presentation
Presentation transcript:

Parallelization of a Non-Linear Analysis Code Lee Hively and Jim Nutaro (mentors) Computational Sciences and Engineering Travis Whitlow Research Alliance in Math and Science Program Alabama Agricultural and Mechanical University August 8, 2007 Oak Ridge, Tennessee

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 2 Outline  Problem statement  Research/objectives  Solution approach  MPI (Message Passing Interface)  Results  Summary

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 3 Problem FORTRAN-based, research code Predicts biomedical events (seizure) Searches over large parameter space 1≤ w ≤ 500(500) 5000 ≤ N ≤ 100,000(95,000) 2 ≤ S ≤ ≤ d ≤ 26 2 ≤ λ ≤ 250(250) 0 ≤ uE ≤ 1(2) (231) “Lots of combinations”

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 4 What is Parallel Computing? Theory Executable task can be divided into smaller chunks and run on multiple processors to achieve faster results Each job is calculated simultaneously Output Initialization Sent to processorsGather results

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 5 Parallel Computing Dependencies  Software compatibility  Memory  Each program segment independent of other segments

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 6 Research ORNL developed and patented novel forewarning technology Biomedical events Machine failures FORTRAN-based research code Accurately predicts epileptic seizures 4.5 hours of forewarning R & D 100 Award

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 7 Design Patterns of the Code Initialization Begins with process-indicative, time-serial data Rejects inadequate data quality to avoid the garbage-in-garbage- out syndrome Removes confounding artifacts Eye blinks Muscular artifacts Converts filtered data Statistical distribution function Captures a baseline signature Compares to signatures of dissimilarity Indicates condition change that detects or predicts the event Accurate prediction requires that the algorithm use a good parameter set

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 8 Goal  Perform Monte-Carlo search over large space of possible parameters  Analyze each parameter-set choice  Compare predictions made with each parameter set to known data sets How well can this parameter set predict events? True positive(s) True negative(s) The determination of the total true rate (sum of true positives and true negatives) for a specific set of parameters is independent of every other parameter set – Ideal problem for parallel computing!

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 9 Seizure Prediction Process 1. EEG data gathered and sent to SeizAlert device 2(a). Artifact removal done and discrete points generated 2(b). Analysis of dissimilarity 3. Forewarning result 1 2 3

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 10 Objectives 1.Parallelize existing research-class, nonlinear statistical FORTRAN code 2. Analyze Brain wave seizure data Statistical parameters for seizure forewarning 3.Find parameter sets that maximize total true rate

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 11 Approach  Note all possible options  Choose appropriate? suitable? option  Develop ways to implement that option MPI

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 12 MPI (Message Passing Interface) What is message passing? Programming paradigm used widely on parallel computers with distributed memory and on networks of workstations (NOWs) Head node

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 13 How Does MPI Work? Program Example integer :: a a = 0 do I = 1,10 a = a+1 end do print*, a FORTRANFORTRAN + MPI include ‘mpif.h’ integer myrank,a call MPI_INIT (…) call MPI_COMM_RANK(…) … call MPI_FINALIZE end

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 14 Results After each iteration, a single-line forewarning summary is given detailing attributes: Parameter set values True positives and true negatives The total true rate A standard forewarning summary would be written as, controls search areaforewarning details

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 15 Isolating each value, abcdefghijklmnp Where, a = montage (0 = monopolar, 1 = bipolar) b = half width of the artifact filter window (w) c = # pts per cutset d = # of dimensions in the PS* e = # symbols (S) f = time delay lag (λ ) g = uE (0 = uniform, 1 = equiprobable) h = # of base-case cutsets i = inter-PS*-symbol lag j = # DM above threshold within successive occurrence window k = # successive occurrences above l l = threshold m = total true rate (%) n = # false negatives p = # false positives *PS - phase-space, DM - dissimilarity measures

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 16 Also, successive runs performed on 2,4,8,16,32,64,128, and 256 processors Each run had unique random seed generator Head node not included (a) # N# PN * PCPU time (s)Relative CPU time N = parameter sets P = processors a

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 17 Plotting the relative CPU time…

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 18 Analysis Examined the forewarning summaries noticed that it was possible to choose better parameters by graphing the total true rate versus each parameter. By doing so: Visible parameter value region is shown See which values generate higher total true rates #NODES w N d S λ UE TTR=.90

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 19 Total true rate vs. parameter(s)

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 20 Summary Research highly dependent on ability to produce numerous results without sacrificing time. Achieved with MPI (Message Passing Interface) Obtained multiple results in single result time frame Chose better parameter visually Graphed total true rate vs. parameter(s)

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 21 Acknowledgements Dr. Lee Hively Dr. Jim Nutaro Dr. Nancy Munro Mark Elmore Debbie McCoy Dr. Z.T. Deng and Dr. Cathy Qian

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 22 The Research Alliance in Math and Science program is sponsored by the Mathematical, Information, and Computational Sciences Division, Office of Advanced Scientific Computing Research, U.S. Department of Energy. The work was performed at the Oak Ridge National Laboratory, which is managed by UT-Battelle, LLC under Contract No. De-AC05-00OR This work has been authored by a contractor of the U.S. Government, accordingly, the U.S. Government retains a non-exclusive, royalty-free license to publish or reproduce the published form of this contribution, or allow others to do so, for U.S Government purposes.

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 23 ??