在研一上学期入学之后差不多两个月(2015年11月),我在导师的要求下开始接触Materials Studio(MS)。由于我本科不是材料专业,量子力学相关的东西全都没有学过,不过好在对软件方面还算拿手,运用这个软件的过程也还算顺利。这次整理一下MS8.0的安装,虽然整个过程比较傻瓜,但是有的问题如果没有搜到正确的解决方法,会浪费很多时间。
在Windows7上安装
介绍

Materials Studio作为一款可以全尺度模拟材料结构性能的软件,可以说做得非常的好用,从建模,设置参数,优化结构,到结果分析都非常的直观。说到建模,你会发现它自带的工具很充足,不管是手动建模,还是坐标输入,都可以满足要求,而且模型很好看,给人第一印象就很好,跟这款软件的界面一样。下面放几张图感受一下:
![]() | ![]() | ![]() | ![]() |
下载
推荐在小木虫MS8.0下载,下载下来的是一个种子文件,使用迅雷将其打开,会发现可以下载的有windows版本和linux版本,经测试都能用,我们选择win版本。

虽然这个软件是需要向创腾公司购买才能使用的,但是不作为商业用途和发表文章的话,下载下来用用应该是没有问题。据说购买的话要几十万,幸运的是我们学校买了。软件所需的许可一并在下载里面。
安装
下载的是.iso文件,需要我们电脑上有虚拟光驱软件,没有的话可以下载一个,推荐UltraISO软碟通,小巧方便。通过UltraISO加载
Accelrys_Materials_Studio_8.0_Win.iso
,然后运行setup.exe
开始安装。需要注意的是,安装目录的选择,可以随便在哪个盘,但是一定不要有中文!不然后面会出现问题。出现需要选择合适安装许可证的时候,我们选择最下面的
For more options, start the License Administrator
。
接下来是lisence的安装,使用记事本打开下载的
sci.lic
文件,将this_host
改为自己的计算机名,也不能有中文,如果有中文,先修改自己的计算机名。改好之后,将文件放进C:\Program Files (x86)\Accelrys\LicensePack\Licenses\
或者是C:\Program Files\Accelrys\LicensePack\Licenses\
(取决于Arrelrys文件夹在哪个文件夹下面)。
接下来,最后一步,打开开始菜单,在
所有程序>Accelrys>License>
点击右键选择管理员方式打开Configure Materials Studio 8.0 Licensing
。在License file > Install License
点击Browse
,选中上一步Licenses文件夹下的msi.lic
文件,安装license,整个MS8.0的安装就完成了,各个计算板块都是能用的。MS8.0的模块我用的比较多的主要是CASTEP和Dmol3,这两个都是基于量子力学进行第一性原理计算的工具。
Tips:
- 我用Win10也装过,不过DMol3会出问题,用Win7不会出问题。
在Linux上安装
在CentOS上安装MS8.0的详细过程
环境:CentOS
首先检查主机名。
[zhangyuanzhuo@node1~]# hostname
node1
解压MS8.0的压缩包:
[zhangyuanzhuo@node1~]$ tar xzvf MaterialsStudio80.tgz
MaterialsStudio80/
MaterialsStudio80/MaterialsStudio_InstallGuide.js
MaterialsStudio80/MaterialsStudio_InstallGuide.htm
MaterialsStudio80/install
MaterialsStudio80/lib/
……
然后开始安装:
[zhangyuanzhuo@node1~]$ cd MaterialsStudio80;./install
Performing per-user installation of Materials Studio 8.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 8.0
The location where Materials Studio will be installed is
[/home/zhangyuanzhuo/Accelrys]
是否要在/home/zhangyuanzhuo/Accelrys下安装?选择是,直接回车。
The Accelrys License Pack is required in order to run Materials Studio8.0.
Please enter the location of a License Pack installation, or an empty directory into which the License Pack will be installed.
[/home/zhangyuanzhuo/Accelrys]
是否要把LicensePack安装在/home/zhangyuanzhuo/Accelrys下?直接回车,选择默认。
/home/zhangyuanzhuo/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]
启动Gateway,直接回车。
Running LicensePack installation…
/home/q/MaterialsStudio80/LicensePack/lp_setup: line 106: [: too many arguments
InitializingInstallShield Wizard……..
LaunchingInstallShield Wizard……..
/home/q/MaterialsStudio80/LicensePack/lp_setup_linux.sh:line 1735: warning: here-document at line 1735 delimited byend-of-file (wanted `/dev/null’)
AccelrysLicense Pack 7.6.11 - InstallShield Wizard
Welcome to the InstallShield Wizard for Accelrys License Pack 7.6.11
The InstallShield Wizard will install Accelrys License Pack 7.6.11 on your computer.
To continue, choose Next.
AccelrysLicense Pack 7.6.11
Accelrys Software Inc.
http://www.accelrys.com
Press 1 for Next, 3 to Cancel or 5 to Redisplay 1
选择默认,直接回车,也就是NEXT。
AccelrysLicense Pack 7.6.11 - InstallShield Wizard
AccelrysLicense Pack 7.6.11 Install Location
Please specify a directory or press Enter to accept the default directory.
Destination Directory [/home/zhangyuanzhuo/Accelrys]
选择默认,直接回车。
Press1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay 1
选择默认,直接回车。
AccelrysLicense Pack 7.6.11 - InstallShield Wizard
Select the features for “Accelrys License Pack 7.6.11” you would like to install:
AccelrysLicense Pack 7.6.11
Toselect/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 IRIXand 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]
选择默认,直接回车。
Press1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay 1
选择默认,直接回车。
AccelrysLicense Pack 7.6.11 - InstallShield Wizard
AccelrysLicense Pack 7.6.11 will be installed in the following location:
/home/zhangyuanzhuo/Accelrys/LicensePack
with the following features:
LicensePack
fora total size:
157.7MB
Press1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay 1
选择默认,直接回车,也就是NEXT。
AccelrysLicense Pack 7.6.11 - InstallShield Wizard
Installing Accelrys License Pack 7.6.11. Please wait…
|———–|———–|———–|————|
0% 25% 50% 75% 100%
此处有进度条。
Creating uninstaller…
Finalizing the Vital Product Data Registry. Please wait…
Configuring License Pack
AccelrysLicense Pack 7.6.11 - InstallShield Wizard
The InstallShield Wizard has successfully installed Accelrys LicensePack
7.6.11. Choose Finish to exit the wizard.
Press 3 to Finish or 5 to Redisplay 3
选择默认,直接回车,license相关组件安装成功。
然后开始安装MS的本体。
命令行会长期停在这一句话:
Running installation…
需要耐心等待,接下来:
RunningConfigureMaterialsStudio.pl
Gateway configuration…
Port18888 appears to be available right now…
Starting gateway at:
http://MSserver:18888/
/home/zhangyuanzhuo/Accelrys/MaterialsStudio8.0/etc/Gateway/root_default/httpd/bin/apachectlstart: httpd started
Gateway start succeeded - running as process 13604.
Testing gateway installation for script u/dsd_test.pl
Running GET for url http://MSserver: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,回车。MS本体安装完毕。
下面又是License的问题了。
打开msi.lic文件,把this_host替换为node1。保存在/home/zhangyuanzhuo/Accelrys/LicensePack/Licenses/这个文件夹下。
然后就进入/home/zhangyuanzhuo/Accelrys/LicensePack/etc文件夹,安装license。
[zhangyuanzhuo@node1 etc]$ . lp_profile
[zhangyuanzhuo@node1 etc]$ lp_server –s
全部完成!