在linux上并行安装了lammps(一款分子模拟的软件,学术研究用),可执行文件为lmp_linux。
有mpich:
[root@host iccif]# which mpirun
/usr/bin/intel/compilers_and_libraries_2016.2.181/linux/mpi/intel64/bin/mpirun
并行运算出现错误:
[root@host iccif]# mpirun -n 4 ./lmp_linux<in.logo>out
Fatal error in MPI_Bcast: Other MPI error, error stack:
MPI_Bcast(786)..............................: MPI_Bcast(buf=0x7fff5df229d0, count=1, MPI_INT, root=0, MPI_COMM_WORLD) failed
MPIR_Bcast(230).............................:
MPIC_Send(39)...............................:
MPIC_Wait(270)..............................:
MPIDI_CH3i_Progress_wait(215)...............: an error occurred while handling an event returned by MPIDU_Sock_Wait()
MPIDI_CH3I_Progress_handle_sock_event(779)..:
MPIDI_CH3_Sockconn_handle_connect_event(608): [ch3:sock] failed to connnect to remote process
MPIDU_Socki_handle_connect(795).............: connection failure (set=0,sock=1,errno=110:Connection timed out)[cli_0]: aborting job:
Fatal error in MPI_Bcast: Other MPI error, error stack:
MPI_Bcast(786)..............................: MPI_Bcast(buf=0x7fff5df229d0, count=1, MPI_INT, root=0, MPI_COMM_WORLD) failed
MPIR_Bcast(230).............................:
MPIC_Send(39)...............................:
MPIC_Wait(270)..............................:
MPIDI_CH3i_Progress_wait(215)...............: an error occurred while handling an event returned by MPIDU_Sock_Wait()
MPIDI_CH3I_Progress_handle_sock_event(779)..:
MPIDI_CH3_Sockconn_handle_connect_event(608): [ch3:sock] failed to connnect to remote process
MPIDU_Socki_handle_connect(795).............: connection failure (set=0,sock=1,errno=110:Connection timed out)
但是此程序串行运算并没有问题(已经试过),请问如何解决?
有mpich:
[root@host iccif]# which mpirun
/usr/bin/intel/compilers_and_libraries_2016.2.181/linux/mpi/intel64/bin/mpirun
并行运算出现错误:
[root@host iccif]# mpirun -n 4 ./lmp_linux<in.logo>out
Fatal error in MPI_Bcast: Other MPI error, error stack:
MPI_Bcast(786)..............................: MPI_Bcast(buf=0x7fff5df229d0, count=1, MPI_INT, root=0, MPI_COMM_WORLD) failed
MPIR_Bcast(230).............................:
MPIC_Send(39)...............................:
MPIC_Wait(270)..............................:
MPIDI_CH3i_Progress_wait(215)...............: an error occurred while handling an event returned by MPIDU_Sock_Wait()
MPIDI_CH3I_Progress_handle_sock_event(779)..:
MPIDI_CH3_Sockconn_handle_connect_event(608): [ch3:sock] failed to connnect to remote process
MPIDU_Socki_handle_connect(795).............: connection failure (set=0,sock=1,errno=110:Connection timed out)[cli_0]: aborting job:
Fatal error in MPI_Bcast: Other MPI error, error stack:
MPI_Bcast(786)..............................: MPI_Bcast(buf=0x7fff5df229d0, count=1, MPI_INT, root=0, MPI_COMM_WORLD) failed
MPIR_Bcast(230).............................:
MPIC_Send(39)...............................:
MPIC_Wait(270)..............................:
MPIDI_CH3i_Progress_wait(215)...............: an error occurred while handling an event returned by MPIDU_Sock_Wait()
MPIDI_CH3I_Progress_handle_sock_event(779)..:
MPIDI_CH3_Sockconn_handle_connect_event(608): [ch3:sock] failed to connnect to remote process
MPIDU_Socki_handle_connect(795).............: connection failure (set=0,sock=1,errno=110:Connection timed out)
但是此程序串行运算并没有问题(已经试过),请问如何解决?