用patran分析时,出现如下错误:
Error executing subprogram. Reason (errno) = 2.
No such file or directory
Error reported from application CORE
Please ensure your P3_TRANS.INI or site_setup file correctly points to the solver executable or that you have correctly set the proper environment variables to do the same.
可能是P3_TRANS.INI有问题,该如何改啊?改哪行啊?我的P3_TRANS.INI如下:
[Nastran]
Host=LOCAL
Hosttype=Windows
Scratchdir=
Alocalcommand706=c:\msc\bin\nastran.exe
Alocalcommand707=c:\msc\bin\nastran.exe
Alocalcommand2001=c:\msc\bin\nast2001
Alocalcommand2004=c:\MSC.Software\bin\nast2004.exe
Alocalcommand2005=c:\MSC.Software\MSC.Nastran\bin\nast2005.exe
Alocalcommand2006=c:\MSC.Software\MSC.Nastran\bin\nast2006.exe
Alocalcommand2007=c:\MSC.Software\MSC.Nastran\bin\nastran.exe
Alocalcommand2008=d:\MSC.Software\MD_Nastran\bin\mdnastranw.exe
AcommandNasServer=d:\MSC.Software\Patran\2008_r1\mscnastran_files\servermode\nastran.exe
Acommand2008=d:\MSC.Software\MD_Nastran\bin\mdnastranw.exe
Acommand2007=c:\MSC.Software\MSC.Nastran\bin\nastran.exe
Acommand2006=c:\MSC.Software\MSC.Nastran\bin\nast2006.exe
Acommand2005=c:\MSC.Software\MSC.Nastran\bin\nast2005.exe
Acommand2004=c:\MSC.Software\bin\nast2004.exe
Acommand2001=c:\msc\bin\nast2001
Acommand707=c:\msc\bin\nast707
Acommand706=c:\msc\bin\nast706
Acommand705=c:\msc\bin\nast705
Acommand70=c:\msc\bin\nastran.exe
Acommand69=c:\msc\bin\nastran.exe
Acommand68=c:\msc\bin\nastran.exe
Acommand67=c:\msc\bin\nastran.exe
Version=2008
; Sample definitions for remote host
; Host=lansing
; Hosttype=UNIX
; Scratchdir=/tmp
; Acommand2007=/tmp/msc/nastran/bin/nast2007
; definitions for local host
; Alocalcommand2007=/tmp/msc/nastran/bin/nast2007
; definitions for both local and remote hosts
; Version=2007
; Outputfiles=op2
; OutputTypes=b