Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

2.0 - Script Writing Class #62

@nicholas-sly

Description

@nicholas-sly

This class should provide the mechanisms for generating a script for use in various parts of Pavilion. It will provide the mechanism for writing the scheduler batch scripts (or bash script if running in 'raw' mode), the scripts for building the tests, and the scripts for running the tests. The basic components will include:

  • Generate Header
    • In the case of batch scripts, this will include the scheduler specific commands specifying the allocation specifics.
  • Manipulate modules
    • Either load the necessary modules or swap them in, depending on the OS.
  • Environment - Provide instance-specific environment modifications.
  • Commands - Execute commands as specified by the scheduler or user.
  • Post - Copy results files, log script outputs, clean-up the working space, etc.
  • Script Naming - Section to name the script specific to this Pavilion test run.

Each section should accept a dictionary, list, or string as appropriate.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions