歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 如何安裝Linux版FLOW-3D及注意事項

如何安裝Linux版FLOW-3D及注意事項

日期:2017/2/28 16:28:54   编辑:Linux教程

安裝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程序。

Copyright © Linux教程網 All Rights Reserved