1,上傳軟件包MaterialsStudio70.tgz、msi_7.lic到服務器上。
2,安裝ms一般會創建一個普通用戶msi,軟件安裝在msi賬號下。
創建用戶msi: useradd msi 切換到msi用戶: su – msi
tar xvf /opt/MaterialsStudio70.tgz cd MaterialsStudio70/
[msi@hpc MaterialsStudio70]$ ./install Performing per-user installation of Materials Studio 7.0. Restart this installation as root if you wish to perform an RPM-based installation. Please enter the location in which to install Materials Studio 7.0 The location where Materials Studio will be installed is <install location>/MaterialsStudio7.0 [/home/msi/Accelrys] 默認回車 The Accelrys License Pack is required in order to run Materials Studio 7.0. Please enter the location of a License Pack installation, or an empty directory into which the License Pack will be installed. [/home/msi/Accelrys] 默認回車 /home/msi/Accelrys does not appear to contain a supported License Pack installation. Would you like to install it to that location? [Y/n] [Y] 默認回車 Do you wish to start the Gateway service after installation? Answer no here if you wish to configure security settings before starting. (Y/n) [Y] 默認回車
Running LicensePack installation...
-------------------------------------------------------------------------------
Accelrys License Pack 7.6.9 - InstallShield Wizard Welcome to the InstallShield Wizard for Accelrys License Pack 7.6.9 The InstallShield Wizard will install Accelrys License Pack 7.6.9 on your computer. To continue, choose Next. Accelrys License Pack 7.6.9 Accelrys Software Inc. http://www.accelrys.com Press 1 for Next, 3 to Cancel or 5 to Redisplay [1] 默認回車 ------------------------------------------------------------------------------- Accelrys License Pack 7.6.9 - InstallShield Wizard Accelrys License Pack 7.6.9 Install Location Please specify a directory or press Enter to accept the default directory. Destination Directory [/home/msi/Accelrys] 默認回車 Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 默認回車 Accelrys License Pack 7.6.9 - InstallShield Wizard Select the features for "Accelrys License Pack 7.6.9" you would like to install: Accelrys License Pack 7.6.9 To select/deselect a feature or to view its children, type its number: 1. [x] LicensePack 2. [ ] Compatibility LicensePack The Compatibility LicensePack is required for supporting Accelrys software shipped with License Packs 6.x or lower and to support IRIX and Solaris platforms. See License Pack documentation for complete list of Accelrys software supported by this License Pack. Other options: 0. Continue installing Enter command [0] 默認回車 Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 默認回車 Accelrys License Pack 7.6.9 - InstallShield Wizard Accelrys License Pack 7.6.9 will be installed in the following location: /home/msi/Accelrys/LicensePack with the following features: LicensePack for a total size: 157.7 MB Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 默認回車 Accelrys License Pack 7.6.9 - InstallShield Wizard Installing Accelrys License Pack 7.6.9. Please wait... |-----------|-----------|-----------|------------| 0% 25% 50% 75% 100% |||||||||||||||||||||||||||||||||||||||||||||||||| Creating uninstaller... Finalizing the Vital Product Data Registry. Please wait... Configuring License Pack ------------------------------------------------------------------------------- Accelrys License Pack 7.6.9 - InstallShield Wizard The InstallShield Wizard has successfully installed Accelrys License Pack 7.6.9. Choose Finish to exit the wizard. Press 3 to Finish or 5 to Redisplay [3] 默認回車 Running ConfigureMaterialsStudio.pl Gateway configuration... Port 18888 appears to be available right now... Starting gateway at: http://hpc:18888/ /home/msi/Accelrys/MaterialsStudio7.0/etc/Gateway/root_default/httpd/bin/apachectl start: httpd started Gateway start succeeded - running as process 8792. Testing gateway installation for script u/dsd_test.pl Running GET for url http://hpc:18888/dsd/commands/u/dsd_test.pl It works! ... This is the simple cgi test output ... Test succeeded, it appears! 1) Enter temporary license password 2) Set connection to license server 3) List command line license administration tools 99) Finished with license configuration Choose one of the above options: 99 完成退出 Exiting program
3,激活
使用yum安裝缺少的軟件包
yum install libstdc++-4.4.6-3.el6.i686
將license文件復制到當前目錄,如msi_7.lic
修改msi_7.lic中第一行的this_host為主機名,如:
SERVER hpc ANY 27000
使用下面命令激活:
~/Accelrys/LicensePack/linux/bin/lp_install msi_7.lic
4,設置GateWay開機自動啟動(如果使用windows下的ms客戶端連接到linux上使用需要開啟Gateway,如果使用命令行則不需要啟動)
切換到root用戶:
復制gateway啟動文件
cp ~msi/Accelrys/MaterialsStudio7.0/etc/Gateway/msgateway_control_18888 /etc/init.d/ 設置開機啟動 chkconfig msgateway_control_18888 on 重啟服務 service msgateway_control_18888 restart
5,驗證gateway
打開瀏覽器,輸入http://服務器IP地址:18888,如果能打開界面則成功。
6,使用Windows客戶端連接到Linux計算
在MS軟件windows下的客戶端中添加服務器的Gateway,計算的時候選擇Linux的Gateway就可以從windows直接調用linux計算,
完成后將計算返回到windows下,且如果計算中windows客戶端軟件關閉或關機均不影響計算。
添加Gateway的步驟如下:
1)打開菜單Tools->Server Console,進入配置界面

2)右鍵選擇Server Gateway新建一個Gateway

3)輸入Linux服務器的ip地址,默認端口18888,點Run Diagnostics測試Gateway是否正常,如圖所示驗證成功,點OK關閉窗口

4)計算的時候選擇Gateway為Linux服務器就可以了,其他的與本地計算相同。

