mpi

package
v1.6.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MPIPluginName is the name of the plugin
	MPIPluginName = "mpi"
	// DefaultPort is the default port for ssh
	DefaultPort = 22
	// DefaultMaster is the default task name of master host
	DefaultMaster = "master"
	// DefaultWorker is the default task name of worker host
	DefaultWorker = "worker"
	// MPIHost is the environment variable key of MPI host
	MPIHost = "MPI_HOST"
)

Variables

This section is empty.

Functions

func New

New creates mpi plugin.

Types

type MPIPlugin

type MPIPlugin struct {
	// contains filtered or unexported fields
}

func NewInstance

func NewInstance(arguments []string) MPIPlugin

func (*MPIPlugin) GetMasterName

func (mp *MPIPlugin) GetMasterName() string

func (*MPIPlugin) GetMpiArguments

func (mp *MPIPlugin) GetMpiArguments() []string

func (*MPIPlugin) GetWorkerName

func (mp *MPIPlugin) GetWorkerName() string

func (*MPIPlugin) Name

func (mp *MPIPlugin) Name() string

func (*MPIPlugin) OnJobAdd

func (mp *MPIPlugin) OnJobAdd(job *batch.Job) error

func (*MPIPlugin) OnJobDelete

func (mp *MPIPlugin) OnJobDelete(job *batch.Job) error

func (*MPIPlugin) OnJobUpdate

func (mp *MPIPlugin) OnJobUpdate(job *batch.Job) error

func (*MPIPlugin) OnPodCreate

func (mp *MPIPlugin) OnPodCreate(pod *v1.Pod, job *batch.Job) error

Jump to

Keyboard shortcuts

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