Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Developing an Interactive OpenMP Book with Large Language Models

Conference ·
OSTI ID:2583380
 [1];  [2];  [1];  [3]
  1. University of North Carolina at Charlotte, Charlotte, NC, USA
  2. Intel Corporation, Hillsboro, OR, USA
  3. Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)

Abstract. This paper presents an approach to authoring a textbook titled Interactive OpenMP Programming with the assistance of Large Language Models (LLMs). The writing process utilized state-of-the-art LLMs, including Gemini Pro 1.5, Claude 3, and ChatGPT-4, to generate the initial structure and outline of the book, as well as the initial content for specific chapters. This content included detailed descriptions of individual OpenMP constructs and practical programming examples. The outline and content have then undergone extensive manual revisions to meet our book goals. In this paper, we report our findings about the capabilities and limitations of these LLMs. We address critical questions concerning the necessity of textbook resources and the effectiveness of LLMs in creating fundamental and practical programming content. Our findings suggest that while LLMs offer significant advantages in generating textbook content, they require careful integration with traditional educational methodologies to ensure depth, accuracy, and pedagogical effectiveness. The Interactive OpenMP Programming book is developed with the framework of Jupyter Book, enabling the execution of code within the book from the web browser, providing instant feedback and a dynamic learning experience that stands in contrast to traditional educational resources. The book represents a significant step towards modernizing programming education, offering insights into practical strategies for generating the textbook through advanced AI tools.

Research Organization:
Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)
Sponsoring Organization:
USDOE National Nuclear Security Administration (NNSA)
DOE Contract Number:
AC52-07NA27344
OSTI ID:
2583380
Report Number(s):
LLNL-CONF-867264
Country of Publication:
United States
Language:
English

Similar Records

Using a Large Language Model as a Building Block to Generate Usable Validation and Verification Suite for OpenMP
Conference · Fri Feb 28 23:00:00 EST 2025 · OSTI ID:2573390

Large language model evaluation for high–performance computing software development
Journal Article · Wed Sep 04 00:00:00 EDT 2024 · Concurrency and Computation. Practice and Experience · OSTI ID:2474767

Improving Text Classification with Large Language Model-Based Data Augmentation
Journal Article · Fri Jun 28 00:00:00 EDT 2024 · Electronics · OSTI ID:2394731