Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
bc4ec120
Commit
bc4ec120
authored
Oct 17, 2016
by
Douglas Serson
Committed by
Dave Moxey
Nov 11, 2016
Browse files
Fix issue with output in parallel
(cherry picked from commit
78866c06
)
parent
40c141ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/LibUtilities/BasicUtils/FieldIO.cpp
View file @
bc4ec120
...
...
@@ -1080,7 +1080,6 @@ namespace Nektar
}
}
/**
* \brief add information about provenance and fieldmetadata
*/
...
...
@@ -1277,6 +1276,14 @@ namespace Nektar
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
);
}
// Return the full path to the partition for this process
return
LibUtilities
::
PortablePath
(
fulloutname
);
}
...
...
Write
Preview
Supports
Markdown
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