Windows 下 Gambit 启动脚本

47 篇文章 7 订阅
40 篇文章 0 订阅

Windows 默认的启动程序是 %FLUENT_INC%/ntbin/ntx86/gambit.exe ,但这只是一个启动管理器,不是实际的 gambit 的程序。

 

真正的 gambit 程序位于 %FLUENT_INC%/gambit2.3.16/ntx86/gambit.exe ,现在需要做的是试着直接启动这个程序。

 

启动前需要完成的工作:

 

1 设置一些环境变量,包括 Fluent 目录,Exceed 路径等。

 

2 启动 Exceed

 

3 启动 Gambit

 

下面给出调试过程的错误信息:

 


>gambit.exe -new -id 333

>set PATH=%PATH;D:/GS/Fluent.Inc/gambit2.3.16/ntx86/xdll

>gambit.exe -new -id 333
*** FLUENT_INC not defined, cannot continue.

FATAL ERROR: Could not obtain valid license authorization.

Total of 0.00 cpu second(s), 101720 maximum memory.

Received exception: SIGSEGV (segmentation violation)

Please send the GAMBIT.2156/jou and GAMBIT.2156/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.2156 after sending the
above files.
ERROR: Please retain a copy of the GAMBIT.2156/jou, GAMBIT.2156/trn, and
GAMBIT.2156/*.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.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

>set FLUENT_INC=D:/GS/Fluent.Inc

>gambit.exe -new -id 333
*** FLUENT_ARCH not defined, cannot continue.

FATAL ERROR: Could not obtain valid license authorization.

Total of 0.01 cpu second(s), 101720 maximum memory.

Received exception: SIGSEGV (segmentation violation)

Please send the GAMBIT.2820/jou and GAMBIT.2820/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.2820 after sending the
above files.
ERROR: Please retain a copy of the GAMBIT.2820/jou, GAMBIT.2820/trn, and
GAMBIT.2820/*.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.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


>set DISPLAY=localpc

>gambit.exe -new -id hello -dev OPEN
Gambit build SP2006032921.
Unable to open display


>set DISPLAY=localpc:2

>gambit.exe -new -id hello -dev OPEN
Gambit build SP2006032921.
Cannot open connect stream.
TRANS(SocketINETGetAddr): tnamebysocket() failed
TRANS(SocketINETConnect): TRANS(SocketINETGetAddr) () failed
TRANS(Open): transport open failed for tcp/localpc:2
Unable to open display


>set DISPLAY=hu-7dc9623579ca:0.0

>gambit.exe -new -id hello -dev OPEN
Gambit build SP2006032921.
Warning : The current transport does not permit the attempted TCPIP connection.
TRANS(SocketINETGetAddr): tnamebysocket() failed
TRANS(SocketINETConnect): TRANS(SocketINETGetAddr) () failed
TRANS(Open): transport open failed for tcp/hu-7dc9623579ca:0
Unable to open display

 

 

解决诸多的问题之后,获得需要的启动脚本。

 

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值