Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
mpim-sw
libcdi
Commits
b499d8ba
Commit
b499d8ba
authored
13 years ago
by
Deike Kleberg
Browse files
Options
Downloads
Patches
Plain Diff
Documentation update.
parent
32d52add
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pioDoc/tex/modes.tex
+9
-10
9 additions, 10 deletions
pioDoc/tex/modes.tex
pioDoc/tex/subprograms.tex
+3
-3
3 additions, 3 deletions
pioDoc/tex/subprograms.tex
with
12 additions
and
13 deletions
pioDoc/tex/modes.tex
+
9
−
10
View file @
b499d8ba
...
...
@@ -2,9 +2,8 @@ The I/O performance and scalability of a supercomputer depends on the combinatio
of the hardware architecture, the filesystem and the
{
\tt
MPI
}
implementation. We
made testruns on several machines invoking
{
\tt
MPI
\_
File
\_
iwrite
\_
shared
}
, the
obvious way of parallel file writing.
Especially on the IBM Blizzard, as a matter
of course in our primary focus, the benchmark programs achieved surprisingly
poor results.
Especially on the IBM Blizzard, naturally in our primary focus, the
benchmark programs achieved surprisingly poor results.
Accordingly the
{
\CDI
}
has to provide possibilities to write files in parallel
using
{
\tt
POSIX IO
}
.
The tasks formerly carried out by the root process are split into the subtask
...
...
@@ -14,7 +13,8 @@ modes of low level writing.
{
\pio
}
is backwards compatible due to the differentiated behavior of the
{
\CDI
}
calls
{
\tt
streamClose
}
,
{
\tt
streamOpenWrite
}
,
{
\tt
streamDefVlist
}
and
{
\tt
streamWriteVar
}
on model side, depending on local writing and I/O stage.
The original stream functions were written for low level file writing, naturally
The
{
\tt
stream
}
functions were primarily written for low level file writing,
as a matter of course
also the collecting I/O processes invoke them. This makes the I/O modes to
another key to the program flow of the
{
\CDI
}
stream calls.
\begin{figure}
[H]
...
...
@@ -52,21 +52,20 @@ I/O modes provided by {\pio}:
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
PIO
\_
FPGUARD
\
}
\item
[{\htmlref{\tt PIO\_NONE}{PIONONE}}]
one process collects, encodes, compresses, buffers and writes using
one process collects,
transposes,
encodes, compresses, buffers and writes using
{
\tt
C
}
{
\tt
fwrite
}
.
\item
[{\htmlref{\tt PIO\_MPI}{PIOMPI}}]
all processes collect,
gather
, encode, compress, buffer and write using
all processes collect,
transpose
, encode, compress, buffer and write using
{
\tt
MPI
\_
File
\_
iwrite
\_
shared
}
.
\item
[{\htmlref{\tt PIO\_ASYNCH}{PIOASYNCH}}]
one process writes the files using low level
{
\tt
POSIX
\_
AIO
}
, the others collect,
gather
, encode, compress and buffer.
{
\tt
POSIX
\_
AIO
}
, the others collect,
transpose
, encode, compress and buffer.
\item
[{\htmlref{\tt PIO\_FPGUARD}{PIOFPGUARD}}]
one process guards the fileoffsets, all others
collect,
gather
, encode, compress and write using
{
\tt
C
}
{
\tt
fwrite
}
.
collect,
transpose
, encode, compress and write using
{
\tt
C
}
{
\tt
fwrite
}
.
\item
[{\htmlref{\tt PIO\_WRITER}{PIOWRITER}}]
one process writes the files using
{
\tt
C
}
{
\tt
fwrite
}
,
the others collect,
gather
, encode, compress and buffer.
the others collect,
transpose
, encode, compress and buffer.
\end{deflist}
\end{minipage}
...
...
This diff is collapsed.
Click to expand it.
pioDoc/tex/subprograms.tex
+
3
−
3
View file @
b499d8ba
...
...
@@ -233,13 +233,13 @@ basicstyle=\footnotesize, label=model]
CALL streamDefVlist(streamID, vlistID)
! End definition stage for CDI resources,
CALL pioEndDef ()
;
CALL pioEndDef ()
! Timestepping stage
DO tfID = 0, ntf-1
IF ( tfI
d
) THEN
IF ( tfI
D
) THEN
CALL streamClose ( streamID )
streamID = streamOpenWrite ( filename, filetype )
streamID = streamOpenWrite ( filename
[tfID]
, filetype )
CALL streamDefVlist ( streamID, vlistID )
ENDIF
...
...
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