MPI tips
0. What does MPICH stand for?
MPI stands for Message Passing Interface. The CH comes from Chameleon, the portability layer used in the original MPICH to provide portability to the existing message-passing systems.
1. MPICH与C++的io库有冲突,在编译时,在project properties - C/C++ - Command Line中,添加"-DMPICH_IGNORE_CXX_SEEK",这是MPICH2的一个bug,原因是SEEK_SET在mpi.h和stdio.h中均有定义,这种方法使得编译器忽略MPICH2中的定义。
2. 通过mpiexec运行本地程序时,使用 “mpiexec -localonly 线程数 程序名”。
(待续)
MPI stands for Message Passing Interface. The CH comes from Chameleon, the portability layer used in the original MPICH to provide portability to the existing message-passing systems.
2. 通过mpiexec运行本地程序时,使用 “mpiexec -localonly 线程数 程序名”。
(待续)
posted on 2008-06-20 03:09 smwikipedia 阅读(261) 评论(0) 编辑 收藏 举报