Custom Query (43 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 43)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#32 fixed incorrect version check bas thomas.moschny@…
Description

While trying to use pbs_python with Torque 3.0.0 we saw that the 2.1 versions of pbs.py and pbs_wrap.py are symlinked and used, and not the 2.4 ones. This results in certain functions not being available.

The reason is this check in setup.py:

if major_version  >= 2 and minor_version >= 4 and build_version >= 7:

Obviously this evals to False when major_version is 3, but minor_version and build_version are 0.

Using tuple comparison like this:

if (major_version, minor_version, build_version) > (2, 4, 7):

fixes the issue for us.

#33 fixed PBSQuery.PBSError: Attribute key error: __nonzero__ bas anonymous
Description

I've been playing around with PBSQuery for a few minutes; please let me know if I'm missing something obvious.

PBSQuery.getjob() returns and empty dictionary if the job is not found, and returns some other object that can be used like a dictionary if the job is found.

What I would like to do is something like this:

status = pbsq.getjob(id) if status:

#do something

else:

#job not in queue

however, if the job is found this will fail:

PBSQuery.PBSError: Attribute key error: nonzero

if the job is not found, this code is fine because a dict implements nonzero(self)

#34 fixed pbs_python does not work with most recent TORQUE 4.2.0 bas glen.beane@…
Description

TORQUE has switched to using g++ to compile. It appears there are some name mangling issues now as pbs_python is unable to find symbols:

ImportError?: /opt/compsci/python/2.7.3/lib/python2.7/site-packages/pbs/_pbs.so: undefined symbol: log_record

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.