[原创]在ubuntu7.10上成功安装和使用abaqus v6.7 linux版本,经验共享

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
china_qiu
帖子: 8
注册时间: 2006-06-23 8:35

[原创]在ubuntu7.10上成功安装和使用abaqus v6.7 linux版本,经验共享

#1

帖子 china_qiu » 2007-10-21 11:02

曾经尝试在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]
附件
Screenshot.jpg
china_qiu
帖子: 8
注册时间: 2006-06-23 8:35

#2

帖子 china_qiu » 2007-10-23 20:00

终于搞明白了,
kui@hansen:/opt/abaqus/Commands$ sudo ./abaqus cae
kui@hansen:/opt/abaqus/Commands$ sudo ./abaqus cae -mesa
这两个命令的区别,abaqus cae 这个命令是默认启用显卡的,而abaqus cae -mesa则是关闭显卡功能的。因为abaqus在某些显卡上不能运行。当执行这个命令时,abaqus界面的刷新会很慢的。
fyecho
帖子: 31
注册时间: 2007-08-26 12:18

#3

帖子 fyecho » 2007-10-24 8:18

太好了,晚上试一下,呵呵,正需要,谢谢
fyecho
帖子: 31
注册时间: 2007-08-26 12:18

#4

帖子 fyecho » 2007-10-24 20:23

555,小弟第一步都没过,就是
kui@hansen:/mnt$ cd ..
kui@hansen:/$ sudo /mnt/./setup
这里,提示没有路径或文件,不知道怎么搞的,请帮助
china_qiu
帖子: 8
注册时间: 2006-06-23 8:35

#5

帖子 china_qiu » 2007-10-25 11:07

我是把文件放在自己的一个目录下,然后把这个安装文件(后缀名为.iso)的加载到/mnt目录下,你也可以放在其他的目录下。请检查一下你的加载目录是否在这一目录下,如果你对如何加载iso文件有问题的话,请google一下,就完全明白了。
fyecho
帖子: 31
注册时间: 2007-08-26 12:18

#6

帖子 fyecho » 2007-10-25 14:52

我是在windows下把文件变成iso的,然后在ubuntu下mount的,到mount目录那里,点setup没反应,出来后还是不行,不知道怎么搞的
china_qiu
帖子: 8
注册时间: 2006-06-23 8:35

#7

帖子 china_qiu » 2007-10-25 15:30

如果你是从windows中转换过来的话,具体的数据会不会有问题。其实,你可以在windows下直接把文件解压出来的。然后在那个目录下安装就可以了。比方说,你把两个光盘文件都解压到:d:/abaqus/下,这样的话,你进入ubuntu后,应该在桌面上能看到你解压的那个分区的。也就是桌面上的那几个分区图标的。然后你再用命令行执行,我没有试过用鼠标双击的方法是否可以安装。大概都是在这个目录下的:/media/sdax(x为1、2、3等) 或者/media/hdax。
ligh
帖子: 1
注册时间: 2007-10-25 16:18

#8

帖子 ligh » 2007-10-25 16:25

回 fyecho:
setup 是个c shell 文件
sudo apt-get install csh
安装完后就可以./setup了
同时
sudo mkdir /usr/tmp
创建这个文件夹是用来放flexm的,否则安装license server完后,./lmgrd -c license.dat会报错的
good luck!
fyecho
帖子: 31
注册时间: 2007-08-26 12:18

#9

帖子 fyecho » 2007-10-25 20:12

哪位兄弟把abaqus的linux下的license贴一下,我的好像是windows下的,就是把一些exe文件覆盖的那个,好像不好用阿
china_qiu
帖子: 8
注册时间: 2006-06-23 8:35

#10

帖子 china_qiu » 2007-10-26 16:52

只要你下的版本是abaqus linux 版本的,里面的license.dat文件可以用的。好像这个没有区别的,因为matlaba中的License.dat文件好像是一模一样的。.exe结尾的文件对程序的运行不会有任何影响的。而且Linux系统本来就是忽略文件的后缀名的。放心使用!
夸平台的东西可能就是这样的,没有外形的区别,只有本质的区别。具体的细节对程序的性能有影响,但是客户所看到的外观细节都应该是一致的。
谢谢大家的点击,虽然还有很多问题没有解决。但是经过大家的共同努力的话,这个软件的安装也会向proe那样容易安装的。
fyecho
帖子: 31
注册时间: 2007-08-26 12:18

#11

帖子 fyecho » 2007-10-28 11:12

我的abaqus安装文件是从公司拷贝的正版,所以没有crack,不好意思
field
帖子: 156
注册时间: 2005-05-31 19:32

#12

帖子 field » 2007-11-16 17:57

6.06上安装失败,提示如下:
ABAQUS Error: Bad instruction reference (10128). Please contact your local Abaqus office.
Abaqus Error: Abaqus/CAE Kernel exited with an error.

还请成功安装的朋友指点一下。
myfish
帖子: 15
注册时间: 2008-04-02 11:30

#13

帖子 myfish » 2008-04-02 15:07

64位的版本能不能安装?
insecthe
帖子: 1
注册时间: 2007-07-03 4:38

#14

帖子 insecthe » 2008-04-08 9:19

For the 12th floor:

I had the same problem before. You need to copy /mnt/SHooTERS/exec to overwrite the folder under /opt/abaqus/6.7-1/.
liucheng83
帖子: 33
注册时间: 2008-04-01 14:15

#15

帖子 liucheng83 » 2008-05-06 10:05

问一下,我把cd2.iso加载到/mnt中,直接运行 ./setup 提示 /bin/csh :损坏的解释器
而后切换到/home/username/目录下 运行 sudo /mnt/./setup 提示找不到文件 不知道有没有人碰到类似情形,
盼望得到解决办法
回复