【发布时间】:2011-04-22 06:26:26
【问题描述】:
我在 Windows XP2 32 位机器上。我正在尝试安装 MPICH2 和 mpi4py。
- 我已经下载并安装了MPICH2-1.2.1p1
- 我已经下载了&mpi4py
当我在 mpi4pi\ 目录中运行 python setup.py install 时。我明白了
running install
running build
running build_py
running build_ext
MPI configuration: directory 'C:\Program Files\MPICH2'
MPI C compiler: not found
MPI C++ compiler: not found
MPI linker: not found
checking for MPI compile and link ...
error: Unable to find vcvarsall.bat
我的C:\Program Files\MPICH2\bin 已添加到 $PATH 中,其中包含:
clog2TOslog2.jar
irlog2rlog.exe
jumpshot.jar
jumpshot_launcher.jar
mpiexec.exe
smpd.exe
TraceInput.dll
traceTOslog2.jar
wmpiconfig.exe
wmpiexec.exe
wmpiregister.exe
我已经用谷歌搜索了,但没有找到解决方案。
编辑:根据“高性能”Mark 的建议,我浏览了该安装脚本,发现它正在搜索 mpicc、mpicxx、mpild MPI 编译器包装器。但是这些包装脚本没有随我的 MPICH2 安装一起安装。从哪里得到这些?现在怎么样了?
【问题讨论】:
标签: python installation mpi