bccf8c657a
Current MPI_T support: - Full cvar interface. - Full categories interface. - No pvar support at this time. This commit was SVN r28376.
32 строки
631 B
C
32 строки
631 B
C
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
|
/*
|
|
* Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights
|
|
* reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
#include "ompi/mpit/mpit-internal.h"
|
|
|
|
static const char FUNC_NAME[] = "MPI_T_pvar_get_num";
|
|
|
|
int MPI_T_pvar_get_num(int *num_pvar)
|
|
{
|
|
if (!mpit_is_initialized ()) {
|
|
return MPI_T_ERR_NOT_INITIALIZED;
|
|
}
|
|
|
|
if (MPI_PARAM_CHECK && NULL == num_pvar) {
|
|
return MPI_ERR_ARG;
|
|
}
|
|
|
|
/* XXX -- TODO -- Add pvars */
|
|
*num_pvar = 0;
|
|
|
|
return MPI_SUCCESS;
|
|
}
|
|
|