2017-11-25 181 views
0

我用gmond_python_modules,試圖監視一個集羣有幾個主機,每個主機有8個GPU。Ganglia中的python gmond_python_modules導入錯誤

而最後的步驟後,我想我的網絡節點上重新啓動的gmond服務,只得到:

Starting GANGLIA gmond: Could not find platform independent libraries <prefix> 
Could not find platform dependent libraries <exec_prefix> 
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 
ImportError: No module named site 
                  [FAILED] 

我搜索,最初以爲是因爲我編譯無神經節選項--with-python。但事實並非如此。我重新編譯這個選項(檢查配置輸出,它找到它發現python),一切正常,直到我加入GPU監控python模塊。同樣的錯誤再次。

而且我也嘗試手動分配PYTHONHOMEPYTHONPATH,這沒有什麼區別。我安裝了anaconda。是否可能導致Ganglia找不到正確的載入路徑?

歡迎任何想法。並會在需要時提供更多細節。

分佈和版本的詳細信息:
系統:CentOS的6.8
的Python:2.7的網絡節點上,2.6計算節點
神經節:3.7.2
gmond_python_modules:克隆形式Github的今天

回答

0

this post。這裏的原因是python-devel未安裝在計算節點中,導致缺少'python.h'。所以ganglia配置腳本無法檢測到python支持。