PLUMED Tutorials: A collaborative, community-driven learning ecosystem

Gareth A. Tribello, Massimiliano Bonomi, Giovanni Bussi, Carlo Camilloni, Blake Armstrong, Andrea Arsiccio, Simone Aureli, Federico Ballabio, Mattia Bernetti, Luigi Bonati, Samuel G. H. Brookes, Z. Faidon Brotzakis, Riccardo Capelli, Michele Ceriotti, Kam-Tung Chan, Pilar Cossio, Siva Dasetty, Davide Donadio, Bernd Ensing, Andrew L. Ferguson, Guillaume Fraux, Julian D. Gale, Francesco Luigi Gervasio, Toni Giorgino, Nicholas S. M. Herringer, Glen M. Hocky, Samuel E. Hoff, Michele Invernizzi, Olivier Languin–Cattoën, Vanessa Leone, Vittorio Limongelli, Olga Lopez‐Acevedo, Fabrizio Marinelli, Pedro Febrer Martinez, Matteo Masetti, Shams Mehdi, Angelos Michaelides, Mhd Hussein Murtada, Michele Parrinello, Pablo M. Piaggi, Adriana Pietropaolo, Fabio Pietrucci, Silvio Pipolo, Christopher Pritchard, Paolo Raiteri, Stefano Raniolo, Daniele Rapetti, Valerio Rizzi, Jakub Rydzewski, Matteo Salvalaglio, Christoph Schran, Aniruddha Seal, Armin Shayesteh Zadeh, Tomás F. D. Silva, Vojtěch Spiwok, Guillaume Stirnemann, Daniel Sucerquia, Pratyush Tiwary, Ómar Valsson, Michele Vendruscolo, Gregory A. Voth, Andrew Dickson White, Jiangbo Wu

TL;DR

This paper introduces "PLUMED Tutorials," a new collaborative online platform designed to address the challenges of training users in complex scientific software like PLUMED. By leveraging modern web development and community-driven content creation, it aims to provide a dynamic, up-to-date, and structured learning experience that goes beyond traditional, static tutorials.

What Problem Does This Paper Address?

Effectively training new users in sophisticated scientific software, such as the PLUMED library for molecular dynamics simulations, is a persistent challenge. Traditional methods like direct knowledge transfer within research groups are limited in scale, and in-person workshops, while valuable, struggle with completeness and can become outdated quickly. The COVID-19 pandemic highlighted the need for robust online training, but existing online tutorials often suffer from being created by a small group, offering a narrow perspective, and becoming obsolete as the software evolves. This paper tackles the problem of creating and maintaining high-quality, comprehensive, and continuously updated educational resources for scientific software.

Methods

The core of the "PLUMED Tutorials" initiative is a collaborative, community-driven approach to content creation and management. Key methodological aspects include:

  • Repository Management (Git): Utilizes Git for version control, enabling collaborative development and tracking of changes to tutorial content.
  • Continuous Integration (GitHub Actions): Automates the process of building and deploying the tutorial website, ensuring that updates are integrated seamlessly and efficiently.
  • Markdown and Mermaid: Tutorials are written using Markdown files, with interactive diagrams created using Mermaid syntax. This allows for rich content presentation and navigation.
  • YAML for Configuration (EMBED.yml): A YAML file is used to define external links, embedded videos, and other resources associated with each tutorial, providing a structured way to manage supplementary materials.
  • Automated Parsing and Rendering of PLUMED Input: The platform includes custom tools to render PLUMED input files directly within tutorials. These tools perform basic parsing checks against current and development versions of PLUMED, providing visual badges (green for compatible, red for outdated) to indicate the input's status.
  • Interactive Tooltips and Keyword Explanations: Hovering over keywords in rendered PLUMED input files reveals tooltips with explanations and links to the official PLUMED manual, enhancing understanding.
  • "Gap" Filling for Active Learning: Tutorials incorporate "gaps" (marked with __FILL__) in example input files, encouraging users to consult documentation and actively engage with the material. Solution files can be provided for these gaps.
  • Interconnected Tutorials and Directed Graphs: Tutorials are linked to form structured learning paths, visualized as directed graphs. This helps users navigate the content in a logical order, with circular dependencies removed and transitive reduction applied to create a clear advice hierarchy.

Datasets

Not discussed in the paper. The focus is on creating educational content rather than training machine learning models on specific datasets.

Key Insights and Ideas

  • Community as the Engine: The success of PLUMED itself is attributed to its collaborative nature, and this philosophy is extended to its educational resources. Empowering the community to create and maintain tutorials is key to comprehensive and up-to-date content.
  • Beyond Static Documentation: Traditional tutorials are static and quickly become obsolete. The PLUMED Tutorials platform embraces dynamic content, continuous integration, and community contributions to ensure longevity and relevance.
  • Structured Learning Paths: Simply providing a collection of tutorials is less effective than organizing them into a coherent learning journey. The use of directed graphs and inter-tutorial linking provides guidance for users.
  • Active Learning through "Gaps": Incorporating incomplete input files forces users to engage with the documentation and think critically about the simulation setup, rather than passively following instructions.
  • Bridging the Gap Between Code and Documentation: The platform seamlessly integrates rendered PLUMED input files with interactive tooltips and links to the official manual, providing immediate context and deeper understanding.
  • Mimicking Research Literature: The platform is designed to resemble a "miniaturized version of the research literature," encouraging users to explore and adapt existing examples, which is a more natural way for researchers to learn.

Key Results

  • 47 Contributions: As of November 2024, the PLUMED Tutorials website hosts 47 contributions covering a wide range of topics, from software installation and syntax to advanced simulation techniques like metadynamics, enhanced sampling, and machine learning collective variables.
  • Automated Testing: The platform automatically tests tutorial inputs against current and development versions of PLUMED, providing visual feedback on compatibility and helping to identify outdated content.
  • Comprehensive Rendering: Over 1600 example inputs have been rendered using the platform's tools, providing a rich resource for learning.
  • Community Engagement: The initiative aims to foster an open community for creating and sharing educational resources, with detailed instructions provided for contributors.

Limitations and Future Work

  • Guidance on Tutorial Order: While the platform provides a directed graph for suggested learning paths, the authors acknowledge that explicit guidance on the order of tutorials could be improved.
  • Extensibility: The six mechanisms for including tutorial content are believed to cover current needs, but the platform is designed to be extensible should new requirements arise.
  • Future Role in Schools: The authors foresee PLUMED Tutorials playing a central role in future in-person PLUMED schools, allowing students to prepare beforehand and freeing up meeting time for collaborative projects and discussions.
  • Broader Impact: The authors hope that this infrastructure will be useful for developers of other scientific software, promoting similar collaborative learning ecosystems.

Summary updated

BibTeX
@article{tribello2025plumed,
  author = {Gareth A. Tribello and Massimiliano Bonomi and Giovanni Bussi and Carlo Camilloni and Blake Armstrong and Andrea Arsiccio and Simone Aureli and Federico Ballabio and Mattia Bernetti and Luigi Bonati and Samuel G. H. Brookes and Z. Faidon Brotzakis and Riccardo Capelli and Michele Ceriotti and Kam-Tung Chan and Pilar Cossio and Siva Dasetty and Davide Donadio and Bernd Ensing and Andrew L. Ferguson and Guillaume Fraux and Julian D. Gale and Francesco Luigi Gervasio and Toni Giorgino and Nicholas S. M. Herringer and Glen M. Hocky and Samuel E. Hoff and Michele Invernizzi and Olivier Languin–Cattoën and Vanessa Leone and Vittorio Limongelli and Olga Lopez‐Acevedo and Fabrizio Marinelli and Pedro Febrer Martinez and Matteo Masetti and Shams Mehdi and Angelos Michaelides and Mhd Hussein Murtada and Michele Parrinello and Pablo M. Piaggi and Adriana Pietropaolo and Fabio Pietrucci and Silvio Pipolo and Christopher Pritchard and Paolo Raiteri and Stefano Raniolo and Daniele Rapetti and Valerio Rizzi and Jakub Rydzewski and Matteo Salvalaglio and Christoph Schran and Aniruddha Seal and Armin Shayesteh Zadeh and Tomás F. D. Silva and Vojtěch Spiwok and Guillaume Stirnemann and Daniel Sucerquia and Pratyush Tiwary and Ómar Valsson and Michele Vendruscolo and Gregory A. Voth and Andrew Dickson White and Jiangbo Wu},
  title = {{PLUMED Tutorials: A collaborative, community-driven learning ecosystem}},
  journal = {The Journal of Chemical Physics},
  year = {2025},
  doi = {10.1063/5.0251501},
}
Figure