安装Abaqus6.8.1出现两个问题。

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wo315
帖子: 4
注册时间: 2008-09-04 23:08

安装Abaqus6.8.1出现两个问题。

#1

帖子 wo315 » 2010-05-15 22:31

第一个是:提示我有个termcap的库没有安装,名字叫libtermcap.so。我按照论坛的方法没有找到。

第二个是:不允许写入文件。不知道为何。

谢谢提供帮助的朋友了。

wangyang@wangyang-laptop:~$ /bin/csh /home/wangyang/abaqus681/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: /home/wangyang/temp
***WARNING: We were unable to find the system termcap library (libtermcap.so).
This library is required to serve and search the Abaqus HTML
Documentation. Please install the termcap package for your Linux
distribution.


Hit <ENTER> to continue with the installation.


Extracting temporary java runtime environment to /home/wangyang/temp...
Executing the installation GUI...
/home/wangyang/abaqus681/docs/Disk1/InstData/UNIX/NoVM/install.bin: Permission denied.

Removing temporary java runtime environment...
Finished.

我看英文安装方法里面,说要在root下面安装。但是,论坛里面的安装方法没有提到这点。谢谢了。

附上,英文安装说明。

This is one way to install abaqus 6.8-1 in linux distros like centOS-5 and fedora-9. Might also work in debian/ubuntu.

Note: You need valid license and license file from abaqus

1. Prerequisites

Follow distro's documentation to perform these steps.

Install required packages:

a. Java JDK. Sun java preferred.
b. libXp
c. libstdc++5 (compat-libstdc++-33 for centOS)
d. csh

All steps require administrative (root) access, unless specified.

2. Preliminary steps

a. Copy the contents of the CD/DVD to, say, /sourcedir. Make sure that you have rw access.
b. Create installation directory.

Code:
mkdir /opt/abaqus681

3. Install Documentation

It's recommended to stay in the $HOME directory for the entire procedure with root access

First make the 'setup' in the /source executable.
(Making these files executable is most likely not necessary.)

Code:
chmod a+x /sourcedir/setup
and execute by

Code:
/bin/csh /sourcedir/setup -nosystemchecks

Follow instructions and give /tmp as the scratch dir. Instruct to install the doc in

Code:
/opt/abaqus681/

Once the documentation is complete move to the next step. 这一步出现的问题。

Note: We use the 'setup' file in the appropriate architecture (linux32/linux64) to perform the license and product installation.
One can also use the install.bin (after making it executable like in step-3) file in the doc or product/..pathto../install.bin directory to install the same. Sometimes it might throw some error because it looks for JVM in the wrong places.

4. Install License

Make 'setup' given in the appropriate architecture folder executable. Using this setup one can install both license and product.

Code:
/bin/csh /sourcedir/linux32or64/setup -nosystemchecks

and follow instructions and select 'install license only'.
Give the server details as 27003@YourComputerName.
Instruct to install the doc in /opt/abaqus681

Network installation (most common). Contact you System admin to obtain location of the license server.

If this is a local install
Do not try to start the license server now. Quit the installer.
Copy the license file you bought from abaqus to the /opt/abaqus681/License directory.

5. Install product

First, need to start the license server.Open up a new terminal and as a normal user (NOT as root!)

Code:
/opt/abaqus681/License/lmgrd -c /opt/abaqus681/LicenselicenseFileWithProper.Extension

and make sure that the server is up and running. That is, no errors.. Hopefully.

Run the installer by

Code:
/bin/csh /sourcedir/linux32or64/setup -nosystemchecks

Location to be installed: /opt/abaqus681/

if everything works fine then well and good. Logout off root and proceed to next step.

6. Launch the product

Remember that the license server is still running. If you stopped it or a reboot occurred then start the server by the command given in Step-5


Code:
/opt/abaqus681/Command/abaqus cae

and you should get the CAE up and running.

Note: Error such as the one shown below can come up.

Quote: /..../Python/Obj/Python.exe: error while loading shared libraries: /...../exec/lbr/libABQUTI_Zlib.so: cannot restore segment prot after reloc: Permission denied


SElinux may be preventing the launcher from executing properly. You can turn that off as being root

Code:
/usr/sbin/setenforce 0
or use the gui to turn it off. (Gnome) System>Administration>SElinux management. Or it may be listed as security.
If anyone has a better way of addressing this, please post it in this thread.


To stop, just quit the CAE and shutdown the license server by

Code:
/opt/abaqus681/License/lmgdown -c /opt/abaqus681/License/licenseFileWithProper.Extension

Of course, you can write shell scripts to automate these process. Good luck.
Hope that helped.
回复