ubuntu 7.04下安装FLUENT成功
这两天打算找公司一台台式机来做计算,就算性能比较差也将就了。给机子重装了XP以后才发现内存实在太低,只有可怜的512M。想换成2G的内存竟然比买新的还麻烦,faint!
今天是年前的最后一天班,公司竟然破天荒的没有封闭网络:)于是无聊之下开始打起了在linux下装FLUENT的主意。
之前在网上搜了一些资料,主要是安装fluent6.2的《linux下Fluent的安装》,google or baidu “linux fluent 安装“即可看到。由于我的版本是fluent 6.3 和Gambit 2.3,所以安装的时候竟然出乎意料的顺利。过程不敢独享,贴出来以备他人之需。
0 准备:
操作系统Ubuntu 7.04
FLUENT6.3 GAMBIT2.3 for Linux
1 安装FLUENT:
将压缩文件解压缩,并进入相应文件夹
sudo ./ Fluent_install-lnx86-6.3.26.sh
提示选择路径时输入
/opt/
然后一路回车,完毕。
2 安装GAMBIT:
同上,不再详述;
3 sudo cp XXX/license.dat /opt/Fluent.Inc/license/
其中XXX为Gambit的license.dat所在路径
4 运行Gambit
pusure@pusure-laptop:/opt/Fluent.Inc/bin$ ./gambit
LANG zh_CN.UTF-8 changed temporarily to en_CA for gambit use.
Starting /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit ...
WARNING(13) - /opt/Fluent.Inc/bin: PERMISSION DENIED
FATAL ERROR: INVALID SCRATCH PATH /opt/Fluent.Inc/bin !!!
pusure@pusure-laptop:/opt/Fluent.Inc/bin$
看到***DENIED,怀疑权限不够,加上sudo,运行,OK
pusure@pusure-laptop:/opt/Fluent.Inc/bin$ sudo ./gambit
5 运行FLUENT
pusure@pusure-laptop:/opt/Fluent.Inc/bin$ ./fluent
似乎不用取得root权限就可以运行,但在运行中还是出了点问题:
Loading "/opt/Fluent.Inc/fluent6.3.26/lib/fluent.dmp.114-32"
Done.
/opt/Fluent.Inc/fluent6.3.26/bin/fluent -r6.3.26 -path/opt/Fluent.Inc -cx pusure
The versions available in /opt/Fluent.Inc/fluent6.3.26/lnx86 are:
2d 2ddp_host 2d_host 3d 3ddp_host 3d_host
2ddp 2ddp_node 2d_node 3ddp 3ddp_node 3d_node
EOF on stdout. The fluent process could not be started.
其实这个在FLUENT的user's guide里面已经讲得很清楚了,看ug第一章。
解决办法:
pusure@pusure-laptop:/opt/Fluent.Inc/bin$ ./fluent -3d
Over!
今天是年前的最后一天班,公司竟然破天荒的没有封闭网络:)于是无聊之下开始打起了在linux下装FLUENT的主意。
之前在网上搜了一些资料,主要是安装fluent6.2的《linux下Fluent的安装》,google or baidu “linux fluent 安装“即可看到。由于我的版本是fluent 6.3 和Gambit 2.3,所以安装的时候竟然出乎意料的顺利。过程不敢独享,贴出来以备他人之需。
0 准备:
操作系统Ubuntu 7.04
FLUENT6.3 GAMBIT2.3 for Linux
1 安装FLUENT:
将压缩文件解压缩,并进入相应文件夹
sudo ./ Fluent_install-lnx86-6.3.26.sh
提示选择路径时输入
/opt/
然后一路回车,完毕。
2 安装GAMBIT:
同上,不再详述;
3 sudo cp XXX/license.dat /opt/Fluent.Inc/license/
其中XXX为Gambit的license.dat所在路径
4 运行Gambit
pusure@pusure-laptop:/opt/Fluent.Inc/bin$ ./gambit
LANG zh_CN.UTF-8 changed temporarily to en_CA for gambit use.
Starting /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit ...
WARNING(13) - /opt/Fluent.Inc/bin: PERMISSION DENIED
FATAL ERROR: INVALID SCRATCH PATH /opt/Fluent.Inc/bin !!!
pusure@pusure-laptop:/opt/Fluent.Inc/bin$
看到***DENIED,怀疑权限不够,加上sudo,运行,OK
pusure@pusure-laptop:/opt/Fluent.Inc/bin$ sudo ./gambit
5 运行FLUENT
pusure@pusure-laptop:/opt/Fluent.Inc/bin$ ./fluent
似乎不用取得root权限就可以运行,但在运行中还是出了点问题:
Loading "/opt/Fluent.Inc/fluent6.3.26/lib/fluent.dmp.114-32"
Done.
/opt/Fluent.Inc/fluent6.3.26/bin/fluent -r6.3.26 -path/opt/Fluent.Inc -cx pusure
The versions available in /opt/Fluent.Inc/fluent6.3.26/lnx86 are:
2d 2ddp_host 2d_host 3d 3ddp_host 3d_host
2ddp 2ddp_node 2d_node 3ddp 3ddp_node 3d_node
EOF on stdout. The fluent process could not be started.
其实这个在FLUENT的user's guide里面已经讲得很清楚了,看ug第一章。
解决办法:
pusure@pusure-laptop:/opt/Fluent.Inc/bin$ ./fluent -3d
Over!
作者: chaian 发布时间: 2008-02-13
我运行gambit有问题呢,去google了一下也没发现有这个问题,终端显示为
LANG zh_CN.UTF-8 changed temporarily to en_US for gambit use.
Starting /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit ...
Gambit build SP2006033020.
Warning: locale not supported by C library, locale unchanged
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb2882767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb28828b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb2b361bd]
#3 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a650a9]
#4 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a6547a]
#5 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a63be7]
#6 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a642ab]
#7 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(vgl_OpenGLDevBestVisualX+0x1f7) [0x99b7305]
#8 /opt/Fluent.Inc/gambit2.3.16/lnx86/BX.so(vgl_visual+0x2a6) [0xb6a4f04a]
#9 /opt/Fluent.Inc/gambit2.3.16/lnx86/G.so(_Z16cpp_teleuse_mainiPPc+0x31a) [0xb615cdd2]
#10 /opt/Fluent.Inc/gambit2.3.16/lnx86/G.so(teleuse_main+0x1e) [0xb60e082a]
#11 /opt/Fluent.Inc/gambit2.3.16/lnx86/BX.so(motif_init+0xfb) [0xb6a4eb33]
#12 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(_Z17local_gambit_mainiPPc+0x2a6) [0x808c972]
#13 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x808d8b3]
#14 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb28be450]
#15 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(XMapRaised+0x31) [0x8072bd1]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb2882767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb288281e]
#2 /usr/lib/libX11.so.6 [0xb2b35518]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb2b2c0a6]
#4 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a647ef]
#5 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(vgl_OpenGLDevBestVisualX+0x1f7) [0x99b7305]
#6 /opt/Fluent.Inc/gambit2.3.16/lnx86/BX.so(vgl_visual+0x2a6) [0xb6a4f04a]
#7 /opt/Fluent.Inc/gambit2.3.16/lnx86/G.so(_Z16cpp_teleuse_mainiPPc+0x31a) [0xb615cdd2]
#8 /opt/Fluent.Inc/gambit2.3.16/lnx86/G.so(teleuse_main+0x1e) [0xb60e082a]
#9 /opt/Fluent.Inc/gambit2.3.16/lnx86/BX.so(motif_init+0xfb) [0xb6a4eb33]
#10 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(_Z17local_gambit_mainiPPc+0x2a6) [0x808c972]
#11 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x808d8b3]
#12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb28be450]
#13 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(XMapRaised+0x31) [0x8072bd1]
gambit: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
Received exception: SIGABRT (abort signal)
Please send the GAMBIT.6197/jou and GAMBIT.6197/trn files to your local
Fluent office or distributor. Also send a message including any
relevant errors or warnings you see above in this window. You may
wish to delete the temporary directory GAMBIT.6197 after sending the
above files.
ERROR: Please retain a copy of the GAMBIT.6197/jou, GAMBIT.6197/trn, and
GAMBIT.6197/*.dbs files, any imported geometry and any relevant
errors or warnings you see above in this window and contact
support at your local Fluent office or distributor.
忽略
请问应该怎么解决。
LANG zh_CN.UTF-8 changed temporarily to en_US for gambit use.
Starting /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit ...
Gambit build SP2006033020.
Warning: locale not supported by C library, locale unchanged
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb2882767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb28828b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb2b361bd]
#3 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a650a9]
#4 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a6547a]
#5 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a63be7]
#6 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a642ab]
#7 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(vgl_OpenGLDevBestVisualX+0x1f7) [0x99b7305]
#8 /opt/Fluent.Inc/gambit2.3.16/lnx86/BX.so(vgl_visual+0x2a6) [0xb6a4f04a]
#9 /opt/Fluent.Inc/gambit2.3.16/lnx86/G.so(_Z16cpp_teleuse_mainiPPc+0x31a) [0xb615cdd2]
#10 /opt/Fluent.Inc/gambit2.3.16/lnx86/G.so(teleuse_main+0x1e) [0xb60e082a]
#11 /opt/Fluent.Inc/gambit2.3.16/lnx86/BX.so(motif_init+0xfb) [0xb6a4eb33]
#12 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(_Z17local_gambit_mainiPPc+0x2a6) [0x808c972]
#13 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x808d8b3]
#14 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb28be450]
#15 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(XMapRaised+0x31) [0x8072bd1]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb2882767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb288281e]
#2 /usr/lib/libX11.so.6 [0xb2b35518]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb2b2c0a6]
#4 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x9a647ef]
#5 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(vgl_OpenGLDevBestVisualX+0x1f7) [0x99b7305]
#6 /opt/Fluent.Inc/gambit2.3.16/lnx86/BX.so(vgl_visual+0x2a6) [0xb6a4f04a]
#7 /opt/Fluent.Inc/gambit2.3.16/lnx86/G.so(_Z16cpp_teleuse_mainiPPc+0x31a) [0xb615cdd2]
#8 /opt/Fluent.Inc/gambit2.3.16/lnx86/G.so(teleuse_main+0x1e) [0xb60e082a]
#9 /opt/Fluent.Inc/gambit2.3.16/lnx86/BX.so(motif_init+0xfb) [0xb6a4eb33]
#10 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(_Z17local_gambit_mainiPPc+0x2a6) [0x808c972]
#11 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit [0x808d8b3]
#12 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb28be450]
#13 /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit(XMapRaised+0x31) [0x8072bd1]
gambit: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
Received exception: SIGABRT (abort signal)
Please send the GAMBIT.6197/jou and GAMBIT.6197/trn files to your local
Fluent office or distributor. Also send a message including any
relevant errors or warnings you see above in this window. You may
wish to delete the temporary directory GAMBIT.6197 after sending the
above files.
ERROR: Please retain a copy of the GAMBIT.6197/jou, GAMBIT.6197/trn, and
GAMBIT.6197/*.dbs files, any imported geometry and any relevant
errors or warnings you see above in this window and contact
support at your local Fluent office or distributor.
忽略
请问应该怎么解决。
作者: fanqo 发布时间: 2008-04-29
忘了说明了,我用的是8。04的ubuntu
作者: fanqo 发布时间: 2008-04-29
fanqo你好,我也有这个问题 ,你现在解决了吗?
作者: sharko 发布时间: 2008-05-15
没有解决呢,难道非得用wine来运行?
作者: fanqo 发布时间: 2008-05-26
~/gambit -x11
就可以了
就可以了
作者: zhuge000 发布时间: 2008-07-09