Use MPI_RANK as ECL keyword (max length is 8)

MPI_RANKS was one character to long and rose an exception with message
"Error: Program threw an exception: Keyword is too long."
This commit is contained in:
Markus Blatt 2017-11-21 10:50:32 +01:00
parent 073f63ac4c
commit e7688a2ca0

View File

@ -824,7 +824,7 @@ namespace Opm
Handle handle(globalMapper, ranks,
this->globalGrid().globalCell());
this->grid().gatherData(handle);
integerVectors.emplace("MPI_RANKS", ranks);
integerVectors.emplace("MPI_RANK", ranks);
}
return integerVectors;