gridengine / drmaa2-python Goto Github PK
View Code? Open in Web Editor NEWUniva Grid Engine DRMAA v2 Python API
License: Apache License 2.0
Univa Grid Engine DRMAA v2 Python API
License: Apache License 2.0
It uses wait_all_started
instead.
Also, it is not clear what happens after the wait times out, so it may be worth including an example of how to check if any jobs are still running after the timeout.
Hi there,
Just trying to make the project from a fresh clone.
Upon running make, __version__
gets set to 8.6.8
which is clearly not a valid number nor a proper string.
Latest source code has it set to __version__ = '8.7.0a0'
in init.py. Setting the variable in params.mk to "'8.7.0a0'"
fixes the issue.
Hi, I'm having some trouble using the Sudo
object with run_bulk_jobs
.
Here's an example that works, but using run_job instead.
from drmaa2 import JobSession
from drmaa2 import JobTemplate
from drmaa2 import Sudo
if __name__ == '__main__':
auth = Sudo(username='chebee7i')
js = JobSession()
d = {
'remote_command': '/bin/bash',
'args': ['-c', 'echo hi'],
'implementation_specific': {
'uge_jt_native': '-w e -l h_rt=100000:00:00,estmem=51539605552.0,h_vmem=72.000G',
},
}
print('Running job using dictionary: %s' % d)
j = js.run_job(d, auth)
print('Submitted job: %s' % j)
If I change that submission line to:
j = js.run_bulk_jobs(d, 1, 10, 2, 2, auth=auth)
then I get a failure:
2021-11-16 23:20:42,913 DEBUG job_session.py:314: Using sudo object: {'username': 'chebee7i'}
Traceback (most recent call last):
File "lala.py", line 20, in <module>
j = js.run_bulk_jobs(d, 1, 10, 2, 2, auth=auth)
File "/path/to/site-packages/drmaa2-python/drmaa2/job_session.py", line 321, in run_bulk_jobs
self.exception_mapper.check_last_error_code()
File "/path/to/site-packages/drmaa2-python/drmaa2/exception_mapper.py", line 98, in check_last_error_code
cls.check_status_code(code)
File "/path/to/site-packages/drmaa2-python/drmaa2/exception_mapper.py", line 111, in check_status_code
raise error
drmaa2.drmaa2_exceptions.InvalidArgument: Values too large for DRM.
Similarly, running run_bulk_jobs
without auth
works fine.
Any tips? Running Univa Grid Engine Drmaa V2
, 8.6.17
.
Just wondering if there are plans to release this as a Conda-forge feedstock? Would like to integrate this into our tools but it would need to be distributed as a Conda package. Would be happy to help.
Hi, I get the following error when I try to run print(drmaa2.get_drmaa_name())
uge_root/lib/lx-amd64/libdrmaa2.so: undefined symbol: uge_vi_impl_spec_get
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.