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
38130d73
Commit
38130d73
authored
Feb 12, 2016
by
Dave Moxey
Committed by
Spencer Sherwin
Mar 04, 2016
Browse files
Possible fix for parallel filesystem issue, breaks if shared filesystem not used
parent
150bfee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/LibUtilities/BasicUtils/FieldIO.cpp
View file @
38130d73
...
...
@@ -1145,7 +1145,12 @@ namespace Nektar
{
try
{
fs
::
remove_all
(
specPath
);
if
(
rank
==
0
)
{
fs
::
remove_all
(
specPath
);
}
m_comm
->
Block
();
}
catch
(
fs
::
filesystem_error
&
e
)
{
...
...
@@ -1178,7 +1183,12 @@ namespace Nektar
// Create the destination directory
try
{
fs
::
create_directory
(
specPath
);
if
(
rank
==
0
)
{
fs
::
create_directory
(
specPath
);
}
m_comm
->
Block
();
}
catch
(
fs
::
filesystem_error
&
e
)
{
...
...
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