mpirun a program at p01
时间:2006-11-30 来源:Garching
just create your own host list,
and use the -machinefile option to mpirun:
[p01] cat hostlist
p01.bc.rzg.mpg.de
p02.bc.rzg.mpg.de
p03.bc.rzg.mpg.de
p04.bc.rzg.mpg.de
[p01] mpirun -np 4 -machinefile hostlist ./a.out
# works
and use the -machinefile option to mpirun:
[p01] cat hostlist
p01.bc.rzg.mpg.de
p02.bc.rzg.mpg.de
p03.bc.rzg.mpg.de
p04.bc.rzg.mpg.de
[p01] mpirun -np 4 -machinefile hostlist ./a.out
# works
相关阅读 更多 +