This Config Dialog supports enumerating GPGPU's and showing them to
the user. GPUs are selected automatically.
|
|
__init__(self,
parent,
title='',
jobname='',
checkcommand=None,
multi_gpgpu_allowed=True,
**kw)
See class docstring. |
|
|
|
|
| addAutoGpuCbToLayout(self,
layout=None,
count=None) |
|
|
|
|
validateNumProcs(self,
silent=False)
See ConfigDialog.validateNumProcs 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) |
|
|
|
|
addGPGPUTableToLayout(self,
t)
This can be overridden to place the gpgputable somewhere else in the
dialog. |
|
|
|
|
| onHostMenuChanged(self,
index) |
|
|
|
|
setupGPGPUTable(self,
host=None)
After the regular GPU table setup, customize the state of checkbox
and table |
|
|
|
|
getSettings(self,
extra_kws=None)
Return dialog state by saving the state of the checkbox and then
calling the base class |
|
|
|
|
|
|
|
setupHostLayout(self)
Setup the host layout, including hostlist/table and numbers of cpus
(including cpus3). |
|
|
|
|
| addGPGPUGroupToLayout(self,
layout=None,
count=None,
add_autogpu=True) |
|
|
|
Inherited from ui.qt.config_dialog.ConfigDialog:
activate,
cpus3Edited,
currentHost,
getTotalOpenMPCPUs,
savePressed,
setupHostCombo,
showHelp,
startPressed,
updateOpenMPInfo,
updateOpenMPLabel,
updateQueueResources,
validateAndAccept,
validateNumCpus,
validateNumGpus,
validateNumOpenMP,
warning
Inherited from ui.qt.config_dialog.ConfigDialog (private):
_applySetting,
_queueMemoryFixup,
_queueWalltimeFixup,
_selectComboText,
_setupOpenMPWidgets,
_setupQueueWidgets,
_stripProcs,
_updateQArgs,
_validateNumProcs
|