Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Aland, Sebastian
amdis
Commits
18d41929
Commit
18d41929
authored
Oct 21, 2016
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intel/2017 problem with std::ifstream
parent
16ad3fa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
AMDiS/src/parallel/MeshDistributor.cc
AMDiS/src/parallel/MeshDistributor.cc
+3
-3
No files found.
AMDiS/src/parallel/MeshDistributor.cc
View file @
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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment