Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Podhorszki, Norbert
ADIOS2
Commits
db27d535
Commit
db27d535
authored
Jun 25, 2017
by
pnorbert
Committed by
GitHub
Jun 25, 2017
Browse files
Merge pull request #184 from pnorbert/fix-example-setparameters-release
fix examples for the release branch
parents
20eaaece
6e3ff33c
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/heatTransfer/read/heatRead_adios2.cpp
View file @
db27d535
...
...
@@ -55,11 +55,11 @@ int main(int argc, char *argv[])
// if not defined by user, we can change the default settings
// BPFileWriter is the default engine
bpReaderIO
.
SetEngine
(
"ADIOS1Reader"
);
bpReaderIO
.
SetParameters
({
"num_threads
=
2"
});
bpReaderIO
.
SetParameters
({
{
"num_threads
"
,
"
2"
}
}
);
// ISO-POSIX file is the default transport
// Passing parameters to the transport
bpReaderIO
.
AddTransport
(
"File"
,
{
"verbose
=
4"
});
bpReaderIO
.
AddTransport
(
"File"
,
{
{
"verbose
"
,
"
4"
}
}
);
}
auto
bpReader
=
...
...
examples/hello/adios1Writer/helloADIOS1Writer.cpp
View file @
db27d535
...
...
@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
* Parameters, Transports, and Execution: Engines */
adios2
::
IO
&
adios1IO
=
adios
.
DeclareIO
(
"ADIOS1IO"
);
adios1IO
.
SetEngine
(
"ADIOS1Writer"
);
adios1IO
.
AddTransport
(
"file"
,
{
"library
=
MPI"
});
adios1IO
.
AddTransport
(
"file"
,
{
{
"library
"
,
"
MPI"
}
}
);
/** global array : name, { shape (total) }, { start (local) }, { count
* (local) }, all are constant dimensions */
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment