| Trees | Indices | Help | 
 | 
|---|
|  | 
Toplevel Qt widget that mimics the Maestro Start dialog.
Configuration options set via constructor keywords are...
    title -         Title for the dialog window.  Default is
                    '<parent_title> - Start'.
    command -       Function to call (not used?).
    jobname -       Initial string value for the job name entry field.
                    Default is ''.
    incorporation - Display a disposition selector for Maestro
                    incorporation.  Maestro only.  Default is True.
    default_disp -  The default disposition, if 'incorporation' is True.
                    Must be DISP_APPEND or DISP_IGNORE.
                    Default is DISP_IGNORE.
    disp_flags -    Additional Maestro job disposition flags.
                    Currently, the only available flag is DISP_FLAG_FIT.
                    The flags should be separated using DISP_FLAG_SEPARATOR.
                    Default value is empty string (no flags).
    host -          Display a pull-down menu (or a table) for selecting
                    the host for the job. Default is True.
    multihost -     Whether to display a host table that supports multiple
                    hosts. By default, a pull-down menu is displayed.
    host_products   Products that will get their own host menu and #cpus
                    box. Not compatible with multihost or cpus3.
                    Takes a list of strings. Default is one host menu.
    jobentry -      Display widgets for setting the job name.
                    Default is True.
    cpus -          Display additional options for distributed jobs,
                    including the number of CPUs.  Default is False.
                    NOTE: This option is not available with multihost.
    cpus3 -         Display additional options for Desmond distributed jobs
                    which includes 3 CPUS values: X, Y, and Z.
                    Default is False.
                    NOTE: This option is not available with multihost.
    njobs -         Display widgets for running the job as a specified
                    number of subjobs.  Default is False.
    adjust -        Whether to display the "Adjust" checkbox. Default is
                    False. Requires <njobs> to be True.
    tmpdir -        Show the tmpdir for the currently selected host.
                    Default is False.
    save_host -     Used the last saved host as the default host.  Save any
                    new host chosen for the next start dialog from this
                    panel.
    open_mp -       True/False. Allow the user to specify either the total
                    number of cpus or the number of Open MP threads and
                    subjobs. Default is False. open_mp is mutually exclusive
                    with cpus as well as cpus3. open_mp is incompatible with
                    host_products.
    set_resources - True/False. Allow the user to set or select queue
                    resources from the Python start panel
Job parameters passed out in the StartDialogParams object upon
the dialog deactivating with via a "Start" (not "Cancel") action...
    proj -    The Project from which the job is launched (required for
              incorporation).  "" if not in Maestro.
    disp -    Maestro disposition.  'append' or 'ignore' if
              'incorporation' is True.  "" if not in Maestro.  Undefined
              if in Maestro but 'incorporation' is False.
    jobname - Job name.  Undefined if 'jobentry' is False.
    host -    Main host.  Undefined if 'host' option is False.
              NOTE: Hosts string (with ncpus) if multihost is set.
    njobs -   Number of subjobs.  Undefined if 'njobs' option is False.
    adjust -  Whether the user checked the "Adjust" checkbox.
    cpus -    Number of CPUs.  Undefined if 'cpus' option is False.  Set
              to 'njobs' if the "Distribute subjobs over maximum..." is
              chosen, otherwise set to the number of specified CPUs.
              NOTE: not available with multihost setting.
    cpus3 -   Number of CPUs as 3 numbers: X, Y, & Z. Used by the Desmond
              panels. Undefined if 'cpus3' option is False.
    openmpcpus - Number of total Open MP CPUs if the open_mp option was
              used. If the open_mp options was used and threads is 0, then
              openmpcpus is just the number of CPUs. None if the open_mp
              option was not used.
    threads - Number of threads if the open_mp option was used and the user
              chose to specify the number of Open MP threads and subjobs. If
              the open_mp option was used but the user only specifies CPUS,
              threads is 0. None if the open_mp option was not used.
    openmpsubjobs - Maximum number of subjobs that may be run
              simultaneously, if the open_mp option was used.
    queue_resources - Queue resource options
Please see the DialogParameters class below for usage instructions.
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| bool | 
 | ||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| int | 
 | ||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| CPU_UNIT_LABEL =  | |||
| GPU_UNIT_LABEL =  | |||
| CANCEL =  | |||
| HELP =  | |||
| SAVE =  | |||
| START =  | |||
| 
 | |||
| 
 See class docstring. Raises an Exception if the disposition specified as the default is not recognized. If pre_close_command is specified, it will be run when the user presses the Start button. The dialog is only closed if that function returns 0. | 
| 
 Checks that the number of processors requested is reasonable. Here the validation is conditional on the 'cpus' option. In derived classes this may not be valid (i.e. the validation should be run regardless of the ncpus options. 
 | 
| 
 Validate that the number of resources is reasonable. 
 | 
| 
 Validate number of CPUs 
 | 
| 
 Validate number of GPUs 
 | 
| 
 Checks to make sure the number of requested processors and threads is consistent with what we know of the host capabilities. 
 | 
| 
 Checks the panel to make sure settings are valid. Return False if any validation test fails, otherwise return True. | 
| 
 Compute the total number of Open MP CPUs to use based on the number of threads and subjobs the user entered 
 | 
| 
 Display the dialog and return the dialog parameters as as StartDialogParam object. If the dialog was cancelled then return None and restore the prior state. | 
| 
 Applies a specific setting via a call to the setter. 
 | 
| 
 Select the item in a combobox matching the specified text. If text is not found, the selection is left unchanged. 
 | 
| 
 Set dialog state using previously-saved parameters 
 | 
| 
 Returns list of host entries from appropriate schrodinger.hosts file, with parenthetical entry of the number of available processors (if 'ncpus' is True). If excludeGPGPUs is True, hosts with GPGPUs will be excluded from the list | 
| 
 Returns the host currently selected in the menu parameter. If none is given, use self.host_menu. Validates that the menu item matches the corresponding self.hosts member variable. currentHost() can be overridden to use a different menu by default. | 
| 
 Returns host name minus the parenthetical available processors entry Deprecated: use appframework.Host rather than parse host strings | 
| 
 Return a list of GPGPUs belonging to the specified host. 
 Deprecated: both local and remote GPUs accessed through getGPGPUs() | 
| 
 Detect local GPUs via mmgpu Deprecated: both local and remote GPUs accessed through getGPGPUs() | 
| Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 3 08:00:02 2016 | http://epydoc.sourceforge.net |