运行MPI程序出错如 mpirun -np 10 mpi

来源:百度知道 编辑:UC知道 时间:2024/06/15 13:48:59
但我输入命令mpirun -np 10 mpi 时出现以下错误:

/usr/mympi/bin/mpdroot: open failed for root's mpd conf filempiexec_xy (__init__ 1171): forked process failed; status=255

请各位大侠帮帮我

$mpd &
A file named .mpd.conf file must be present in the user's home
directory (/etc/mpd.conf if root) with read and write access
only for the user, and must contain at least a line with:
MPD_SECRETWORD=<secretword>
One way to safely create this file is to do the following:
cd $HOME
touch .mpd.conf
chmod 600 .mpd.conf
and then use an editor to insert a line like
MPD_SECRETWORD=mr45-j9z
into the file. (Of course use some other secret word than mr45-j9z.)