安装Linux版的flow3d流程:
1、复制flow3d安装CD盘中unix文件夹到Linux系统桌面;(或从CD中直接安装也可以)
2、从terminal进入unix文件夹;
3、./install或./install_flow3d
4、提示是否接受license协议,回答:yes;
5、提示输入安装路径:FLOW3D/v9.4/
6、提示选择下列Linux操作系统:
1. 32-bit RHEL 3 or above
2. 32-bit SUSE 9 or above (client only)
3. 64-bit RHEL 3 or above
4. 64-bit SUSE 9 or above (client only)
5. None of the above — exit
Please enter a number from 1 to 5:
根据自己具体情况选择;(如果系统是CentOS版本可以选择1或者3)
7、提示选择flow3d的安装类型:
1. FLOW-3D 9.4 and Flexlm License Server – Client/Server Installation
2. FLOW-3D 9.4 only – Client Installation
3. Flexlm license server only – Server Installation
4. None of the above — exit
Please enter a number from 1 to 4:
根据自己需要选择;(一般选择1)
8、选择完后,自动安装软件,并检查系统的兼容性,判断所需要的库文件是否都已经安装,如果缺少库文件,会自动提示所缺的库文件。
Checking system compatibility
shared library libqwt5.so.1 not found
shared library libifcore.so.5 not found
shared library libifport.so.5 not found
shared library libimf.so not found
shared library libQtXml.so.4 not found
shared library libQtOpenGL.so.4 not found
shared library libQtGui.so.4 not found
shared library libQtCore.so.4 not found
shared library libirc.so not found
Some require shared libraries were not found in your system.
FLOW-3D will use the libraries bundled with this installation
To resolve the missing libraries on your system, the LD_LIBRARY_PATH
environment variable has been appended in the flow3dvars.sh and flow3dvars.csh
files to include the libraries included with FLOW-3D. The libraries included
with FLOW-3D provide maximum compatibility but may not be the latest available
for your system. If you choose to resolve these libraries by installing the
appropriate package, comment out the corresponding setting in flow3dvars.sh
and/or flow3dvars.csh and source them to refresh the LD_LIBRARY_PATH environment
variable.
如果缺少库文件时,需要执行下面指令:
source FLOW3D/v9.4/local/flow3dvars.sh 或者
source FLOW3D/v9.4/local/flow3dvars.csh
9、现在可以进入flow3d安装目录的licenses文件夹,
cd FLOW3D/v9.4/licenses
启动license server:
./lmgrd -c flow3d.lic -l flow3d.log &
查看lmgrd的启动状态:
./lmstat
./lmutil lmdiag -c flow3d.lic
如果出现下面提示,说明lmgrd启动成功了:
License server status: 27000@flow3d
License file(s) on flow3d: FLOW3D/v9.4/licenses/flow3d.lic:
flow3d: license server UP (MASTER) v11.6
Vendor daemon status (on flow3d):
F3DTKNUX: UP v11.6
如果出现下面提示,说明lmgrd没有正常启动:
License server status: 27000@flow3d
License file(s) on flow3d: FLOW3D/v9.4/licenses/flow3d.lic:
flow3d: license server UP (MASTER) v11.6
Vendor daemon status (on flow3d):
F3DTKNUX: The desired vendor daemon is down. (-97,121)
(注:FLEXLM -97,The desired vendor daemon is down. )
如果没有正常启动,需要检查下面内容:
1、license是否是有效license?如已经过期,请更新;
2、license中的hostname是否正确?可以输入指令:hostname,来确认;
3、dongle是否和license中的flexid相匹配?
4、系统时间是否在license的授权时间范围内?如时间不对,请调整系统时间;
10、进入flow3d安装目录的local文件夹,
cd FLOW3D/v9.4/local
启动flow3d:
./flow3d
如果此时出现error while loading shared libraries:
libqwt5.so.1: cannot open shared object file: No such file or directory
则需要执行分享库文件指令:
source FLOW3D/v9.4/local/flow3dvars.sh
这样再./flow3d就可以正常运行了!
可以使用ssh等字符界面远程启动flow3d程序,也可以通过ssh+win32等图形界面远程启动flow3d程序。