当我尝试使用python包装提交作业时,我得到一个DeniedByDrmException: code 17:作业拒绝:正提交优先级需要操作符特权。
如何更改使用Python包装器提交的作业的优先级?
发布于 2015-06-09 05:17:13
创建了一个-p参数设置为0的~/..sge_request。
发布于 2017-09-11 22:00:14
您可以向drmaa提交本机选项。
文档http://drmaa-python.readthedocs.io/en/latest/drmaa.html#drmaa.JobTemplate.nativeSpecification
示例:
with drmaa.Session() as s:
jt = s.createJobTemplate()
# set priority and any other options
jt.nativeSpecification = '-p 5'
jt.remoteCommand = <job_script>https://stackoverflow.com/questions/30723301
复制相似问题