Better Scientific Software

a tutorial presented at

ISC High Performance

on 2:00 pm - 6:00 pm CEST (UTC+2) Sunday 29 May 2022

Presenters: Anshu Dubey (Argonne National Laboratory) and Gregory R. Watson (Oak Ridge National Laboratory)


This page provides detailed information specific to the tutorial event above. Expect updates to this page up to, and perhaps shortly after, the date of the tutorial. Pages for other tutorial events can be accessed from the main page of this site.


Quick Links

On this Page


Description

The computational science and engineering (CSE) community is in the midst of an extremely challenging period created by the confluence of disruptive changes in computing architectures, demand for greater scientific reproducibility, and new opportunities for greatly improved simulation capabilities, especially through coupling physics and scales. Computer architecture changes require new software design and implementation strategies, including significant refactoring of existing code. Reproducibility demands require more rigor across the entire software endeavor. Code coupling requires aggregate team interactions including integration of software processes and practices. These challenges demand large investments in scientific software development and improved practices. Focusing on improved developer productivity and software sustainability is both urgent and essential.

This tutorial will provide information and hands-on experience with software practices, processes, and tools explicitly tailored for CSE. Goals are improving the productivity of those who develop CSE software and increasing the sustainability of software artifacts. We discuss practices that are relevant for projects of all sizes, with emphasis on small teams, and on aggregate teams composed of small teams. Topics include software licensing, effective models, tools, and processes for small teams (including agile workflow management), reproducibility, and scientific software testing (including automated testing and continuous integration).


Agenda

Time (CEST)ModuleTitlePresenter
2:00 PM0Introduction and Setup Anshu Dubey (ANL)
2:10 PM1Motivation and Overview of Best Practices in HPC Software Development Anshu Dubey (ANL)
2:30 PM2Agile Methodologies Gregory R. Watson (ORNL)
3:00 PM3Git Workflows Gregory R. Watson (ORNL)
3:30 PM4Scientific Software Design Anshu Dubey (ANL)
4:00 PMBreak
4:30 PM5Improving Reproducibility Through Better Software Practices Gregory R. Watson (ORNL)
5:00 PM6Software Testing Introduction Gregory R. Watson (ORNL)
5:20 PM7Continuous Integration Gregory R. Watson (ORNL)
5:40 PM8Summary Anshu Dubey (ANL)
6:00 PMAdjourn

Presentation Slides

The latest version of the slides will always be available at https://doi.org/10.6084/m9.figshare.19781752.

Note that these files may include additional slides that will not be discussed during the tutorial, but questions are welcome.


Hands-On Exercises

Introduction

The hands-on exercises for this tutorial are based around a simple numerical model using the one-dimensional heat equation. The example is described briefly in the repository’s README file, and in greater detail in the ATPESC Hands-On lesson. The ATPESC version focuses on the numerical aspects of the model.

But for this tutorial, we’re focused on how to make the software better from a quality perspective, so you don’t need to understand the math to do these exercises.

For the purposes of these hands-on exercises, you should imagine you’ve inherited an early version of the hello-numerical-world software from a colleague who’s left the project, and you’ve been assigned to get it into better shape so that it can be used in the next ATPESC summer school.

The repository you’ll be working with is: bssw-tutorial/hello-numerical-world-2022-05-29-isc.

Note: most of the screenshots will refer to the generic “hello-numerical-world” repository rather than the one specifically for this event.

List of Hands-On Exercises

Note that not every presentation module has exercises (yet).

There are also activities associated with a couple of modules that we didn’t have time to cover in this tutorial. You are welcome to try them out too.


Stay in Touch


If you’re interested in this tutorial, you might be interested in this list of other software-related events taking place in the ISC22 conference.


Resources from Presentations

Links from the tutorial presentations are listed here for convenience


Requested Citation

The requested citation the overall tutorial is:

Anshu Dubey and Gregory R. Watson, Better Scientific Software tutorial, in ISC High Performance, Hamburg, Germany, and online, 2022. DOI: 10.6084/m9.figshare.19781752.

Individual modules may be cited as Speaker, Module Title, in Better Scientific Software tutorial…


Acknowledgements

This tutorial is produced by the IDEAS Productivity project.

This work was supported by the U.S. Department of Energy Office of Science, Office of Advanced Scientific Computing Research (ASCR), and by the Exascale Computing Project (17-SC-20-SC), a collaborative effort of the U.S. Department of Energy Office of Science and the National Nuclear Security Administration.