package
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Feb 25, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GenerateProjectConfig(executorNames []string) error
func GenerateProjectData() error
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 struct {
DockerImage string `yaml:"docker"`
RebuildImage bool `yaml:"rebuildImage"`
InitCmd string `yaml:"init-cmd"`
Cmd string `yaml:"cmd"`
SourceFile string `yaml:"source"`
}
type GPU struct {
Count int `yaml:"count"`
Name string `yaml:"name"`
}
type Project struct {
ProjectName string `yaml:"projectname"`
Conditions Conditions `yaml:"conditions"`
Environment Environment `yaml:"environment"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.