ziyou123 发表于 2009-11-18 11:11

linux下gambit启动失败的解决

最近在ubuntu安装了gambit,可是有时候启动不了,提示如下。经过查询资料终于解决了。
把经验给大家分享了:victory:
LANG zh_CN.UTF-8 changed temporarily to en_US for gambit use.
Starting /opt/Fluent.Inc/gambit2.3.16/lnx86/gambit ...
The amount of free memory is now less than 20% of the total system
memory (physical + swapspace).This Gambit session may end with a crash.
In that event, there are several possible work-arounds.
1) Try running without other larger processes executing on the same machine.
2) Split your model into several smaller pieces.
3) Running Gambit without the GUI to reduce its memory requirements.
4) Try decreasing the number of levels of UNDO.
5) See if the system administrator can increase either the physical memory
   or the swapspace.
6) Try using Mmap by typing something like these lines in the c-shell:
   (cannot be used on windows machines)
       setenv FLUENT_MMAP_PATH "some path and filename"
       setenv FLUENT_USE_MMAP 1
   Make sure that the drive has more than enough free disk space.
段错误
解决:
在终端输入命令:
sudo su
echo 1 > /proc/sys/vm/drop_caches
然后就可以启动gambit了(据说是要释放内存)

fluid 发表于 2009-11-18 11:40

这个没碰到过,感谢分享

xilong 发表于 2009-11-18 12:12

gambit不能并行,所以linux也没什么优势
页: [1]
查看完整版本: linux下gambit启动失败的解决