Chinaunix首页 | 论坛 | 博客
  • 博客访问: 341873
  • 博文数量: 80
  • 博客积分: 1750
  • 博客等级: 上尉
  • 技术积分: 1380
  • 用 户 组: 普通用户
  • 注册时间: 2011-11-13 11:35
文章分类
文章存档

2014年(3)

2013年(1)

2012年(54)

2011年(22)

分类: 云计算

2012-08-25 08:36:09

Abaqus高性能计算
 
系统环境:rhel6.0 x86_64 iptables and selinux off
server: desktop4.example.com
        desktop1.example.com(用于并行计算作为被调用节点)
 
安装软件:

TLF-SOFT-Simulia.Abaqus.v6.10.1.ISO-TBE-DVD1.iso

TLF-SOFT-Simulia.Abaqus.v6.10.1.ISO-TBE-DVD2.iso

 

测试软件:

Job30-15.inp

 

首先安装****DVD2.iso

mount -o loop TLF-SOFT-Simulia.Abaqus.v6.10.1.ISO-TBE-DVD2.iso /media

yum install compat-libtermcap.i686 ncurses-libs.i686 compat-libstdc++-33.x86_64 rsh -y

 

安装abaqus 6.10 Documentation

[root@desktop4 Desktop]# /media/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

Extracting temporary java runtime environment 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 notice(next)-->Introduction(next)-->Installtion type-->hostname(next,:是否找到本机的IP or主机名)-->Web server selection(next)-->Installation directory(设定安装目录,此处设为/usr/local/abaqus,若安装目录不存在,则询问你是否创建,Yes,创建, 如图所示:)

 

 

-->Pre-installation summary(install,时间有点长)

-->Installing....(安装完成之后,可以通过给出的地址查看Documentation,如图:)

 

 

--> Installation complete(安装完成)

 

安装abaqus软件

mount -o loop TLF-SOFT-Simulia.Abaqus.v6.10.1.ISO-TBE-DVD1.iso  /media

 

[root@desktop4 ~]# /media/setup

Installing Abaqus for platform Linux/x86-64...

 

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

 

Checking system requirements for installation.  This will

take just a moment...

 

    All installation requirements are met, although at least

    one tested generated a warning.  Please review the output

    below before continuing with the Abaqus installation

    procedure...

 

 

***************************************

Checking for GNU Lib C version 2.3.2 or newer.

Pass - Found GNU Lib C Version 2.12.

 

Running system configuration checks for Linux/x86-64.

Please wait until all the needed information has been gathered...

 

System requirement status is:

 

Requirement:          SuSE Linux Enterprise 10 or 11, Red Hat Enterprise Linux

                      5

Products:             All Abaqus Products

Status:               Warning - Found Red Hat Enterprise Linux Server release

                      6.0 (Santiago), which is newer than the published Abaqus

                      requirement at the time this version was released.  Later

                      minor releases of a published requirement are generally

                      compatible with Abaqus.  Please check the system

                      requirements web page for the latest information on

                      supported configurations.

 

Requirement:          GNU Lib C 2.4 or later

Products:             All Abaqus Products

Status:               Pass - Found GNU Lib C 2.12, which was installed with

                      glibc-2.12-1.7.el6.x86_64.rpm.

 

Not all requirement checks succeeded.

 

***************************************

 

Hit to continue with the Abaqus installation.     #提示按回车建,将会出现图形界面

如下图所示:

 

 

Introduction(next,会弹出一个对话框,Continue)-->Installation type(next,弹出abaqus Licensing安装对话框,如下图所示: )

 

 

hostname(next)-->Installation type(选择just install the licensing utilities, next)-->Abaqus license file(此处为/usr/local/abaqus,如图所示: )

 

 

->....-->点击done完成安装(返回Installation type安装界面如图:)

 

 

安装到此先停一会

TLF-SOFT-Simulia.Abaqus.v6.10.1.ISO-TBE-DVD1.iso挂载点/media拷贝文件abaq6101.databaqus安装目录的License

cp /media/crack/abaq6101.dat /usr/local/abaqus/License/

 

vim /usr/local/abaqus/License/abaq6101.dat        #this_host改成主机名即可

SERVER desktop4.example.com ID=20111111 27011

....

 

以任意普通用户身份执行下面的命令,注意端口号是27011,此处用abaqus用户

useradd -u 600 abaqus

/usr/local/abaqus/License/lmgrd -c /usr/local/abaqus/License/abq6101.dat

 

 

接着上面继续安装:

....(next)-->License server(指定License server如图:, next)

 

 

....(next)-->Documentation(指定位置file:///usr/local/abaqus/Documentation/docs/v6.10/index.html,如下图所示:)

 

 

....(next)-->Installation directory(指定安装目录/usr/local/abaqus,如图所示: )

 

 

....(next)-->Abaqus working directory(选择I accept ...., next)如下图:

 

 

....(next)-->Installing(install开始安装),然后就慢慢等吧....


....(next)-->Product verification results(next)如图:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

....(done)完成安装

 

####以普通用户身份运行下面的命令 ,此处以abaqus身份

/usr/local/abaqus/Commands/abaqus  cae

 

若看到如下界面,表示abaqus安装成功

 

 

以普通用户身份运行下面的命令,进行测试,此处以abaqus身份

/usr/local/abaqus/Commands/abaqus cpus=2 job=Job30-15 interactive

 

效果如下两个CPU开始了计算,如图所示:

 

 

 

下面将介绍基于abaqus的分布式并行计算


: 所有参与abaqus分布式计算的节点都必须安装abaqus,并且配置相同

abaqus的安装可参考上面

 

useradd abaqus -u 600     #创建abaqus用户

passwd abaqus                 #设置abaqus密码

 

yum install rsh-server  xinetd  -y

chkconfig rsh on

chkconfig rlogin on

chkconfig rexec on

 

/etc/init.d/xinted restart

 

desktop4.example.com  主调结点

desktop1.example.com  被调结点

 

在被调结点

 

su – abaqus

vim .rhosts

desktop4.example.com       abaqus

 

chmod 600 .rhosts

 

测试

[abaqus@desktop4 ~]$ rsh desktop1.example.com hostname

desktop1.example.com

 

 

vim /usr/local/abaqus/6.10-1/site/abaqus_v6.env    #编辑文件在参与计算的所有结点

....

mp_rsh_command = 'rsh -n -l %U %H %C'

mp_host_list = [['desktop4.example.com',2],['desktop1.example.com',2]]  #主机名后数字表示CPU的核心数,即有几个cpu将会参与计算

....

 

####在主调结点以abaqus身份执行下面的命令

/usr/local/abaqus/Commands/abaqus  cpus=4  job=Job30-5  interactive

 

若一切正常,则会在主调和被调结点用top命令时,

会看到,均有两个CPU参与的计算

 

 

阅读(5080) | 评论(3) | 转发(0) |
给主人留下些什么吧!~~

_小韩_2018-11-06 15:59:38

您好 可以远程帮我安装一下abaqus吗

sureserver2014-05-27 16:17:06

很详细,不错,但是我的并行还是有问题,并不起来啊

sureserver2014-05-27 16:16:57

很详细,不错,但是我的并行还是有问题,并不起来啊