小编Mar*_*tin的帖子

mpirun 无法识别 $PATH 中的程序

不知何故mpirun未能承认我的$PATH. PyroDist我所拥有的程序$PATH有效:

$ PyroDist
Can't find asked option -in
PyroDist - pairwise distance matrix from flowgrams
-in     string            flow file name
-out    stub              out file stub
Options:
-ni                       no index in dat file
-rin    string            lookup file name
Run Code Online (Sandbox Code Playgroud)

并使用mpirun完整路径运行它也可以:

$ mpirun -np 4 ../bin/PyroDist -in C005.dat -out foo
0: Read data
0: Broadcast data
0: Broadcast flows
nN=2094 nM=360 nSize=753840
Run Code Online (Sandbox Code Playgroud)

但这失败了:

$ mpirun -np 4 PyroDist
Missing: program name
Program PyroDist …
Run Code Online (Sandbox Code Playgroud)

path mpi

4
推荐指数
1
解决办法
1901
查看次数

标签 统计

mpi ×1

path ×1