Filippo Spiga wrote:
Hi all,
I'm trying to use ganglia_pbs-0.9.13 on my cluster (
http://scilx.disco.unimib.it/ganglia/ ). I've compiled on master node
pbs_python and ganglia_pbs. Afther that I've copied the pbs_stats and
pbs python module on all node to integrate job statistic in ganglia with
gmetric. I've followed the INSTALL file instructions but this error
appears...
[EMAIL PROTECTED]:~# ./pbs_stat.py
Traceback (most recent call last):
File "./pbs_stat.py", line 487, in ?
a = pbs_stats()
File "./pbs_stat.py", line 99, in __init__
self.connect ()
File "./pbs_stat.py", line 121, in connect
self.error(pbs.pbs_geterrmsg(self.c))
AttributeError: 'module' object has no attribute 'pbs_geterrmsg'
What's wrong?
Thanks
Filippo,
Is nice that you solved the pbs_python bug. Ganglia_pbs is not
developed anymore it is replaced by jobmonarch also available
at the ftp-server from SARA:
* https://subtrac.rc.sara.nl/oss/jobmonarch
Regards
PS) If you still want to use ganglia_pbs you have to replace the
function with the code below:
=== Version 2.9.4
- Function pbs.pbs_geterrmsg does not exits any more is
replaced by pbs.error():
errno, text = pbs.error()
print errno, text
--
********************************************************************
* *
* Bas van der Vlies e-mail: [EMAIL PROTECTED] *
* SARA - Academic Computing Services phone: +31 20 592 8012 *
* Kruislaan 415 fax: +31 20 6683167 *
* 1098 SJ Amsterdam *
* *
********************************************************************