
This is a runtime interposition project that sits between the OMPI and ORTE layers in Open MPI. The project is described on the wiki: https://svn.open-mpi.org/trac/ompi/wiki/Runtime_Interposition And on this email thread: http://www.open-mpi.org/community/lists/devel/2012/06/11109.php This commit was SVN r26670.
27 строки
518 B
C
27 строки
518 B
C
/*
|
|
* Copyright (c) 2012 Oak Ridge National Labs. All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
#include "orca_config.h"
|
|
#include "orca/constants.h"
|
|
#include "orca/util/error_strings.h"
|
|
|
|
int orca_err2str(int errnum, const char **errmsg)
|
|
{
|
|
const char *retval;
|
|
switch (errnum) {
|
|
/* JJH: TODO Fill in the rest of the error strings */
|
|
default:
|
|
retval = "Unknown error";
|
|
break;
|
|
}
|
|
|
|
*errmsg = retval;
|
|
return ORCA_SUCCESS;
|
|
}
|