Custom Query (101 matches)
Results (79 - 81 of 101)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#26 | fixed | stop_timestamp is not correct when only one job run. | bastiaans | alexis.michon@… |
Description |
When a job run alone on the cluster, stop_timestamp save in the database isn't correct. Same job on the same cluster has a correct stop_timestamp when there is at least one other job running at the same time. |
|||
#25 | fixed | global Names not defined | bastiaans | anonymous |
Description |
Hello, in jobmond.py v0.2 two global variables are used but not defined. The attached patch fixes it. The first error: Traceback (most recent call last): File "/usr/sbin/jobmond.py", line 816, in ? main() File "/usr/sbin/jobmond.py", line 811, in main gather.run() File "/usr/sbin/jobmond.py", line 341, in run self.jobs = self.getJobData( self.jobs ) File "/usr/sbin/jobmond.py", line 530, in getJobData except PBSError: NameError: global name 'PBSError' is not defined And the second error: Traceback (most recent call last): File "/usr/sbin/jobmond.py", line 819, in ? main() File "/usr/sbin/jobmond.py", line 814, in main gather.run() File "/usr/sbin/jobmond.py", line 341, in run self.jobs = self.getJobData( self.jobs ) File "/usr/sbin/jobmond.py", line 532, in getJobData time.sleep( TORQUE_POLL_INTERVAL ) NameError: global name 'TORQUE_POLL_INTERVAL' is not defined Regards,
|
|||
#24 | worksforme | SGE support broken | ramonb | bastiaans |
Description |
After going through the instructions, I attempted to execute jobmond.py. When I did that, I received the following error message: cluster1:/usr/local/sbin # /usr/local/sbin/jobmond.py -c /etc/jobmond.conf Traceback (most recent call last): File "/usr/local/sbin/jobmond.py", line 814, in ? main() File "/usr/local/sbin/jobmond.py", line 807, in main gather.daemon() UnboundLocalError: local variable 'gather' referenced before assignment An examination of the code reveals that the SGE data gathering code was commented out on line 792. Uncommenting it had the following effect: cluster1:/usr/local/sbin # /usr/local/sbin/jobmond.py -c /etc/jobmond.conf File "/usr/local/sbin/jobmond.py", line 797 debug_msg( 0, "fatal error: BATCH_API set to 'sge' but python module 'sge_drmaa' is not installed' ) ^ SyntaxError: EOL while scanning single-quoted string Commenting out everything but "gather = SgeDataGatherer()" gave me the following error: cluster1:/usr/local/sbin # /usr/local/sbin/jobmond.py -c /etc/jobmond.conf Traceback (most recent call last): File "/usr/local/sbin/jobmond.py", line 814, in ? main() File "/usr/local/sbin/jobmond.py", line 800, in main gather = SgeDataGatherer() File "/usr/local/sbin/jobmond.py", line 419, in __init__ self.initSgeJobInfo() File "/usr/local/sbin/jobmond.py", line 426, in initSgeJobInfo self.qstatparser = SgeQstatXMLParser( SGE_QSTAT_XML_FILE ) NameError: global name 'SGE_QSTAT_XML_FILE' is not defined At this point, I decided to search my systems for references to drmaa. I saw several references to C++ example and header files related to it. Is the sge_drmaa module supposed to be provided by Job Monarch or Sun Grid Engine? |
Note: See TracQuery
for help on using queries.