MPI_Comm_size(MPI_COMM_WORLD,&size);
MPI_Comm_rank(MPI_COMM_WORLD,&rank);
- //test is meant to run on five processors
- if (size !=5) return 0;
+ //the test is meant to run on five processors
+ if (size !=5) return ;
int nproc_source = 3;
set<int> self_procs;
ParaMEDMEM::ParaMESH* source_mesh=0;
ParaMEDMEM::ParaMESH* target_mesh=0;
-
-
//loading the geometry for the source group
if (group2.containsMyRank())
{
int trank=group_fuse->translateRank(&group2,0);
- CPPUNIT_ASSERT_EQUAL(trank,1);
+ if (size==1)
+ CPPUNIT_ASSERT_EQUAL(trank,0);
+ else
+ CPPUNIT_ASSERT_EQUAL(trank,1);
}
}