Backpacks for Notebooks: Enabling Containerized Notebook Workflows in Distributed Environments
Notebooks have become widely adopted in the scientific community due to their interactive interface and ease of sharing. However, using notebooks to execute large-scale scientific workflows remains challenging. Scientific workflows are typically distributed and require resource provisioning and data management prior to execution. Because notebooks do not natively embed workflow specifications, users often resort to inserting custom configuration steps directly within notebook cells to enable provisioning. This practice undermines reproducibility, as the same notebook may not run consistently across different cluster environments. In this paper, we introduce the concept of a notebook backpack—a companion specification that captures the embedded workflow along with all relevant configuration elements. We describe how notebook tracing can be leveraged to automatically populate the backpack. We then describe an integrated tool that provisions a backpack on distributed resources. Using real-world case studies, we demonstrate that the backpack abstraction enables minimal modification of the notebook, portable execution, and cross-site reproducibility of notebook-based workflows on HPC clusters without significantly increasing notebook execution time.
Authors
- Douglas Thain (ORCID: https://orcid.org/0000-0001-5218-1956)
- Md Saiful Islam (ORCID: https://orcid.org/0009-0008-9819-3897)
- Furqan Baig (ORCID: https://orcid.org/0000-0003-1609-5545)
- Raza Ahmad (ORCID: https://orcid.org/0000-0001-7953-2269)
- Tanu Malik (ORCID: https://orcid.org/0009-0007-9656-727X)
- Shaowen Wang (ORCID: https://orcid.org/0000-0001-7027-5956)
- K. Lannon (ORCID: https://orcid.org/0000-0002-9706-0098)
- Arfat Hossain (ORCID: https://orcid.org/0009-0008-3229-8821)
- Talha Azaz
Institutions
- University of Notre Dame (US)
- DePaul University (US)
- University of Illinois Urbana-Champaign (US)
- University of Missouri (US)
Publication Details
- Published
- 2025-09-15
- DOI
- https://doi.org/10.1109/escience65000.2025.00028
- Primary Topic
- Semantic Web and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00