batchsystem

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BatchPBS         = "pbs"
	BatchSlurm       = "slurm"
	BatchUnsupported = "unsupported"
)

Variables

This section is empty.

Functions

func DetectBatchSystem

func DetectBatchSystem() string

func ExecTemplate

func ExecTemplate(ts string, s interface{}) (string, error)

Types

type Job

type Job struct {
	Name           string
	ConfigFilename string

	Nodes        int
	TasksPerNode int

	NodeType  string
	Partition string
	Account   string
	Walltime  string
	Email     string

	ExtraFlags []string

	WorkingDirectory string
	OutputFile       string
	ErrorFile        string

	InitScript []string
	Runtime    []string
	Executable string
	Arguments  []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳