我输入后
sudo apt-get install mpich2
mpich 已安装,但第一个问题是我不知道文件安装在哪里。另一方面,当我写
mpirun -np 3 ./hello.o
它给了我:
mpiexec_hani-laptop: cannot connect to local mpd (/tmp/mpd2.console_hani); possible causes:
1. no mpd is running on this host
2. an mpd is running but was started without a "console" (-n option)
In case 1, you can start an mpd on this host with:
mpd &
and you will be able to run jobs just on this host.
For more details on starting mpds on a set of hosts, see
the MPICH2 Installation Guide.
任何人都可以帮助。