# | Line 66 | Line 66 | class SchedulerLsf(SchedulerLocal) : | |
---|---|---|
66 | sites = [str(getLocalDomain(self))] | |
67 | return sites | |
68 | ||
69 | < | def loggingInfo(self, id): |
69 | > | def loggingInfo(self, id, fname): |
70 | """ return logging info about job nj """ | |
71 | < | cmd = 'bjobs -l ' + id |
71 | > | lsfid = common._db.queryRunJob('schedulerId',id) |
72 | > | cmd = 'bjobs -l ' + str(lsfid[0]) |
73 | cmd_out = runCommand(cmd) | |
74 | < | return cmd_out |
74 | > | f = open(fname,'w') |
75 | > | f.write(cmd_out) |
76 | > | f.close() |
77 | > | return fname |
78 | ||
79 | def wsCopyOutput(self): | |
80 | txt=self.wsCopyOutput_comm(self.pool) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |