This Config Dialog supports enumerating GPGPU's and allowing the user
to select which GPGPU(s) they'd like to use.
|
|
__init__(self,
parent,
title='',
jobname='',
checkcommand=None,
multi_gpgpu_allowed=False,
**kw)
See class docstring. |
|
|
|
|
validate(self)
Checks the panel to make sure settings are valid. |
|
|
|
|
getHosts(self,
ncpus=True,
excludeGPGPUs=False)
Returns list of host entries from appropriate schrodinger.hosts file,
with parenthetical entry of the number of available processors (if
'ncpus' is True). |
|
|
|
|
|
|
|
|
|
|
|
|
|
| createGPGPUTable(self,
multi_gpgpu_allowed) |
|
|
|
|
checkGPGPUSelection(self)
Base method for checking whether a user has selected any GPUs. |
|
|
|
|
addGPGPUTableToLayout(self,
t)
This can be overridden to place the gpgputable somewhere else in the
dialog. |
|
|
|
|
| onHostMenuChanged(self,
index) |
|
|
|
|
| setupGPGPUTable(self,
host=None) |
|
|
|
|
getCheckedGPGPUIDs(self)
This should be called after the panel returns successful. |
|
|
|
|
| setCheckedGPGPUIDs(self,
idlist) |
|
|
|
|
|
|
|
applySettings(self,
settings)
Set dialog state using previously-saved parameters |
|
|
|
Inherited from ConfigDialog:
activate,
cpus3Edited,
currentHost,
getTotalOpenMPCPUs,
savePressed,
setupHostCombo,
setupHostLayout,
showHelp,
startPressed,
updateOpenMPInfo,
updateOpenMPLabel,
updateQueueResources,
validateAndAccept,
validateNumCpus,
validateNumGpus,
validateNumOpenMP,
validateNumProcs,
warning
|