亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: 作業(yè)管理torque和maui使用問題:error while loading shared libraries: libimf.so [打印本頁]

作者: weitongwei    時間: 2014-03-16 18:26
標題: 作業(yè)管理torque和maui使用問題:error while loading shared libraries: libimf.so
嘗試組建一個集群(系統(tǒng)centos6.5),按照網(wǎng)上的安裝過程http://blog.csdn.net/educast/article/details/7168467,安裝了Torque2.5.13和Maui3.3.1,并且參考了南開大學(xué)張鋆的集群構(gòu)建教程,安了了mpiexec 0.84替代pbs_sched.
在主機root下將pbs_server,pbs_mom,maui都正常啟動了,子節(jié)點上pbs_mon也正常啟動了。 pbsnodes可以看到各個節(jié)點的情況。
但是測試一個任務(wù)時$ qsub submit.pbs, terminal下沒有出錯信息,但是result文件是空的。查看了first_task.o0,發(fā)現(xiàn)里面有出錯信息
/usr/local/sbin/pbs_iff: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
mpiexec: Error: get_hosts: pbs_connect: Unauthorized Request .
查找libimf.so,發(fā)現(xiàn)在/opt/intel/composer_xe_2013.3.163/compiler/lib/intel64,/opt/intel/composer_xe_2013.3.163/compiler/lib/ia32,/opt/intel/composer_xe_2013.3.163/compiler/lib/mic里面都有,嘗試將他們都在/etc/profile和/etc/bashrc里面添到到LD_LIBRARY_PATH,并且source了一下。但是仍然沒決決問題。

其實這 個libimf.so找到到,還發(fā)生在$sudo /etc/init.d/pbs_server start時。只有在su登錄后,才能正常啟動。
[root@magnetics weitong]# /etc/init.d/pbs_server start
/var/spool/torque/server_priv/serverdb
Starting TORQUE Server:                                    [確定]

[weitong@magnetics ~]$ sudo /etc/init.d/pbs_server start
[sudo] password for weitong:
/var/spool/torque/server_priv/serverdb
Starting TORQUE Server: /usr/local/sbin/pbs_server: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
                                                           [失敗]


*附***submit.pbs*****
#!/bin/sh
#PBS -l nodes=mag02:ppn=8+magnetics:ppn=8 (使用mag02上8個CPU和magnetics上8個CPU)
#PBS -q batch
#PBS -j oe
#PBS -N first_task  (任務(wù)名字,隨便取)
cd /home/weitong
/usr/local/mpitorque/bin/mpiexec  ./Work/Computing/hellocluster > result
作者: 芬達7402    時間: 2014-04-19 12:18
應(yīng)該還是環(huán)境變量中庫相關(guān)的路徑?jīng)]有設(shè)置正確。切換到對應(yīng)用戶后ldd /usr/local/sbin/pbs_server|grep "not found" 看看還有哪些庫找不到,把這些庫所在的目錄加到LD_LIBRARY_PATH里就好了。
作者: weitongwei    時間: 2014-04-25 17:17
事實上我第一個帖子里面已經(jīng)說了,我已經(jīng)將/opt/intel/composer_xe_2013.3.163/compiler/lib/intel64路徑加入到了LD_LIBRARY_PATH。

后來我的解決辦法是:將/opt/intel/composer_xe_2013.3.163/compiler/lib/intel64路徑加入到/etc/ld.so.conf, 然后# ldconfig /etc/ld.so.conf,才解決問題。

但是我仍然疑惑為何LD_LIBRARY_PATH不起作用。
作者: nntp    時間: 2014-05-02 01:14
真實調(diào)用的shell 是什么SHELL? csh/tcsh/bash? 這個要查清楚喲. 否則在console下看LD_LIBRARY_PATH和真正執(zhí)行腳本可能是不一樣的。
作者: weitongwei    時間: 2014-05-04 20:54
回復(fù) 4# nntp

我不知道真實調(diào)用的shell是什么,如何查看。
我用的就是centos6.5默認的gnome下terminal, 可能是bash吧。


   
作者: psfan    時間: 2014-05-06 14:00
回復(fù) 5# weitongwei

腳本的第一行#! XXXX
就是定義解釋器的。

   
作者: weitongwei    時間: 2014-05-13 10:54
回復(fù) 6# psfan

謝謝,指教。

那真實調(diào)用的shell又是怎么回事? 這些shell,centos6.5默認都安裝了嗎?


   
作者: psfan    時間: 2014-05-13 11:29
weitongwei 發(fā)表于 2014-05-13 10:54
回復(fù) 6# psfan

謝謝,指教。


不清楚默認裝哪些東西,我都是自定義安裝的。




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2