Commit f5e1e642 authored by Nestler, Michael's avatar Nestler, Michael
Browse files

added default value: p in second line of METAARH format

parent c63b8e63
......@@ -311,6 +311,8 @@ namespace AMDiS { namespace io {
file >> arhPrefix;
int nProc;
file >> nProc;
MSG("found nProc %d in file %s \n",nProc,filename.c_str());
// Maps to each macro element index the arh file index it is stored in.
for (int i = 0; i < nProc; i++) {
......
......@@ -94,7 +94,7 @@ namespace AMDiS { namespace io {
ofstream file;
file.open(metaFilename.c_str());
file << "METAARH\n";
file << "" << "\n";
file << "p" << "\n"; //edit 150420: just write something
file << mpiSize << "\n";
for (int i = 0; i < mpiSize; i++) {
file << i << " " << overallData[i].size() << "\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment