Commit 2221c0b2 authored by Praetorius, Simon's avatar Praetorius, Simon

Merge branch 'issue/small_corrections' into 'master'

intel/2017 problem with std::ifstream

- incompatibility with intel/2017 compiler and msvc compilers corrected
- small correction in parmetis-partitioner to support older versions

See merge request !5
parents a72ec8f7 18d41929
......@@ -529,8 +529,8 @@ namespace AMDiS { namespace Parallel {
if (filename != "") {
MSG("Read macro weights from %s\n", filename.c_str());
ifstream infile;
infile.open(filename.c_str(), ifstream::in);
std::ifstream infile;
infile.open(filename.c_str(), std::ifstream::in);
while (!infile.eof()) {
int elNum, elWeight;
infile >> elNum;
......@@ -656,7 +656,7 @@ namespace AMDiS { namespace Parallel {
filename);
filename += ".p" + lexical_cast<string>(mpiRank);
MSG("Start deserialization with %s\n", filename.c_str());
ifstream in(filename.c_str());
std::ifstream in(filename.c_str());
TEST_EXIT(!in.fail())("Could not open deserialization file: %s\n",
filename.c_str());
......
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