|
|
悬赏1金币未解决
问题:我的pscad是4.2.1,安装intel Visual Fortran 2011 和 Visual Studio 2010后,在PSCAD的Fortran编译器选择框内找不到相应的编译器,对于PSCAD4.2,也同样是找不到IVF编译器,请高人指点,有何解决办法,谢谢~
6 f: P [6 y4 ~( O: z我的邮箱:s.wl@qq,可以直接跟我联系,谢谢~
" U0 j6 Z5 p5 l" t* X. l0 L
; h. [% _7 C/ g# w j补充:PSCAD的官方声称其4.0以后的版本可以支持IVF2011(关联VS2010),根据官方给出的安装IVF11的流程(http://www.nayakcorp.com/Setting_up_IVF_11_for_PSCAD.pdf),最后一步要替换一个名叫fortran_compilers.props的文件,由于用的石皮解版,所以没法从官方获取最新的文件,其官方论坛里给出的环境变量测试软件(http://pscad.com/updater/utilities/FortranMedic.zip),给出的检测结果也是这个文件过期,导致PSCAD检测不到最新的编译器。我做过一些尝试,按照fortran_compilers.props里描述IVF9.0的方式,自己修改这个文件,但是都没有成功过。由于,我用Compaq Fortran 6.6不能运行PSCAD自带的例子“examples\CInterface\df90_msc”(PSCAD与C的接口还是很实用的技术),而且编译器版本高更有利于仿真的速度,所以我还是想用一下高版本的编译器。/ Z# m4 q- b J
' u! ~+ {. [1 e, `! C9 F
# F( [- v% k$ v3 O v
fortran_compilers.props的内容,请高人指点迷津:(可以把一下内容放到txt文档里,看起来会条理一些)2 l9 d3 e6 u1 U
<! EMTDC Supported Fortran Compilers1 ^4 U1 h6 |- ^% Q
This file is used by PSCAD to specify the list of the Fortran compilers that2 L6 J% _. \7 E5 `
EMTDC supports>1 I& \5 Y/ `, b* {
<FORTRAN COMPILER>$ d7 E: Q4 z; T3 H6 N6 T
<GNU="1.1.1" version_key="EGCS\CurrentVersion\VersionKeyString,default" title_key="" exe_path_key="EGCS\1.1.1,g77.exe" exe_name="g77.exe" emtdc="gnu"> </GNU>
K0 u( ?$ K1 I i' c* g0 ]( x <DigitalEquipmentCorporation="5.0" version_key="VisualFortran\5.0\VersionKeyString,default" title_key="VisualFortran\5.0\Title,default" exe_path_key="VisualFortran\5.0\DFCDROM,f90.exe" exe_name="f90.exe" emtdc="df5"> </DigitalEquipmentCorporation>
5 ?* h0 A m3 z5 g <DigitalEquipmentCorporation="5.0" version_key="VisualFortran\CurrentVersion,VersionKeyString" title_key="VisualFortran\CurrentVersion,Title" exe_path_key="VisualFortran\#\DFCDROM,f90.exe" exe_name="f90.exe" emtdc="df5"> </DigitalEquipmentCorporation>
6 D: T, w5 I7 i) t0 s( `6 m <DigitalEquipmentCorporation="6.0,6.1,6.2,6.3,6.4,6.5,6.6" version_key="VisualFortran\CurrentVersion,VersionKeyString" title_key="VisualFortran\CurrentVersion,Title" exe_path_key="VisualFortran\#\DFCDROM,f90.exe" exe_name="f90.exe" emtdc="cf6"> </DigitalEquipmentCorporation>, {: q$ \6 F, ~# t
<INTEL="9.0,9.1,later" version_key="Compilers\FORTRAN\#,Major Version,Minor Version" title_key="Compilers\FORTRAN\#\IA32,DisplayString" exe_path_key="Compilers\FORTRAN\#\IA32,ProductDir" exe_name="ifort.exe" emtdc="if9"> </INTEL>, \1 j" t5 h1 }
</FORTRAN COMPILER> |
|