Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Podhorszki, Norbert
ADIOS2
Commits
70472d2c
Commit
70472d2c
authored
7 years ago
by
William F Godoy
Browse files
Options
Downloads
Patches
Plain Diff
Correcting for char PathSeparator
parent
09be05e7
No related branches found
No related tags found
1 merge request
!294
Bp1read : Initial Reading Capabilities and latest API
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/adios2/toolkit/format/bp3/BP3Base.cpp
+2
-2
2 additions, 2 deletions
source/adios2/toolkit/format/bp3/BP3Base.cpp
testing/adios2/xml/TestXMLConfig.cpp
+4
-4
4 additions, 4 deletions
testing/adios2/xml/TestXMLConfig.cpp
with
6 additions
and
6 deletions
source/adios2/toolkit/format/bp3/BP3Base.cpp
+
2
−
2
View file @
70472d2c
...
...
@@ -601,8 +601,8 @@ std::string BP3Base::GetBPRankName(const std::string &name,
{
bpRoot
=
bpName
.
substr
(
lastPathSeparator
);
}
const
std
::
string
bpRankName
(
bpName
+
".dir"
+
std
::
string
(
PathSeparator
)
+
bpRoot
+
"."
+
std
::
to_string
(
rank
));
const
std
::
string
bpRankName
(
bpName
+
".dir"
+
PathSeparator
+
bpRoot
+
"."
+
std
::
to_string
(
rank
));
return
bpRankName
;
}
...
...
This diff is collapsed.
Click to expand it.
testing/adios2/xml/TestXMLConfig.cpp
+
4
−
4
View file @
70472d2c
...
...
@@ -24,8 +24,8 @@ protected:
TEST_F
(
XMLConfigTest
,
TwoIOs
)
{
const
std
::
string
configFile
(
configDir
+
std
::
string
(
adios2
::
PathSeparator
)
+
"config1.xml"
);
const
std
::
string
configFile
(
configDir
+
adios2
::
PathSeparator
+
"config1.xml"
);
#ifdef ADIOS2_HAVE_MPI
adios2
::
ADIOS
adios
(
configFile
,
MPI_COMM_WORLD
,
adios2
::
DebugON
);
...
...
@@ -57,8 +57,8 @@ TEST_F(XMLConfigTest, TwoIOs)
TEST_F
(
XMLConfigTest
,
TwoEnginesException
)
{
const
std
::
string
configFile
(
configDir
+
std
::
string
(
adios2
::
PathSeparator
)
+
"config2.xml"
);
const
std
::
string
configFile
(
configDir
+
adios2
::
PathSeparator
+
"config2.xml"
);
#ifdef ADIOS2_HAVE_MPI
EXPECT_THROW
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment