Honor Thesis Presentation Mike Bantegui, Hofstra University Advisor: Dr. Xiang Fu, Hofstra University EFFICIENT SOLUTION OF THE N-BODY PROBLEM.

Slides:



Advertisements
Similar presentations
School of Computing University of Leeds Computational PDEs Unit A Grid-based approach to the validation and testing of lubrication models Christopher Goodyer.
Advertisements

Technology Drivers Traditional HPC application drivers – OS noise, resource monitoring and management, memory footprint – Complexity of resources to be.
Ryuji Morishima (UCLA/JPL). N-body code: Gravity solver + Integrator Gravity solver must be fast and handle close encounters Special hardware (N 2 ):
Parallel Strategies Partitioning consists of the following steps –Divide the problem into parts –Compute each part separately –Merge the results Divide.
Course Outline Introduction in algorithms and applications Parallel machines and architectures Overview of parallel machines, trends in top-500 Cluster.
Paper Presentation - An Efficient GPU-based Approach for Interactive Global Illumination- Rui Wang, Rui Wang, Kun Zhou, Minghao Pan, Hujun Bao Presenter.
Trees Chapter 8.
An Interactive Visualization of Super-peer P2P Networks Peiqun (Anthony) Yu.
Fall 2007CS 2251 Trees Chapter 8. Fall 2007CS 2252 Chapter Objectives To learn how to use a tree to represent a hierarchical organization of information.
Trees Chapter 8. Chapter 8: Trees2 Chapter Objectives To learn how to use a tree to represent a hierarchical organization of information To learn how.
Daniel Blackburn Load Balancing in Distributed N-Body Simulations.
Extensible Scalable Monitoring for Clusters of Computers Eric Anderson U.C. Berkeley Summer 1997 NOW Retreat.
Iteration Technique toward SOC EDA Lab, Department of Computer Science and Technology, Tsinghua University
Presented by Ozgur D. Sahin. Outline Introduction Neighborhood Functions ANF Algorithm Modifications Experimental Results Data Mining using ANF Conclusions.
Haptic Cloth Rendering 6th Dutch-Belgian Haptics Meeting TUDelft, 21 st June 2006 Lode Vanacken Expertise centre for Digital Media (EDM) Hasselt University.
Derek C. Richardson (U Maryland) PKDGRAV : A Parallel k-D Tree Gravity Solver for N-Body Problems FMM 2004.
The Composite Pattern.. Composite Pattern Intent –Compose objects into tree structures to represent part-whole hierarchies. –Composite lets clients treat.
Introducing Enterprise Technologies David Dischiave Syracuse University School of Information Studies “The original iSchool” June 3, 2013 Information School,
Parallel Performance of Hierarchical Multipole Algorithms for Inductance Extraction Ananth Grama, Purdue University Vivek Sarin, Texas A&M University Hemant.
ET E.T. International, Inc. X-Stack: Programming Challenges, Runtime Systems, and Tools Brandywine Team May2013.
GPU-accelerated Evaluation Platform for High Fidelity Networking Modeling 11 December 2007 Alex Donkers Joost Schutte.
Cut-And-Stitch: Efficient Parallel Learning of Linear Dynamical Systems on SMPs Lei Li Computer Science Department School of Computer Science Carnegie.
Course Outline Introduction in algorithms and applications Parallel machines and architectures Overview of parallel machines, trends in top-500, clusters,
Institute for Mathematical Modeling RAS 1 Dynamic load balancing. Overview. Simulation of combustion problems using multiprocessor computer systems For.
Scientific Computing Topics for Final Projects Dr. Guy Tel-Zur Version 2,
Artdaq Introduction artdaq is a toolkit for creating the event building and filtering portions of a DAQ. A set of ready-to-use components along with hooks.
“Study on Parallel SVM Based on MapReduce” Kuei-Ti Lu 03/12/2015.
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
Advisor: Dr. Aamir Shafi Co-Advisor: Mr. Ali Sajjad Member: Dr. Hafiz Farooq Member: Mr. Tahir Azim Optimizing N-body Simulations for Multi-core Compute.
Introduction to Apache Hadoop Zibo Wang. Introduction  What is Apache Hadoop?  Apache Hadoop is a software framework which provides open source libraries.
Timothy Reeves: Presenter Marisa Orr, Sherrill Biggers Evaluation of the Holistic Method to Size a 3-D Wheel/Soil Model.
2005 Materials Computation Center External Board Meeting The Materials Computation Center Duane D. Johnson and Richard M. Martin (PIs) Funded by NSF DMR.
Scheduling Many-Body Short Range MD Simulations on a Cluster of Workstations and Custom VLSI Hardware Sumanth J.V, David R. Swanson and Hong Jiang University.
Trees Chapter 8. Chapter 8: Trees2 Chapter Objectives To learn how to use a tree to represent a hierarchical organization of information To learn how.
4.2.1 Programming Models Technology drivers – Node count, scale of parallelism within the node – Heterogeneity – Complex memory hierarchies – Failure rates.
By Mahmoud Moustafa Zidan Basic Sciences Department Faculty of Computer and Information Sciences Ain Shams University Under Supervision of Prof. Dr. Taymoor.
1/20 Optimization of Multi-level Checkpoint Model for Large Scale HPC Applications Sheng Di, Mohamed Slim Bouguerra, Leonardo Bautista-gomez, Franck Cappello.
Nick Draper 05/11/2008 Mantid Manipulation and Analysis Toolkit for ISIS data.
MSc Thesis presentation – Thijs Bosma – December 4th 2013
Direct Message Passing for Hybrid Bayesian Networks Wei Sun, PhD Assistant Research Professor SFL, C4I Center, SEOR Dept. George Mason University, 2009.
Mark Marron 1, Deepak Kapur 2, Manuel Hermenegildo 1 1 Imdea-Software (Spain) 2 University of New Mexico 1.
Computational Aspects of Multi-scale Modeling Ahmed Sameh, Ananth Grama Computing Research Institute Purdue University.
Patch Based Prediction Techniques University of Houston By: Paul AMALAMAN From: UH-DMML Lab Director: Dr. Eick.
RADHA-KRISHNA BALLA 19 FEBRUARY, 2009 UCT for Tactical Assault Battles in Real-Time Strategy Games.
Mike Graves Summer 2005 University of Texas at Dallas Implicit Invocation: The Task Control Architecture Mike Graves CS6362 Term Paper Dr. Lawrence Chung.
An Efficient CUDA Implementation of the Tree-Based Barnes Hut n-body Algorithm By Martin Burtscher and Keshav Pingali Jason Wengert.
Pre-calculated Fluid Simulator States Tree Marek Gayer and Pavel Slavík C omputer G raphics G roup Department of Computer Science and Engineering Faculty.
Barnes Hut N-body Simulation Martin Burtscher Fall 2009.
Data Structures and Algorithms in Parallel Computing Lecture 10.
I MAGIS is a joint project of CNRS - INPG - INRIA - UJF iMAGIS-GRAVIR / IMAG Efficient Parallel Refinement for Hierarchical Radiosity on a DSM computer.
Mark Marron 1, Deepak Kapur 2, Manuel Hermenegildo 1 1 Imdea-Software (Spain) 2 University of New Mexico 1.
V.M. Sliusar, V.I. Zhdanov Astronomical Observatory, Taras Shevchenko National University of Kyiv Observatorna str., 3, Kiev Ukraine
Optimal Relay Placement for Indoor Sensor Networks Cuiyao Xue †, Yanmin Zhu †, Lei Ni †, Minglu Li †, Bo Li ‡ † Shanghai Jiao Tong University ‡ HK University.
Kriging for Estimation of Mineral Resources GISELA/EPIKH School Exequiel Sepúlveda Department of Mining Engineering, University of Chile, Chile ALGES Laboratory,
Barnes Hut N-body Simulation Martin Burtscher Fall 2009.
ChaNGa CHArm N-body GrAvity. Thomas Quinn Graeme Lufkin Joachim Stadel Laxmikant Kale Filippo Gioachin Pritish Jetley Celso Mendes Amit Sharma.
Experience Report: System Log Analysis for Anomaly Detection
Kai Li, Allen D. Malony, Sameer Shende, Robert Bell
Accelerators to Applications
Setup distribution of N particles
ChaNGa: Design Issues in High Performance Cosmology
Condensed Matter Physics and Materials Science: David M
Performance Evaluation of the Parallel Fast Multipole Algorithm Using the Optimal Effectiveness Metric Ioana Banicescu and Mark Bilderback Department of.
Course Outline Introduction in algorithms and applications
Supported by the National Science Foundation.
Setup distribution of N particles
August 8, 2006 Danny Budik, Itamar Elhanany Machine Intelligence Lab
N-Body Gravitational Simulations
Topology Optimization through Computer Aided Software
Presentation transcript:

Honor Thesis Presentation Mike Bantegui, Hofstra University Advisor: Dr. Xiang Fu, Hofstra University EFFICIENT SOLUTION OF THE N-BODY PROBLEM

OUTLINE The N-Body Problem Computational challenges Results Existing work IGS Framework Extensions

THE N-BODY PROBLEM

THE N-BODY PROBLEM CONT. Must integrate 3N coupled nonlinear second order ordinary differential equations Not analytically possible except for N = 2 Must resort to numerical methods

CANDIDATE NUMERICAL SOLUTION

FORCE EVALUATION STEP

EXAMPLE FORCE EVALUATION

TIME COMPLEXITY

ISSUES WITH CANDIDATE SOLUTION

“GEOMETRIC TRICK” FOR PARALLELIZATION

TIME COMPLEXITY OF GEOMETRIC TRICK

ISSUES WITH GEOMETRIC TRICK

NAÏVE FORCE EVALUATION SPEEDUP

HANDLING CLOSE ENCOUNTERS

A MORE EFFICIENT WAY OF EVALUATING FORCE

EXAMPLE OF CLUSTERING BODIES

HIERARCHICAL FORCE EVALUATION Apply the clustering principle recursively Consider sub-clusters within a cluster Refine force evaluation via sub-clusters instead of main cluster

CLUSTERING ALGORITHM Node Cluster(bodies, min_bound, max_bound) If bodies.size == 0 return null if bodies.size == 1 return node containing body Collect bodies into spatial groups For each group Cluster(group.bodies, group.min_bound, group.max_bound) Compute first order multipole expansion, passing up tree return node containing groups

METHODS OF SPATIAL SUBDIVISION

FORCE EVALUATION ALGORITHM TreeWalk(body) For each branch in the tree If branch is leaf If branch.body != body Compute force of branch.body on body Else Compute distance between branch and body If body is well separated from cluster Compute force of branch on body Else branch.TreeWalk(body)

FORCE EVALUATION ALGORITHM, CONT

SEPARATION CRITERIA

TIME COMPLEXITY OF TREE WALK

OVERVIEW OF HIERARCHICAL ALGORITHM

PARALLELIZING TREE METHODS

SCALING TO LARGE N, OCTREE

SCALING TO LARGE N, KD-TREE

SCALING TO LARGE N, BRUTE FORCE

BRUTE FORCE VS TREE METHODS

ENERGY ERRORS

ENERGY ERRORS CONT.

RELATED WORK nbody1 – nbody6, Sverre Aarseth ACS toolkit, Jun Makino and Piet Hut Grav-Sim, Mark Ridler Gravit, Gerald Kaszuba et al.

THE PROPOSED FRAMEWORK Component based Interactive Gravitational Simulator CoreIGS – Core simulation library CmdIGS – Command line driven interface VisIGS – Interactive visualizer

SOFTWARE ARCHITECTURE

PROJECT STATS Open Source – Available at IGS.codeplex.com 3 + years development 5670 lines of code 65. cpp,.h files 107 subversion revisions 8 development iterations Many failures before success!

EXTENSIONS

CONCLUSIONS Tree methods very efficient Performance vs. Accuracy tradeoff possible Extremely parallelizable Accurate, real-time simulations possible on commodity hardware

ACKNOWLEDGEMENTS Dr. Xiang Fu for advisement and helpful discussions Dr. Gerda Kamberova for helpful comments on the paper Lukasz Bator for many discussions on algorithmic efficiency

THANK YOU FOR COMING! Any questions?