removing unused variables, that cause warnings..
This commit was SVN r15791.
Этот коммит содержится в:
родитель
0790c4cc40
Коммит
8c458b0ee7
@ -201,13 +201,13 @@ int ompi_group_minloc ( int list[] , int length )
|
|||||||
int ompi_group_incl(ompi_group_t* group, int n, int *ranks, ompi_group_t **new_group)
|
int ompi_group_incl(ompi_group_t* group, int n, int *ranks, ompi_group_t **new_group)
|
||||||
{
|
{
|
||||||
|
|
||||||
int len [4];
|
|
||||||
int method,result;
|
int method,result;
|
||||||
|
|
||||||
method = 0;
|
method = 0;
|
||||||
#if OMPI_GROUP_SPARSE
|
#if OMPI_GROUP_SPARSE
|
||||||
if (ompi_use_sparse_group_storage)
|
if (ompi_use_sparse_group_storage)
|
||||||
{
|
{
|
||||||
|
int len [4];
|
||||||
len[0] = ompi_group_calc_plist ( n ,ranks );
|
len[0] = ompi_group_calc_plist ( n ,ranks );
|
||||||
len[1] = ompi_group_calc_strided ( n ,ranks );
|
len[1] = ompi_group_calc_strided ( n ,ranks );
|
||||||
len[2] = ompi_group_calc_sporadic ( n ,ranks );
|
len[2] = ompi_group_calc_sporadic ( n ,ranks );
|
||||||
|
@ -46,7 +46,7 @@ int MPI_Intercomm_create(MPI_Comm local_comm, int local_leader,
|
|||||||
struct ompi_proc_t **rprocs=NULL;
|
struct ompi_proc_t **rprocs=NULL;
|
||||||
int rc=0, rsize=0;
|
int rc=0, rsize=0;
|
||||||
ompi_proc_t **proc_list=NULL;
|
ompi_proc_t **proc_list=NULL;
|
||||||
int i,j;
|
int j;
|
||||||
ompi_group_t *new_group_pointer;
|
ompi_group_t *new_group_pointer;
|
||||||
|
|
||||||
OPAL_CR_TEST_CHECKPOINT_READY();
|
OPAL_CR_TEST_CHECKPOINT_READY();
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user