print error message and exit if no partitioning info given for current world size
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2660 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
@@ -808,6 +808,12 @@ bool SIMbase::preprocess (const IntVec& ignored, bool fixDup)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (nProc > 1 && myPatches.size() == 0) {
|
||||
std::cerr << "No partitioning information for " <<
|
||||
nProc << " processors found" << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
static int substep = 10;
|
||||
this->printHeading(substep);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user