Changeset 347
- Timestamp:
- 04/27/07 11:32:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jobmond/jobmond.py
r341 r347 412 412 413 413 jobs = { } 414 SGE_QSTAT_XML_FILE = '/tmp/.jobmonarch.sge.qstat' 414 415 415 416 def __init__( self ): … … 426 427 """those in the current DRMAA session""" 427 428 428 self.qstatparser = SgeQstatXMLParser( SGE_QSTAT_XML_FILE )429 self.qstatparser = SgeQstatXMLParser( self.SGE_QSTAT_XML_FILE ) 429 430 430 431 # Obtain the qstat information from SGE in XML format … … 436 437 # Get the information about the current jobs in the SGE queue 437 438 info = os.popen("qstat -ext -xml").readlines() 438 f = open( SGE_QSTAT_XML_FILE,'w')439 f = open(self.SGE_QSTAT_XML_FILE,'w') 439 440 for lines in info: 440 441 f.write(lines) … … 796 797 elif BATCH_API == 'sge': 797 798 798 pass 799 # import Babu's code here 800 # 801 #try: 802 # import sge_drmaa 803 # 804 #except ImportError: 805 # 806 # debug_msg( 0, "fatal error: BATCH_API set to 'sge' but python module 'sge_drmaa' is not installed' ) 807 # sys.exit( 1 ) 808 # 809 #gather = SgeDataGatherer() 799 gather = SgeDataGatherer() 810 800 811 801 else:
Note: See TracChangeset
for help on using the changeset viewer.