搭建mpi并行运算中遇到的问题与解决方案
1,[root@localhost ~]# mpdtrace
configuration file /etc/mpd.conf is accessible by others
change permissions to allow read and write access only by you
解决:
[root@localhost ~]# chmod 600 /etc/mpd.conf
2,[root@localhost ~]# mpdboot -n 1 -f mpd.hosts
mpdboot_localhost.localdomain (handle_mpd_output 414): from mpd on localhost.localdomain, invalid port info:
no_port
解决:
是因为 mpd.conf 等文件权限问题造成的,需要设置为 600权限
3,[root@localhost ~]# mpdtrace
mpdroot: perror msg: No such file or directory
mpdroot: cannot connect to local mpd at: /tmp/mpd2.console_root
probable cause: no mpd daemon on this machine
possible cause: unix socket /tmp/mpd2.console_root has been removed
mpdtrace (__init__ 1204): forked process failed; status=255
解决:
mpdboot