MPI_Add_error_code 函数

将 和 MPI 错误代码添加到 MPI 错误类

语法

int MPIAPI MPI_Add_error_code(
        int errorclass,
  _Out_ int *errorcode
);

参数

  • errorclass
    用于添加错误代码的错误类。

  • errorcode [out]
    此错误类的新错误代码。

返回值

返回成功 时MPI_SUCCESS 。 否则,返回值为错误代码。

在 Fortran 中,返回值存储在 IERROR 参数中。

Fortran

    MPI_ADD_ERROR_CODE(ERRORCLASS, ERRORCODE, IERROR)
        INTEGER ERRORCLASS, ERRORCODE, IERROR

要求

产品

HPC Pack 2012 MS-MPI 可再发行程序包、HPC Pack 2008 R2 MS-MPI 可再发行程序包、HPC Pack 2008 MS-MPI 可再发行程序包或 HPC Pack 2008 客户端实用工具

标头

Mpi.h;Mpif.h

Msmpi.lib

DLL

Msmpi.dll

另请参阅

MPI 管理功能