问题描述
据我所知,mpirun
和mpiexec
都是启动器.有人能说出mpiexec
和mpirun
之间的确切区别吗?
As per my little knowledge mpirun
and mpiexec
both are launcher. Can anybody tell the exact difference between mpiexec
and mpirun
?
推荐答案
mpiexec
是在MPI标准中定义的(至少是最新版本),因此我将其引荐给您(您最喜欢的搜索引擎会为它们找到它们)您)获取详细信息.
mpiexec
is defined in the MPI standard (well, the recent versions at least) and I refer you to those (your favourite search engine will find them for you) for details.
mpirun
是由许多MPI实现实现的命令.但是,它从来没有被标准化过,实现之间总是存在细微的差异.有关详细信息,请参见您选择的实现的文档.
mpirun
is a command implemented by many MPI implementations. It has never, however, been standardised and there have always been, often subtle, differences between implementations. For details see the documentation of the implementation(s) of your choice.
是的,它们都是用于启动MPI程序的,这些天mpiexec
通常是可取的,因为它已经标准化.
And yes, they are both used to launch MPI programs, these days mpiexec
is generally preferable because it is standardised.
这篇关于mpiexec与mpirun的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!