欢迎光临散文网 会员登陆 & 注册

计算过程中的报错和问题(4)

2023-04-11 13:48 作者:儒雅的大众嫂子  | 我要投稿

问题描述

用QE和phonopy去跑声子谱的时候发生报错:

Fatal error in PMPI_Comm_free: Invalid communicator, error stack:

PMPI_Comm_free(154): MPI_Comm_free(comm=0x7ffdbc5866c8) failed

PMPI_Comm_free(96).: Null communicator

我的脚本:

  #!/bin/sh

  #BSUB -J ph

  #BSUB -n 24

  #BSUB -q 6230r

mpirun -np ${LSB_DJOB_NUMPROC} pw.x < scf-002.in > scf-002.out

解决方法:

换一个并行的方式:

mpiexec.hydra -n ${LSB_DJOB_NUMPROC} pw.x -npool 4 -i scf-002.in > scf-002.out

之前用ph.x模块算电声耦合的时候也出现了这个问题。

不明


计算过程中的报错和问题(4)的评论 (共 条)

分享到微博请遵守国家法律