Fifth Computational and Data Science school for HEP (CoDaS-HEP 2023)

US/Eastern
407 Jadwin Hall (Princeton University)

407 Jadwin Hall

Princeton University

Princeton Center For Theoretical Science (PCTS)
Description

The fifth school on tools, techniques and methods for Computational and Data Science for High Energy Physics (CoDaS-HEP 2023) will take place on 17-21 July, 2023, at Princeton University.

Advanced software is a critical ingredient to scientific research. Training young researchers in the latest tools and techniques is an essential part of developing the skills required for a successful career both in research and in industry.

The CoDaS-HEP school aims to provide a broad introduction to these critical skills as well as an overview of applications High Energy Physics. Specific topics to be covered at the school include:

  • Parallel Programming 
  • Big Data Tools and Techniques
  • Machine Learning 
  • Practical skills like performance evaluation, collaborative use of git/github, etc.

The school offers a limited number of young researchers an opportunity to learn these skills from experienced scientists and instructors. Successful applicants will receive travel and lodging support to attend the school.

School website: http://codas-hep.org   

The school lectures will take place in 407 Jadwin Hall, in the main lecture hall of the Princeton Center for Theoretical Science (PCTS).

This event is supported by National Science Foundation grants OAC-1829707, OAC-1829729, OAC-2017699 and OAC-1836650, the Princeton Institute for Computational Science and Engineering (PICSciE), the Princeton Physics Department, the Office of the Dean for Research of Princeton University and the Enrico Fermi Institute at the University of Chicago. Any opinions, findings, conclusions or recommendations expressed in this material are those of the developers and do not necessarily reflect the views of the National Science Foundation.

 

    • 8:30 AM 9:00 AM
      Breakfast 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 9:00 AM 9:10 AM
      Welcome and Overview 10m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speaker: Peter Elmer (Princeton University (US))
    • 9:10 AM 10:30 AM
      Collaborative Software Development with Git(Hub) 1h 20m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      Git is perhaps the single biggest denominator among all software developers, regardless of field or programming language. It serves not only as a version control system but as the backbone of all collaborative software development.

      This session aims to be 100% hands-on and at least 90% collaborative. We will exclusively work in the browser, using GitHub and GitHub codespaces. Learn forking, branching, opening pull requests, handling merge requests, and more. GitHub account required.

      Speaker: Kilian Lieret (Princeton University)
    • 10:30 AM 11:00 AM
      Coffee Break 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 11:00 AM 11:45 AM
      What Every Computational Physicist Should Know About Computer Architecture 45m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      These days, everyone in physics in a computational physicist in one way or another. Experiments, theory, and (obviously) simulations all rely heavily on computers. Isn't it time you got to know them better? Computer architecture is an interesting study in its own right, and how well one understands and uses the capabilities of today's systems can have real implications for how fast your computational work gets done. Let's dig in, learn some terminology, and find out what's in there.

      Speaker: Steven R Lantz (Cornell University (US))
    • 11:45 AM 12:30 PM
      Vector Parallelism on Multi-Core Processors 45m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      All modern CPUs boost their performance through vector processing units (VPUs). VPUs are activated through special SIMD instructions that load multiple numbers into extra-wide registers and operate on them simultaneously. Intel's latest processors feature a plethora of 512-bit vector registers, as well as 1 or 2 VPUs per core, each of which can operate on 16 floats or 8 doubles in every cycle. Typically these SIMD gains are achieved not by the programmer directly, but by (a) the compiler through automatic vectorization of simple loops in the source code, or (b) function calls to highly vectorized performance libraries. Either way, vectorization is a significant component of parallel performance on CPUs, and to maximize performance, it is important to consider how well one's code is vectorized. We will take a look at vector hardware, then turn to simple code examples that illustrate how compiler-generated vectorization works.

      Speaker: Steven R Lantz (Cornell University (US))
    • 12:30 PM 1:30 PM
      Lunch 1h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 1:30 PM 3:00 PM
      Parallel Programming - An introduction to parallel computing with OpenMP 1h 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      We start with a discussion of the historical roots of parallel computing and how they appear in a modern context. We'll then use OpenMP and a series of hands-on exercises to explore the fundamental concepts behind parallel programming.

      Speaker: Tim Mattson (Intel)
    • 3:00 PM 3:30 PM
      Coffee Break 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 3:30 PM 5:30 PM
      Parallel Programming - The OpenMP Common Core 2h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      We will explore through hands-on exercises the common core of OpenMP; that is, the features of the API that most OpenMP programmers use in all their parallel programs. This will provide a foundation of understanding you can build on as you explore the more advanced features of OpenMP.

      Speaker: Tim Mattson (Intel)
    • 6:00 PM 7:30 PM
      Welcome Light Reception 1h 30m Lewis Library Atrium

      Lewis Library Atrium

    • 8:00 AM 8:30 AM
      Breakfast 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 8:30 AM 10:30 AM
      Parallel Programming - Working with OpenMP 2h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      We now know how to work with threads directly and how to parallelize loops with OpenMP directives. Now we move on managing the data environment. Our Hands-on exercises will be much more complicated as we explore how to debug multithreaded programs. Then we move on to task-level parallelism in OpenMP and wrap up with a look at the core design patterns of OpenMP.

      Speaker: Tim Mattson (Intel)
    • 10:30 AM 10:40 AM
      Group Photo - Jadwin Hall plaza 10m
    • 10:40 AM 11:00 AM
      Coffee Break 20m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 11:00 AM 12:30 PM
      Parallel Programming - The world beyond OpenMP 1h 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      Parallel programming is hard. There is no way to avoid that reality. We can mitigate these difficulties by focusing on the fundamental design patterns from which most parallel algorithms are constructed. Once mastered, these patterns make it much easier to understand how your problems map onto other parallel programming models. Hence for our last session on parallel programming, we'll review these essential design patterns as seen in OpenMP, and then show how they appear in cluster computing (with MPI) and GPGPU computing (with OpenMP and then a quick survey of other GPGPU languages).

      Speaker: Tim Mattson (Intel)
    • 12:30 PM 1:30 PM
      Lunch 1h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 1:30 PM 3:00 PM
      The Scientific Python Ecosystem 1h 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      In recent years, Python has become a glue language for scientific computing. Although code written in Python is generally slow, it has a good connection with compiled C code and a common data abstraction through Numpy. Many data processing, statistical, and most machine learning software has a Python interface as a matter of course.

      This tutorial will introduce you to core Python packages for science, such as NumPy, SciPy, Matplotlib, Pandas, and Numba, (part 1) as well as HEP-specific tools like iminuit, particle, pyjet, and pyhf (part 2). We'll especially focus on accessing ROOT data in uproot and awkward. Part 1 will also cover the Scientific Python Development Guide and a short discussion on packaging.

      Speaker: Henry Fredrick Schreiner (Princeton University)
    • 3:00 PM 3:30 PM
      Coffee Break 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 3:30 PM 5:30 PM
      The Scientific Python Ecosystem 2h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      Continued from last time. Part 2 focuses on the HEP portion of the ecosystem.

      Speaker: Henry Fredrick Schreiner (Princeton University)
    • 6:30 PM 9:00 PM
      BBQ and Drinks - Palmer House 2h 30m
    • 8:00 AM 8:30 AM
      Breakfast 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 8:30 AM 9:30 AM
      Floating Point Arithmetic Is Not Real 1h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speaker: Ianna Osborne (Princeton University)
    • 9:30 AM 10:30 AM
      The Use and Abuse of Random Numbers 1h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speaker: David Lange (Princeton University (US))
    • 10:30 AM 11:00 AM
      Coffee Break 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 11:00 AM 11:30 AM
      Vector Parallelism on Multi-Core Processors (continued) 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speaker: Steven R Lantz (Cornell University (US))
    • 11:30 AM 12:00 PM
      Introduction to Performance Tuning & Optimization Tools 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      Improving the performance of scientific code is something that is often considered to be an art that is difficult, mysterious, and time-consuming, but it doesn't have to be. Performance tuning and optimization tools can greatly aid in the evaluation and understanding of the performance of scientific code. In this talk we will discuss how to approach performance tuning and introduce some measurement tools to evaluate the performance of compiled-language (C/C++/Fortran) code. Powerful profiling tools, such as Intel VTune and Advisor, will be introduced and discussed.

      Speaker: Steven R Lantz (Cornell University (US))
    • 12:00 PM 12:30 PM
      Performance Case Study: the mkFit Particle Tracking Code 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      This is a demo of how to run various analyses with Intel Advisor, to see what they reveal about hotspots in current version of the mkFit particle tracking code; these may represent opportunities for improving the code's performance.

      Speaker: Steven R Lantz (Cornell University (US))
    • 12:30 PM 1:30 PM
      Lunch 1h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 1:30 PM 3:00 PM
      Machine Learning: Introduction to Machine Learning 1h 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speakers: Abhijith Gandrakota (Fermi National Accelerator Lab. (US)), Adrian Alan Pol (Princeton University (US))
    • 3:00 PM 3:30 PM
      Coffee Break 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 3:30 PM 5:30 PM
      Machine Learning: Supervised Deep Learning 2h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speakers: Abhijith Gandrakota (Fermi National Accelerator Lab. (US)), Adrian Alan Pol (Princeton University (US))

      Supervised Deep Learning: Basics of deep learning, backpropagation, optimization i.e. Multi-Layer Perceptrons (MLPs)

    • 6:00 PM 8:00 PM
      Dinner on your own 2h
    • 8:00 AM 8:30 AM
      Breakfast 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 8:30 AM 10:00 AM
      Machine Learning: Convolutional Neural Networks and Autoencoders 1h 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speakers: Abhijith Gandrakota (Fermi National Accelerator Lab. (US)), Adrian Alan Pol (Princeton University (US))
    • 10:00 AM 10:30 AM
      Coffee Break 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 10:30 AM 12:30 PM
      Machine Learning: Permutation Invarience 2h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speakers: Abhijith Gandrakota (Fermi National Accelerator Lab. (US)), Adrian Alan Pol (Princeton University (US))
    • 12:30 PM 1:30 PM
      Lunch 1h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 1:30 PM 3:00 PM
      Columnar Data Analysis 1h 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      Data analysis languages, such as Numpy, MATLAB, R, IDL, and ADL, are typically interactive with an array-at-a-time interface. Instead of performing an entire analysis in a single loop, each step in the calculation is a separate pass, letting the user inspect distributions each step of the way.

      Unfortunately, these languages are limited to primitive data types: mostly numbers and booleans. Variable-length and nested data structures, such as different numbers of particles per event, don't fit this model. Fortunately, the model can be extended.

      This tutorial will introduce awkward-array, the concepts of columnar data structures, and how to use them in data analysis, such as computing combinatorics (quantities depending on combinations of particles) without any for loops.

      Speakers: Ioana Ifrim (Princeton University (US)), Jim Pivarski (Princeton University)
    • 3:00 PM 3:30 PM
      Coffee Break 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 3:30 PM 5:30 PM
      Columnar Data Analysis 2h 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speakers: Ioana Ifrim (Princeton University (US)), Jim Pivarski (Princeton University)
    • 6:00 PM 9:00 PM
      School Dinner - Frick Atrium and Patio 3h
    • 8:30 AM 9:00 AM
      Breakfast 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 9:00 AM 9:45 AM
      Things you didn't know you needed 45m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
      Speakers: Henry Fredrick Schreiner (Princeton University), Kilian Lieret (Princeton University)
    • 9:45 AM 10:30 AM
      Parallelized Track Reconstruction for the LHC: the mkFit Project 45m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)

      In this presentation, we consider how a physics application may be restructured to take better advantage of vectorization and multithreading. For vectorization, we focus on the Matriplex concept that is used to implement parallel Kalman filtering in our collaboration's particle tracking R&D project called mkFit. Drastic changes to data structures and loops were required to help the compiler find the SIMD opportunities in the algorithm. For multithreading, we examine how binning detector hits and tracks in an abstraction of the detector geometry enabled track candidates to be processed in bunches. We conclude by looking at how Intel VTune and Advisor, together with simple test codes, played a role in identifying and resolving trouble spots that affected performance. The mkFit code is now part of the production software for CMS in LHC Run 3.

      Speaker: Steven R Lantz (Cornell University (US))
    • 10:30 AM 11:00 AM
      Coffee Break 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)
    • 11:00 AM 12:30 PM
      Closing Session 1h 30m 407 Jadwin Hall

      407 Jadwin Hall

      Princeton University

      Princeton Center For Theoretical Science (PCTS)