| Trees | Indices | Help |
|
|---|
|
|
object --+
|
Host
A class to encapsulate host info from the schrodinger.hosts file.
Use the module level functions get_host or get_hosts to create Host
instances.
Attributes:
name - Label for the Host.
_host - Host machine name (or machine that submits jobs to the
queue). Use setHost() and getHost() to access.
Defaults to 'name'.
user - Username by which to run jobs.
processors - Number of processors for the host/cluster.
tmpdir - Temporary/scratch directory to use for jobs. List
schrodinger - $SCHRODINGER installation to use for jobs.
env - Variables to set in the job environment. List.
gpgpu - GPGPU entries. List.
queue - Queue entries only. Queue type (e.g., SGE, PBS).
qargs - Queue entries only. Optional arguments passed to the
queue submission command.
_is_queue - Boolean indicating whether the Host is a queue entry.
Access via isQueue().
_lines - List of lines that form a string representation
of the host entry. Access via _hostLines();
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
host Return the name of the host, which defaults to 'name' if a separate 'host' attribute wasn't specified. |
|||
|
|||
Create a named Host object. The various host attributes must be set after object instatiation. Only host-entry fields can be public attributes of a Host object. Attributes introduced to capture other information about the entry must be private (named with a leading underscore.)
|
Check to see whether the host represents a batch queue. Returns True if the host is a traditional queue or a grid host. |
Return the informal string representation of the Host -- a comma-separated list of "Key: value" attribute pairs.
|
Return the formal string representation of the Host.
|
|
|||
hostReturn the name of the host, which defaults to 'name' if a separate 'host' attribute wasn't specified. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 3 07:59:56 2016 | http://epydoc.sourceforge.net |