project

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateProjectConfig

func GenerateProjectConfig(executorNames []string) error

func GenerateProjectData

func GenerateProjectData() error

Types

type Conditions

type Conditions struct {
	ExecutorNames    []string `yaml:"executorNames"`
	Nodes            int      `yaml:"nodes"`
	ProcessesPerNode int      `yaml:"processesPerNode"`
	CPU              string   `yaml:"cpu"`
	Memory           string   `yaml:"mem"`
	Walltime         int      `yaml:"walltime"`
	GPU              GPU      `yaml:"gpu"`
}

type Environment

type Environment struct {
	DockerImage  string `yaml:"docker"`
	RebuildImage bool   `yaml:"rebuildImage"`
	InitCmd      string `yaml:"init-cmd"`
	Cmd          string `yaml:"cmd"`
	SourceFile   string `yaml:"source"`
}

type GPU

type GPU struct {
	Count int    `yaml:"count"`
	Name  string `yaml:"name"`
}

type Project

type Project struct {
	ProjectName string      `yaml:"projectname"`
	Conditions  Conditions  `yaml:"conditions"`
	Environment Environment `yaml:"environment"`
}

Jump to

Keyboard shortcuts

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