slurm

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAvailable

func IsAvailable() bool

func NewJobEngine

func NewJobEngine() jobperf.JobEngine

Types

type AllocatedNodes

type AllocatedNodes struct {
	Sockets         sockets `json:"sockets" yaml:"sockets"`
	Nodename        string  `json:"nodename" yaml:"nodename"`
	CpusUsed        int     `json:"cpus_used" yaml:"cpus_used"`
	MemoryUsed      int     `json:"memory_used" yaml:"memory_used"`
	MemoryAllocated int     `json:"memory_allocated" yaml:"memory_allocated"`
}

type Cores

type Cores struct {
	Num0 string `json:"0" yaml:"0"`
	Num1 string `json:"1" yaml:"1"`
}

type Num0

type Num0 struct {
	Cores Cores `json:"cores" yaml:"cores"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL