Expanding Interactive Computing to Facilitate Informal Instruction in Research Computing

Richard Lawrence, Tri M. Pham, Phi T. Au, Xin Yang, Kyle Hsu, Stuti H. Trivedi, Lisa M. Pérez, Dhruva K. ChakravortyThe Journal of Computational Science Education 2022

Abstract

Successful outreach to computational researchers for informing about the benefits of switching to a different computing environment depends on the educator's ability to showcase practical research and development workflows in the new computing environment. Interactive, graphical computing environments are crucial to engage learners in computing education and offer researchers easier ways to adopt new technologies. Interactive, graphical computing allows learners to see the results of their work in real time, which provides the needed feedback for learning and enables chunking of complex tasks. Moreover, there is a natural synergy between computing education and computing research; researchers who are exposed to new computing skills within the context of an interactive and engaging environment are more likely to retain the new skills and adopt the new computing environment in their research and development workflows. Support for interactive, graphical workflows with modern computing tools in containerized computing environments has to be incorporated on high performance computing systems. To begin to address this deficiency, here we discuss our approach to teach containerization technologies in the popular integrated development environment of the Jupyter Notebook. We report on our scheme for implementing containerized software environments for interactive, graphical computing within the Open OnDemand (OOD) framework for research computing workflows, providing an accessible on-ramp for researchers transitioning to containerized technologies. In addition, we introduce several quality-of-life improvements for researchers and educators that will encourage them to continue to use the platform.

Introduction

High-Performance Computing (HPC) environments traditionally present a steep learning curve, often referred to as the "command line barrier." While modern researchers favor interactive, graphical environments like Jupyter Notebooks for rapid prototyping, traditional HPC workflows typically demand mastery of terminal-based batch scheduling. Furthermore, as the research community moves toward FAIR (Findability, Accessibility, Interoperability, and Reusability) standards, containerization technologies like Singularity have become essential yet remain difficult to teach. Researchers at Texas A&M are addressing these challenges by integrating containerized workflows into the Open OnDemand (OOD) web portal, providing an accessible "on-ramp" for complex technologies.

Methodology

The team utilized the Open OnDemand (OOD) framework to create a seamless browser-based interface for HPC. A key innovation is the containerized Jupyter integration, which wraps standard notebook launches within Singularity containers using the command singularity exec [image] jupyter notebook. This allows researchers to leverage portable, reproducible environments without mastering complex container syntax.

To manage the interface's complexity, the researchers implemented dynamic UI elements using JavaScript. These custom forms toggle the visibility of specific fields—such as the path to a container image—only when a "Containers (Singularity)" environment is selected, reducing cognitive load for the user.

The Open OnDemand interface for launching a Jupyter Notebook within a Singularity container.

Beyond containerization, the platform includes several "Quality-of-Life" (QoL) improvements. These include a centralized dashboard for helpdesk tickets, a job composer with pre-built templates for common software like MATLAB and R, and streamlined forms for disk quota increases. For synchronous instruction, a "view-only" VNC feature allows instructors to broadcast their live graphical environments to students.

Results and Impact

The effectiveness of this approach was evaluated through participation metrics from Texas A&M High Performance Research Computing (HPRC) short courses in Spring 2021. The OOD platform has grown to support over 1,600 active users.

Participation metrics for various HPRC short courses utilizing Open OnDemand features.

As shown in the participation data, courses leveraging OOD features saw high engagement, particularly the Schedulers Primer (292 participants) and Introduction to Python (235 participants). While specialized containerization courses had lower initial attendance, feedback was overwhelmingly positive, indicating that the interactive environment successfully lowered the barrier to entry for advanced technologies.

Conclusion

The integration of interactive, graphical tools into HPC workflows creates a natural synergy between education and research. By providing visible evidence of container support within a familiar web portal, the platform acts as a passive educational tool, encouraging researchers to adopt modern, reproducible workflows. Future work will focus on establishing a local container registry and integrating a direct knowledge base into the OOD interface to provide just-in-time learning resources.

Summary updated

BibTeX
@article{lawrence2022expanding,
  author = {Richard Lawrence and Tri M. Pham and Phi T. Au and Xin Yang and Kyle Hsu and Stuti H. Trivedi and Lisa M. Pérez and Dhruva K. Chakravorty},
  title = {{Expanding Interactive Computing to Facilitate Informal Instruction in Research Computing}},
  journal = {The Journal of Computational Science Education},
  year = {2022},
  doi = {10.22369/issn.2153-4136/13/1/9},
}
Figure