DistDir
Functions
Check

Functions

void check_mpi (int error_code)
 Check error returned by an MPI function call. More...
 

Detailed Description

Functions used by Distdir library for internall checks

Function Documentation

◆ check_mpi()

void check_mpi ( int  error_code)

Check error returned by an MPI function call.

If an error is returned by an MPI function call, it prints it and then call MPI_Abort

Parameters
[in]error_codeerror code returned by MPI function call