MS6 linux 安裝備忘

SLES10 服務器上安裝MS6.

安裝小木蟲上安裝

http://emuch.net/bbs/viewthread.php?tid=4702095

接着安裝torque(其他都是浮雲,官方網站纔是正道,以後切記了)

如果系統比較舊的 還是選低點版本如SLES10 裏使用torque 3.0.6 就可以了,最新的4.1.2 反而在configure是提示缺少limx2.dev 庫,安裝起來會比較煩

http://www.clusterresources.com/torquedocs/1.1installation.shtml

其中要注意的問題是裏面提到的提交路徑:After installation, verify you have the PATH environment variable configured to include/usr/local/bin/ and/usr/local/sbin/.

如果提示Torque /usr/local/sbin/pbs_mom: error while loading shared libraries: libtorque.so.2

參考http://blog.csdn.net/kongxx/article/details/8096032

這個問題原因是沒有將/usr/local/lib加入動態連接庫,缺少的這個文件/usr/local/lib下,因此此時需要使用root用戶運行下面的命令

  1. # echo '/usr/local/lib' > /etc/ld.so.conf.d/torque.conf  
  2. # ldconfig  
然後再運行命令啓動Torque服務就不會出現上面的錯誤了。



一般linux系統的path裏會含有/usr/local/bin 而不會包含 /usr/local/sbin

如果明明設置了nodes 而是要pbsnodes 總提示

pbsnodes: Server has no node list MSG=node list is empty - check 'server_priv/ndes' file
就是因爲/usr/local/sbin不在系統路徑下。一下午啊就折在這上了
知道就好辦,在etc/profile 裏添加:export PATH=/usr/local/sbin:$PATH
source /etc/profile

要啓動pbs:
管理員權限 使用torque安裝目錄下的torque.setup <user>  添加隊列
模式就是batch

結束qterm 結束pbs_server
接着重啓pbs_server

sudo pbs_mom
sudo pbs_sched
sudo pbs_server


在路徑MSROOT]/etc/Gateway/root_default/dsd/commands/queues/TORQUE

下 修改torque.cfg裏的

# Add any additional parameters to qsub command.
#
 params = -l nodes=node1
#
# For example if you want to get notification in e-mail when your job finishes,
# this line may look like:
# params = -m e -M [email protected]
# For the list of qsub parameters please refer to the Torque documentation.
# If Materials Studio is installed on a Linux cluster, the job may run on any node
# belonging to the cluster. For all other Linux configurations, you must insure that the
# job is executed on the same node where Materials Studio is installed.
#
# Hence, if your PBS Linux configuration allows starting jobs on a remote node and if this
# is not a Linux cluster, you must add  -l nodes=<host>  to the params line and substitute
# <host> by the actual name of the local host. This will prevent jobs from being submitted
# to a different node. You can find out the local host name by executing command hostname.
#
#  If the gateway is installed on a Linux cluster.
#  it is worth putting correct number of cpu per node
#  the information can be obtained by running pbsnodes and examining parameters  np to find the most
#  representative number, otherwise Gateway will try to guess it... The guess is correct if cluster is homogeneous
#
#  NumCPUSsperNode = <numcorespernode>

#
# The following line specifies the default queue.
#
 default_queue=batch

# <queue name> should be substituted by the actual queue name.
# This queue will be shown first in the user interface on the client site.
# If there is a default queue in the queuing system you can omit this step.


進入/home/msi/Accelrys/MaterialsStudio6.0/etc/Gateway,執行
    ./msgateway_control_18888 restart


還要在windows上的MS server console 中添加 遠程服務器

正常情況就可在windows下提交任務到linux 計算了


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章