[原创]在ubuntu7.10上成功安装和使用abaqus v6.7 linux版本,经验共享
-
- 帖子: 8
- 注册时间: 2006-06-23 8:35
[原创]在ubuntu7.10上成功安装和使用abaqus v6.7 linux版本,经验共享
曾经尝试在linux上安装abaqus,但是以前的几次都以失败告终。在centos5.0中的安装失败了,转而去rhel5.0中安装也失败了。但昨天兴致高,就在ubutnu7.10上尝试安装。没有想到倒是成功了。
请求版主加精,谢谢!如果有可能的话,请把"办公、图像、机械电子设计"等改为“办公、图像、机械电子设计、有限元分析等”,并在介绍后加上abaqus软件。谢谢。
以下是我的安装步骤:
1、下载安装文件
TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD1.iso和TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD2.iso这两个文件可以从www.verycd.com上下载,下载后的文件后缀名为TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD1.bin的。可能这个格式的文件需要转换到iso格式。
下载地址:http://lib.verycd.com/2007/06/10/0000153135.html 感谢发布者:呂翊翀
把bin文件转换为iso的小软件bin2iso的下载地址:post-11006.html&sid=dc5cfd2ddf3447f3d5a9430cc0e1e0dc 感谢楼主:bonede
2、准备安装前的软件所要求的软件包
在安装LF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD2.iso(该文件是abaqus的帮助文档)文件时会出现对libtermcap.so.2库文件的要求,若没有这个库的话,abaqus的帮助文档的web服务器无法启动的。
以下是搜集到的有关libtermcap.so.2的资料:
Debian 使用 terminfo 数据库和 ncurses 库文件而不是 termcap 数据库和termcap 库文件, 编译这些软件时应该用 libncurses 替换 libtermcap, 并且用户应该有一定的关于终端接口的知识。
为了运行已经和 termcap 库相连并且你没有源代码的程序, Debian 提供了一个称作 termcap-compat 的包, 它提供了 libtermcap.so.2 和 /etc/termcap, 安装这个包可以解决程序运行提示无法加载'libtermcap.so.2'库或缺少 /etc/termcap 文件的问题。
所以我们去下载 termcap-compat,下载地址:http://packages.debian.org/oldstable/ol ... cap-compat
termcap-compat软件包的约束条件是libc5 (>= 5.4.0-0),The Linux C library version 5 (run-time libraries)。若系统上没有这个libc5的软件包的话,继续去下载。
libc5的下载地址是:http://packages.debian.org/sarge/libc5
而麻烦的是libc5的约束条件是ldso (>= 1.7.14-2),The Linux dynamic linker and library for libc4 and libc5。继续下载ldso软件包,下载地址:http://packages.debian.org/sarge/ldso
安装顺序是ldso-->libc5-->termcap-compat,由于这三个都是deb形式的软件包,安装起来还是非常顺利的。(我的ubuntu 7.10系统是新安装的,没有装过其他的大型软件,可能有的人的系统需要更多的约束条件。自己去找下软件包就可以解决。)
3、开始安装abaqus有限元分析软件
(1) 首先安装abaqus的帮助文档,这是遵循xp系统下的abaqus的安装过程的。其实,也可以不安装TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD2.iso。因为TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD1.iso的安装过程的最后会提示你输入帮助文档的url地址,我们可以输入自己本机上的帮助文档的url,也快以输入在线文档的url。该地址安装程序会提示给你的。
把安装盘挂载到/mnt目录,这样可以方便安装。而不用解压光盘文件。
kui@hansen:/home/qiu/abaqus$ sudo mount -o loop TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD2.iso /mnt
进入/mnt目录,并显示/mnt目录下的文件:
kui@hansen:/home/qiu/abaqus$ cd /mnt
kui@hansen:/mnt$ ls
Autorun.inf docs JVM setup setup.exe
不知道为什么,abaqus的安装文件不允许在自己的目录下安装的,故退回到根目录下。
kui@hansen:/mnt$ cd ..
kui@hansen:/$ sudo /mnt/./setup
A scratch directory is required to extract the java runtime
environment that is required to execute the installer.
$TMPDIR is not defined on this system. Provide the full path
to the scratch directory.
Scratch directory is: /tmp 这个地方输入你的临时目录,一般选择/tmp目录。
Extracting temporary java runtime environment to /tmp...
接下来就跳出了安装界面。也就是next一步步往下走就可以了,在这里不详细叙述了。在选择安装目录时填上/opt/abaqus,这个目录你自己去创建。
如果一切顺利的话,你将在/opt/abaqus目下看到以下目录:
kui@hansen:/opt/abaqus/Documentation$ ls
bin gwpatch lib license.key scripts texis.cnf
docs installation_info license.did logs texis
kui@hansen:/opt/abaqus/Documentation$ pwd
/opt/abaqus/Documentation
启动abaqus的web服务器:
kui@hansen:/opt/abaqus/Documentation/installation_info/v6.7$ pwd
/opt/abaqus/Documentation/installation_info/v6.7
kui@hansen:/opt/abaqus/Documentation/installation_info/v6.7$ ls
html_InstallLog.log info.log installer.properties verifyServer
html_uninstaller initializeExecutable startServer
kui@hansen:/opt/abaqus/Documentation/installation_info/v6.7$ sudo ./startServer
这样就可以启动了,因为安装过程中,我一直用的sudo的形式安装。故在文件的权限方式存在问题。如果不用sudo的话,将会出现一下错误的。
kui@hansen:/opt/abaqus/Documentation/installation_info/v6.7$ ./startServer monitor: failed to start, exit code 4 (Cannot open monitor log)
希望某位高手来解决整个安装过程中的不周到的地方。
访问abaqus帮助文档的方式,直接在浏览器中输入:http://xxxx:2080/v6.7/。这个地址在安装结束前会提示你的,请你记下来。
(2) 安装abaqus的主程序
kui@hansen:/home/qiu/abaqus$ sudo mount -o loop [?????].TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD1.iso /mnt
kui@hansen:/home/qiu/abaqus$ cd /mnt
kui@hansen:/mnt$ ls
JVM linux32 setup SHooTERS
大家注意一下:按照SHooTERS的要求来作,现把license.dat文件中<pc-name>改成你的机器名。
kui@hansen:/mnt$ uname -a
Linux hansen 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
第二个字符串就是你的机器名。把修改过的文件license.dat保存在自己的目录下。接下来会用到的。
kui@hansen:/mnt$ cd ..
kui@hansen:/$ sudo /mnt/./setup -nosystemchecks
A scratch directory is required for the execution of the
Abaqus installation procedure.
TMPDIR is not defined on this system. Provide the full path
to the scratch directory.
Scratch directory is: /tmp 输入临时目录/tmp
Extracting temporary installation utilities to /tmp...
Executing the installation GUI...
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
跳出安装界面,一直到选择选择License或Prodcut时。先安装License server,安装目录选择/opt/abaqus。
安装方式:just install the license server。不选择install the license server and start the server 的方式,因为license.dat文件在此刻加入的话,会出现错误。导致无法安装。
安装完license server后,如果一切顺利的话,进入目录/opt/abaqus/License
kui@hansen:/opt/abaqus/License$ pwd
/opt/abaqus/License
kui@hansen:/opt/abaqus/License$ ls
ABAQUSLM lmborrow lmgrd lmnewlog lmreread lmswitchr
installation_info lmdiag lmhostid lmpath lmstat lmutil
license.dat lmdown lminstall lmremove lmswitch lmver
把原先修改好的licnese.dat文件拷到/opt/abaqus/License下,这样就可以开始启动license server了。
kui@hansen:/opt/abaqus/License$ ./lmgrd -c license.dat #./lmgrd启动license server,"-c" 后缀后加上license.dat文件。非常重要!!!
10:42:10 (lmgrd) -----------------------------------------------
10:42:10 (lmgrd) Please Note:
10:42:10 (lmgrd)
10:42:10 (lmgrd) This log is intended for debug purposes only.
10:42:10 (lmgrd) In order to capture accurate license
kui@hansen:/opt/abaqus/License$ ./lmutil lmstat #可以查看license server 是否正常启动
lmutil - Copyright (c) 1989-2005 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
至此license server 安装结束。接下来回到安装界面,我们继续开始安装Product,这个过程的安装目录/opt/abaqus,输入的license server 的名称,可以通过./lmutil lmstat 查看到你的,形式:2700X@xxxxx,具体看下你的机器显示。
然后是next……一直往下走就可以了。
(3) 启动abaqus CAE
kui@hansen:/opt/abaqus$ ls
6.7-1 Commands Documentation License
kui@hansen:/opt/abaqus$ cd Commands/
kui@hansen:/opt/abaqus/Commands$ pwd
/opt/abaqus/Commands
kui@hansen:/opt/abaqus/Commands$ sudo ./abaqus cae
标准的启动方式是abaqus cae -mesa,因为没有设置好主目录的原因,故无法这样启动。只能用./abaqus cae的方式启动。
个人感觉:./abaqus cae -mesa启动后的界面的刷新速度有问题的,很慢的,显示效果不是很好。而通过./abaqus cae 启动时,刷新速度提高,显示效果好点。建议关掉3d桌面,不然的话,可能CAE显示时是透明的。哈哈
[/img]
请求版主加精,谢谢!如果有可能的话,请把"办公、图像、机械电子设计"等改为“办公、图像、机械电子设计、有限元分析等”,并在介绍后加上abaqus软件。谢谢。
以下是我的安装步骤:
1、下载安装文件
TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD1.iso和TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD2.iso这两个文件可以从www.verycd.com上下载,下载后的文件后缀名为TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD1.bin的。可能这个格式的文件需要转换到iso格式。
下载地址:http://lib.verycd.com/2007/06/10/0000153135.html 感谢发布者:呂翊翀
把bin文件转换为iso的小软件bin2iso的下载地址:post-11006.html&sid=dc5cfd2ddf3447f3d5a9430cc0e1e0dc 感谢楼主:bonede
2、准备安装前的软件所要求的软件包
在安装LF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD2.iso(该文件是abaqus的帮助文档)文件时会出现对libtermcap.so.2库文件的要求,若没有这个库的话,abaqus的帮助文档的web服务器无法启动的。
以下是搜集到的有关libtermcap.so.2的资料:
Debian 使用 terminfo 数据库和 ncurses 库文件而不是 termcap 数据库和termcap 库文件, 编译这些软件时应该用 libncurses 替换 libtermcap, 并且用户应该有一定的关于终端接口的知识。
为了运行已经和 termcap 库相连并且你没有源代码的程序, Debian 提供了一个称作 termcap-compat 的包, 它提供了 libtermcap.so.2 和 /etc/termcap, 安装这个包可以解决程序运行提示无法加载'libtermcap.so.2'库或缺少 /etc/termcap 文件的问题。
所以我们去下载 termcap-compat,下载地址:http://packages.debian.org/oldstable/ol ... cap-compat
termcap-compat软件包的约束条件是libc5 (>= 5.4.0-0),The Linux C library version 5 (run-time libraries)。若系统上没有这个libc5的软件包的话,继续去下载。
libc5的下载地址是:http://packages.debian.org/sarge/libc5
而麻烦的是libc5的约束条件是ldso (>= 1.7.14-2),The Linux dynamic linker and library for libc4 and libc5。继续下载ldso软件包,下载地址:http://packages.debian.org/sarge/ldso
安装顺序是ldso-->libc5-->termcap-compat,由于这三个都是deb形式的软件包,安装起来还是非常顺利的。(我的ubuntu 7.10系统是新安装的,没有装过其他的大型软件,可能有的人的系统需要更多的约束条件。自己去找下软件包就可以解决。)
3、开始安装abaqus有限元分析软件
(1) 首先安装abaqus的帮助文档,这是遵循xp系统下的abaqus的安装过程的。其实,也可以不安装TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD2.iso。因为TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD1.iso的安装过程的最后会提示你输入帮助文档的url地址,我们可以输入自己本机上的帮助文档的url,也快以输入在线文档的url。该地址安装程序会提示给你的。
把安装盘挂载到/mnt目录,这样可以方便安装。而不用解压光盘文件。
kui@hansen:/home/qiu/abaqus$ sudo mount -o loop TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD2.iso /mnt
进入/mnt目录,并显示/mnt目录下的文件:
kui@hansen:/home/qiu/abaqus$ cd /mnt
kui@hansen:/mnt$ ls
Autorun.inf docs JVM setup setup.exe
不知道为什么,abaqus的安装文件不允许在自己的目录下安装的,故退回到根目录下。
kui@hansen:/mnt$ cd ..
kui@hansen:/$ sudo /mnt/./setup
A scratch directory is required to extract the java runtime
environment that is required to execute the installer.
$TMPDIR is not defined on this system. Provide the full path
to the scratch directory.
Scratch directory is: /tmp 这个地方输入你的临时目录,一般选择/tmp目录。
Extracting temporary java runtime environment to /tmp...
接下来就跳出了安装界面。也就是next一步步往下走就可以了,在这里不详细叙述了。在选择安装目录时填上/opt/abaqus,这个目录你自己去创建。
如果一切顺利的话,你将在/opt/abaqus目下看到以下目录:
kui@hansen:/opt/abaqus/Documentation$ ls
bin gwpatch lib license.key scripts texis.cnf
docs installation_info license.did logs texis
kui@hansen:/opt/abaqus/Documentation$ pwd
/opt/abaqus/Documentation
启动abaqus的web服务器:
kui@hansen:/opt/abaqus/Documentation/installation_info/v6.7$ pwd
/opt/abaqus/Documentation/installation_info/v6.7
kui@hansen:/opt/abaqus/Documentation/installation_info/v6.7$ ls
html_InstallLog.log info.log installer.properties verifyServer
html_uninstaller initializeExecutable startServer
kui@hansen:/opt/abaqus/Documentation/installation_info/v6.7$ sudo ./startServer
这样就可以启动了,因为安装过程中,我一直用的sudo的形式安装。故在文件的权限方式存在问题。如果不用sudo的话,将会出现一下错误的。
kui@hansen:/opt/abaqus/Documentation/installation_info/v6.7$ ./startServer monitor: failed to start, exit code 4 (Cannot open monitor log)
希望某位高手来解决整个安装过程中的不周到的地方。
访问abaqus帮助文档的方式,直接在浏览器中输入:http://xxxx:2080/v6.7/。这个地址在安装结束前会提示你的,请你记下来。
(2) 安装abaqus的主程序
kui@hansen:/home/qiu/abaqus$ sudo mount -o loop [?????].TLF-SOFT-Abaqus.v6.7.Linux32-SHooTERS-CD1.iso /mnt
kui@hansen:/home/qiu/abaqus$ cd /mnt
kui@hansen:/mnt$ ls
JVM linux32 setup SHooTERS
大家注意一下:按照SHooTERS的要求来作,现把license.dat文件中<pc-name>改成你的机器名。
kui@hansen:/mnt$ uname -a
Linux hansen 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
第二个字符串就是你的机器名。把修改过的文件license.dat保存在自己的目录下。接下来会用到的。
kui@hansen:/mnt$ cd ..
kui@hansen:/$ sudo /mnt/./setup -nosystemchecks
A scratch directory is required for the execution of the
Abaqus installation procedure.
TMPDIR is not defined on this system. Provide the full path
to the scratch directory.
Scratch directory is: /tmp 输入临时目录/tmp
Extracting temporary installation utilities to /tmp...
Executing the installation GUI...
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
跳出安装界面,一直到选择选择License或Prodcut时。先安装License server,安装目录选择/opt/abaqus。
安装方式:just install the license server。不选择install the license server and start the server 的方式,因为license.dat文件在此刻加入的话,会出现错误。导致无法安装。
安装完license server后,如果一切顺利的话,进入目录/opt/abaqus/License
kui@hansen:/opt/abaqus/License$ pwd
/opt/abaqus/License
kui@hansen:/opt/abaqus/License$ ls
ABAQUSLM lmborrow lmgrd lmnewlog lmreread lmswitchr
installation_info lmdiag lmhostid lmpath lmstat lmutil
license.dat lmdown lminstall lmremove lmswitch lmver
把原先修改好的licnese.dat文件拷到/opt/abaqus/License下,这样就可以开始启动license server了。
kui@hansen:/opt/abaqus/License$ ./lmgrd -c license.dat #./lmgrd启动license server,"-c" 后缀后加上license.dat文件。非常重要!!!
10:42:10 (lmgrd) -----------------------------------------------
10:42:10 (lmgrd) Please Note:
10:42:10 (lmgrd)
10:42:10 (lmgrd) This log is intended for debug purposes only.
10:42:10 (lmgrd) In order to capture accurate license
kui@hansen:/opt/abaqus/License$ ./lmutil lmstat #可以查看license server 是否正常启动
lmutil - Copyright (c) 1989-2005 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
至此license server 安装结束。接下来回到安装界面,我们继续开始安装Product,这个过程的安装目录/opt/abaqus,输入的license server 的名称,可以通过./lmutil lmstat 查看到你的,形式:2700X@xxxxx,具体看下你的机器显示。
然后是next……一直往下走就可以了。
(3) 启动abaqus CAE
kui@hansen:/opt/abaqus$ ls
6.7-1 Commands Documentation License
kui@hansen:/opt/abaqus$ cd Commands/
kui@hansen:/opt/abaqus/Commands$ pwd
/opt/abaqus/Commands
kui@hansen:/opt/abaqus/Commands$ sudo ./abaqus cae
标准的启动方式是abaqus cae -mesa,因为没有设置好主目录的原因,故无法这样启动。只能用./abaqus cae的方式启动。
个人感觉:./abaqus cae -mesa启动后的界面的刷新速度有问题的,很慢的,显示效果不是很好。而通过./abaqus cae 启动时,刷新速度提高,显示效果好点。建议关掉3d桌面,不然的话,可能CAE显示时是透明的。哈哈
[/img]
-
- 帖子: 8
- 注册时间: 2006-06-23 8:35
-
- 帖子: 31
- 注册时间: 2007-08-26 12:18
-
- 帖子: 8
- 注册时间: 2006-06-23 8:35
-
- 帖子: 31
- 注册时间: 2007-08-26 12:18
-
- 帖子: 8
- 注册时间: 2006-06-23 8:35
-
- 帖子: 1
- 注册时间: 2007-10-25 16:18
-
- 帖子: 31
- 注册时间: 2007-08-26 12:18
-
- 帖子: 8
- 注册时间: 2006-06-23 8:35
-
- 帖子: 156
- 注册时间: 2005-05-31 19:32
-
- 帖子: 1
- 注册时间: 2007-07-03 4:38
-
- 帖子: 33
- 注册时间: 2008-04-01 14:15