mpi运行时出错This name does not have a type,

运行时出现类似错误,求大神指教
This name does not have a type, and must have an explicit type. [MPI_REAL]
This name does not have a type, and must have an explicit type. [MPI_SUM]
This name does not have a type, and must have an explicit type. [MPI_COMM_WORLD]

https://zhidao.baidu.com/question/361857868867653772.html