mpid_finalize.c

来自「fortran并行计算包」· C语言 代码 · 共 31 行

C
31
字号
/*  (C)Copyright IBM Corp.  2007, 2008  *//** * \file src/misc/mpid_finalize.c * \brief Normal job termination code */#include "mpidimpl.h"#include "pmi.h"/** * \brief Shut down the system * * At this time, no attempt is made to free memory being used for MPI structures. * \return MPI_SUCCESS*/int MPID_Finalize(){  PMPI_Barrier(MPI_COMM_WORLD);  /* ------------------------- */  /* shutdown the statistics   */  /* ------------------------- */  MPIDI_Statistics_finalize();  /* ------------------------- */  /* shutdown request queues   */  /* ------------------------- */  MPIDI_Recvq_finalize();  return MPI_SUCCESS;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?