Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
78866c06
Commit
78866c06
authored
Oct 17, 2016
by
Douglas Serson
Browse files
Fix issue with output in parallel
parent
2c38d5c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/LibUtilities/BasicUtils/FieldIO.cpp
View file @
78866c06
...
...
@@ -486,6 +486,14 @@ std::string FieldIO::SetUpOutput(const std::string outname, bool perRank)
}
m_comm
->
Block
();
// Sit in a loop and make sure target directory has been created
int
created
=
0
;
while
(
!
created
)
{
created
=
fs
::
is_directory
(
specPath
);
m_comm
->
AllReduce
(
created
,
ReduceMin
);
}
}
else
{
...
...
Douglas Serson
@d.serson
mentioned in commit
bc4ec120
·
Nov 11, 2016
mentioned in commit
bc4ec120
mentioned in commit bc4ec120184874d4a045d34f525bf49b770d2122
Toggle commit list
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