Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLibDRMAAContext ¶
NewLibDRMAAContext creates a *wfl.Context which is used to manage jobs through libdrmaa.so.
func NewLibDRMAAContextByCfg ¶
NewLibDRMAAContextByCfg creates a *wfl.Context which is used to manage jobs through libdrmaa.so. The configuration accepts a DefaultTemplate which can be filled out with default values merged into each job submission.
func NewLibDRMAAContextByCfgWithInitParams ¶ added in v1.2.7
func NewLibDRMAAContextByCfgWithInitParams(cfg Config, params libdrmaa.LibDRMAASessionParams) *wfl.Context
NewLibDRMAAContextByCfg creates a *wfl.Context which is used to manage jobs through libdrmaa.so. The configuration accepts a DefaultTemplate which can be filled out with default values merged into each job submission. Additionally the underlying job tracker can be configured. That allows to use features like keeping job ids persistent is a local DB.
Types ¶
type Config ¶
type Config struct { // DBFile is used by the session manager and is created if // it does not exist DBFile string DefaultTemplate drmaa2interface.JobTemplate // JobDBFile when set makes jobs persistent in the DB // so that it is possible to re-connect to running jobs // after restarting the app (SGE). JobDBFile string }
Config is the configuration for the libdrmaa context.