搜档网
当前位置:搜档网 › FLUENT安装(Linux)

FLUENT安装(Linux)

豆豆在家

>>>学习>>实验室linux并行系统建设>>FLUENT安装过程
实验室并行机系统配置
具体安装过程
FLUENT安装过程
并行计算MPI




1. 将安装文件夹FLUENT_V6.2_LINUX_64BIT-LND上传到/root下
2. 开始安装
#cd FLUENT_V6.2_LINUX_64BIT-LND
#sh Fluent_install-lnamd64-6.2.16.sh
注意选择安装目录为 /usr/local,其他的直接回车
#sh Fluent_patch2_install-lnamd64-6.2.16.sh
同样选择安装目录为 /usr/local,其他的直接回车
3. copy license.dat文件
#cd crack
#cp license.dat /usr/local/Fluent.Inc/license/
4. 安装一个rpm包
把rpm包compat-libstdc++-8-3.3.4.2.x86_64.rpm上传到/root下
#rpm -ivh compat-libstdc++-8-3.3.4.2.x86_64.rpm
5. 设置环境变量
#vi /etc/profile
在最后面的done下面添加
PATH=/usr/local/Fluent.Inc/bin:$PATH
export PATH
6. 重启
#reboot
7. setup the PC's host file
需要在/etc/hosts文件里添加下列一行
127.0.0.1 localhost
8. 创建bhost文件
在/etc下新建文件bhost,内容为参加计算的计算机,第一行为计算主机,最后要留一空行!
node08 //这个作为fluent计算的主机
node08 //双cpu写2次
node07
node07
node06
...
//此处为空行
9. 启动fluent的命令
#fluent -t3 -rsh -pnmpi 3d -cnf=/etc/bhost
>>>t3 means use the first 3 cpus existing in /etc/bhost
>>>if there're 2 cpus in /etc/bhost, and you use -t4 it will use
the cpu twice (so the
job is divided into 4 parts to run, and each cpu takes 2 parts to
run)
>>>rsh 为传输服务名称
10. 由于可能的主板或者网卡问题, 该方法可以正确安装并运行, 但是运行时CPU利用率极低, 问题尚不明确.



FLUENT运行错误解决方法
1.缺少libXm.so.3
如果开始就安装英文linux操作系统,则会缺少这个文件,这个文件在openmotif的rpm里包括.
建议开始的时候安装默认的中文linux操作系统,然后可以通过更改/etc/sysconfig/i18n文件变成英文系统.
具体解决办法是root下
#startx 进入窗口模式,远程登录无效
到System Set

tings>Add/Remove Applications下选择上X Software
Development就可以了
安装过程中需要RHEL4-U5的disk4和disk3.




相关主题