Compaq Visual Fortran 6
6 并行编程环境的配置 Windows 平台并行编程环境的配置 所 用 的 软 件 :mpich2-1
5-win32-ia32
msi Compaq Visual Fortran 6
6 1、如果本机上没有安装过 Microsoft
Framework,安装 1
5 这个版本的mpich2 时,那么会提示你安装, 我装的 是 2
0 版本 dotnetfx
0 版本以上的 都行,然后把 mpich2-1
2、mpich2 安装成功后,为了使用 命令行方式执行程序的 方便,将 mpi 路径C:\ProgramFiles\MPICH2\bin 添加到环境变量 path 中,这样就可以在任何地方使用 mpiexec 了
3、CVF 安装没什么,就是序列号老记不住,再写一遍,33206-050-0010743-00007
然后将 mpich2 的 include 和 lib 路径添加到 CVF 的 搜索路径,在Tools=>Options=>Directories 的 Include files 和 Library files 中
4、解决头文件 问题
在 fortran77 的 固定格式程序中,要加入一行 include 'mpif
h' ,头文件 mpif
h 中定义了 MPI 的 一些常量
90 程序就有点麻烦了,因为在 fortran90 程序中,习惯使用 module,书上也说在 90 程序中要用 use mpi 来替代 include 'mpif
h' ,可是 mpich2-1
5 中的 lib 和 include 文件 夹里都没有那个 mpi
mod ,其他的 mpich 版本好像也没有,至少 mpich