Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Aland, Sebastian
amdis
Commits
0fea5d82
Commit
0fea5d82
authored
Jan 19, 2016
by
Siqi Ling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
the arh name strategy is modified to be easy to use
parent
c0085ef6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
AMDiS/src/io/FileWriterInterface.cc
AMDiS/src/io/FileWriterInterface.cc
+5
-4
No files found.
AMDiS/src/io/FileWriterInterface.cc
View file @
0fea5d82
...
...
@@ -85,8 +85,9 @@ namespace AMDiS {
#if HAVE_PARALLEL_DOMAIN_AMDIS
paraFilename
=
filename
;
fn2
=
fn
+
"_p"
+
boost
::
lexical_cast
<
std
::
string
>
(
MPI
::
COMM_WORLD
.
Get_rank
())
+
"."
;
fn
+=
"-p"
+
boost
::
lexical_cast
<
std
::
string
>
(
MPI
::
COMM_WORLD
.
Get_rank
())
+
"-"
;
std
::
string
tmp
=
fn
;
fn
=
tmp
+
"-p"
+
boost
::
lexical_cast
<
std
::
string
>
(
MPI
::
COMM_WORLD
.
Get_rank
())
+
"-"
;
fn2
=
tmp
+
"_p"
+
boost
::
lexical_cast
<
std
::
string
>
(
MPI
::
COMM_WORLD
.
Get_rank
());
postfix
=
""
;
#endif
...
...
@@ -103,8 +104,8 @@ namespace AMDiS {
fn
+=
timeStr
;
#if HAVE_PARALLEL_DOMAIN_AMDIS
fn2
+=
timeStr
;
paraFilename
+
=
timeStr
;
fn2
=
tmp
+
"."
+
timeStr
+
"_p"
+
boost
::
lexical_cast
<
std
::
string
>
(
MPI
::
COMM_WORLD
.
Get_rank
())
;
paraFilename
=
paraFilename
+
"."
+
timeStr
;
postfix
+=
timeStr
;
#endif
}
...
...
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