Custom Query (43 matches)
Results (22 - 24 of 43)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#31 | invalid | pbs_submit can not work with torque 3.0 | bas | xiaomou@… |
Description |
pbs_python version 4.3.3, torque version 3.0.x, python version 2.7 PBSQuery works very well, but pbs_submit always fails. When I ran the following sample code, it always reports: 1 15044 Resources temporarily unavailable None Sample test code: import pbs pbs_server = pbs.pbs_default () pbsconn = pbs.pbs_connect (pbs_server) print pbsconn attrl = pbs.new_attropl(1) attrl[0].name = pbs.ATTR_N attrl[0].value = "test" task_id = pbs.pbs_submit(pbsconn, attrl, "A1.tsk", , 'NULL') e, e_txt = pbs.error() if e:
print task_id Thanks |
|||
#2 | fixed | pbs_stat.py and others use undefined pbs_geterrmsg | bas | pk@… |
Description |
Hello, with libtorque 2.1.1, pbs-python 2.9.2, ganglia-pbs 0.9.13 under debian/sarge. If I run pbs_stat.py: processors = 0 /usr/bin/gmetric -npbs-state -v"P=0" -tstring -x15 Traceback (most recent call last): File "bin/pbs_stat.py.orig", line 495, in ? a.check_args(sys.argv) File "bin/pbs_stat.py.orig", line 483, in check_args self.once() File "bin/pbs_stat.py.orig", line 416, in once self.get() File "bin/pbs_stat.py.orig", line 266, in get self.error(pbs.pbs_geterrmsg(self.c)) AttributeError: 'module' object has no attribute 'pbs_geterrmsg' this error is also found if you run "rack_pbsmon.py --help". Best,
|
|||
#35 | fixed | PBSQuery.py line 331: no error handling. error 15021 not trapped | bas | anonymous |
Description |
after digging a bug in jobmond (jobmonarch project), I found that at line 331, there is no error handling, and I get an empty job list whitout knowing that there is an error (which I don't understand). self._connect is successfull (self.con = 1 which is >= 0) jobs = pbs_pbs_statjob(1, , 'NULL', 'NULL') returns [] pbs.get_error() returns 15021 I've checked torque logs with no obvious errors (V 4.1.5.1) torque works fine. defined queues are: halfday, week, month |