linda 发表于 2007-4-5 06:46

phoenics3.4下的编译

将Digital Visual Fortran 安装在C:盘
编辑\PHOENICS\D_UTILS\Phoepath.bat
将其中的PHOENICS路径设置正确。
或者直接在AUTOEXEC.BAT文件中将(比如PHOENICS安装在D:盘)
d:\phoenics\d_utils\d_windf;d:\phoenics\d_utils路径加入。
如果遇到问题请参见:
If "bad command" is encountered
The problem is usually because the path name to dfvars.bat is in correct in
the file
/phoenics/d_utils/phoepath.bat
when dvf compiler was installed on the user's computer, it may have not plac
ed in the correct directory
for v5.0 of the compiler it should be installed in the directory
c:\progra~1\Devstu~1\DF\bin\dfvars.bat
for v6.1 it should reside in
c:\progra~1\Micros~2\DF\bin\dfvars.bat
If "out of environment space" is encountered
It may be cure by inserting the following line in your c:\config.sys file:
SHELL=C:\COMMAND.COM C:\/P/E:1024
If this doesn't work. Then try th efollowing.
When you click on "compile" and then on "ground", you can try increasing the
environment memory for the window in which the compilation is supposed to t
ake place, e. Click on the "properities" of the window, then click on "memor
y"and then under"initial environmrnt" change "auto' to say "4096".
If "too many parameters" is encountered
It may be cured by modifying the file \phoenics\d_utils\d_eindf\windf.bat
So that the path stament:
Echo adding digital phoenics to path
Path=\phoenics\d-utils\d_windf;\phoenics\d_utils;%path%
Is replaced by:
Echo adding digital phoenics path
Path=\phoenics\d_utils\d_windf;\phoenics\d_utils;c:\dos;c:\windows\command

转自:BBS 水木清华站
页: [1]
查看完整版本: phoenics3.4下的编译