Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
f5e1e642
Commit
f5e1e642
authored
Apr 20, 2015
by
Nestler, Michael
Browse files
added default value: p in second line of METAARH format
parent
c63b8e63
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/io/Arh2Reader.cc
View file @
f5e1e642
...
...
@@ -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
++
)
{
...
...
AMDiS/src/io/Arh2Writer.cc
View file @
f5e1e642
...
...
@@ -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
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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