|
|
★ ★ ★ ★ ★ ★ 小木虫(金币+0.5):给个红包,谢谢回帖交流 ghcacj(金币+5):谢谢 2010-11-29 18:12:30
在我的mac系统下解决
步骤如下
(1) # ./configure --prefix=/YOUR_DESTTINITION_FOLDER --enable-f77 --enable-fc --enable-cxx F77=ifort FC=ifort CC=icc CXX=icc
(2) # make
(3) # make install
然后进入(1) 中指定的mpich的安装目录, 可以看到如下命令:
mpic++, mpicc, mpicxx, mpif77, mpif90
证明了mpich 和 C++, Fortran编译器的耦合
前提: 安装好Intel C++ 和 Intel Fortran Compiler
后续注意: 如果系统中安装多个版本的编译命令, 在使用的时候, 指明其绝对路径, 以免系统自己调用的那个, 不是你想要的.
此贴已解. |
|