compute

package
v0.0.0-...-5db00e0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectFunnelBinaryPath

func DetectFunnelBinaryPath() (string, error)

DetectFunnelBinaryPath detects the path to the "funnel" binary

Types

type Backend

type Backend interface {
	Submit(*tes.Task) error
}

Backend is responsible for submitting a task. For some backends such as HtCondor, Slurm, and AWS Batch this amounts to scheduling the task. For others such as Openstack this may include provisioning a VM and then running the task.

type HPCBackend

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

HPCBackend represents an HPCBackend such as HtCondor, Slurm, Grid Engine, etc.

func NewHPCBackend

func NewHPCBackend(name string, submit string, conf config.Config, template string) *HPCBackend

NewHPCBackend returns a HPCBackend instance.

func (*HPCBackend) Submit

func (b *HPCBackend) Submit(task *tes.Task) error

Submit submits a task via "qsub"

Directories

Path Synopsis
gce

Jump to

Keyboard shortcuts

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