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
e3b7ecb8
Commit
e3b7ecb8
authored
3 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Improve CDI-PIO documentation.
parent
770dc900
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!14
Draft: K202125/cdi 1.8.x pio merge followup
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/pio/tex/c_quick_ref.tex
+26
-3
26 additions, 3 deletions
doc/pio/tex/c_quick_ref.tex
doc/pio/tex/f_quick_ref.tex
+26
-3
26 additions, 3 deletions
doc/pio/tex/f_quick_ref.tex
src/cdipio.h
+10
-3
10 additions, 3 deletions
src/cdipio.h
with
62 additions
and
9 deletions
doc/pio/tex/c_quick_ref.tex
+
26
−
3
View file @
e3b7ecb8
...
...
@@ -226,7 +226,7 @@ configuration object.
set function to be called after
setup of client/server communications of configuration object.
Deprecated: use cdiPioConfSetCallBackActions with
trigger == CDIPIO
_
CALLBACK
_
POSTCOMMSETUP in new programs.
trigger == CDIPIO
_
CALLBACK
_
POSTCOMMSETUP in new programs
!
.
\section*
{
\tt
\htmlref
{
cdiPioConfSetRecordAggBufLim
}{
cdiPioConfSetRecordAggBufLim
}}
...
...
@@ -385,10 +385,23 @@ namespace.
void cdiPioNoPostCommSetup ();
\end{verbatim}
Dummy function to use as argument to pioInit
Dummy default function to use as argument to
cdiPioConfSetCallBackActions or pioInit
if no actions are necessary after I/O servers initialize communication.
\section*
{
\tt
\htmlref
{
cdiPioRDMAProgress
}{
cdiPioRDMAProgress
}}
\begin{verbatim}
void cdiPioRDMAProgress ();
\end{verbatim}
devote some resources to make RMA progress This
call is meant for systems where the hardware and/or MPI make
insufficient progress when only calling
MPI
_
Win
_
post/MPI
_
Win
_
wait+MPI
_
Win
_
start/MPI
_
Win
_
get/MPI
_
Win
_
complete.
\section*
{
\tt
\htmlref
{
cdiPioStr2IOMode
}{
cdiPioStr2IOMode
}}
\begin{verbatim}
...
...
@@ -424,7 +437,17 @@ conversion[varID] == CDI_DATATYPE_FLT64 or with streamWriteVarF
void (*postCommSetupActions)(void));
\end{verbatim}
initialize I/O server processes and communication.
initialize I/O server processes and communication
Deprecated, use cdiPioInit instead!.
\section*
{
\tt
\htmlref
{
pioWriteTimestep
}{
pioWriteTimestep
}}
\begin{verbatim}
void pioWriteTimestep ();
\end{verbatim}
flush data from all client RMA buffers to server.
\section*
{
\tt
\htmlref
{
streamWriteScatteredVarPart
}{
streamWriteScatteredVarPart
}}
...
...
This diff is collapsed.
Click to expand it.
doc/pio/tex/f_quick_ref.tex
+
26
−
3
View file @
e3b7ecb8
...
...
@@ -229,7 +229,7 @@ configuration object.
set function to be called after
setup of client/server communications of configuration object.
Deprecated: use cdiPioConfSetCallBackActions with
trigger == CDIPIO
_
CALLBACK
_
POSTCOMMSETUP in new programs.
trigger == CDIPIO
_
CALLBACK
_
POSTCOMMSETUP in new programs
!
.
\section*
{
\tt
\htmlref
{
cdiPioConfSetRecordAggBufLim
}{
cdiPioConfSetRecordAggBufLim
}}
...
...
@@ -392,10 +392,23 @@ namespace.
SUBROUTINE cdiPioNoPostCommSetup
\end{verbatim}
Dummy function to use as argument to pioInit
Dummy default function to use as argument to
cdiPioConfSetCallBackActions or pioInit
if no actions are necessary after I/O servers initialize communication.
\section*
{
\tt
\htmlref
{
cdiPioRDMAProgress
}{
cdiPioRDMAProgress
}}
\begin{verbatim}
SUBROUTINE cdiPioRDMAProgress
\end{verbatim}
devote some resources to make RMA progress This
call is meant for systems where the hardware and/or MPI make
insufficient progress when only calling
MPI
_
Win
_
post/MPI
_
Win
_
wait+MPI
_
Win
_
start/MPI
_
Win
_
get/MPI
_
Win
_
complete.
\section*
{
\tt
\htmlref
{
cdiPioStr2IOMode
}{
cdiPioStr2IOMode
}}
\begin{verbatim}
...
...
@@ -431,7 +444,17 @@ conversion[varID] == CDI_DATATYPE_FLT64 or with streamWriteVarF
PROCEDURE postCommSetupActions)
\end{verbatim}
initialize I/O server processes and communication.
initialize I/O server processes and communication
Deprecated, use cdiPioInit instead!.
\section*
{
\tt
\htmlref
{
pioWriteTimestep
}{
pioWriteTimestep
}}
\begin{verbatim}
SUBROUTINE pioWriteTimestep
\end{verbatim}
flush data from all client RMA buffers to server.
\section*
{
\tt
\htmlref
{
streamWriteScatteredVarPart
}{
streamWriteScatteredVarPart
}}
...
...
This diff is collapsed.
Click to expand it.
src/cdipio.h
+
10
−
3
View file @
e3b7ecb8
...
...
@@ -36,16 +36,23 @@
void
pioEndDef
(
void
);
void
pioEndTimestepping
(
void
);
void
pioFinalize
(
void
);
/* cdiPioNoPostCommSetup: Dummy function to use as argument to pioInit
/* cdiPioNoPostCommSetup: Dummy default function to use as argument to
* cdiPioConfSetCallBackActions or pioInit
* if no actions are necessary after I/O servers initialize communication */
void
cdiPioNoPostCommSetup
(
void
);
/* pioInit: initialize I/O server processes and communication */
/* pioInit: initialize I/O server processes and communication
* Deprecated, use cdiPioInit instead! */
MPI_Comm
pioInit
(
MPI_Comm
commSuper
,
int
nProcsIO
,
int
IOMode
,
int
*
pioNamespace
,
float
partInflate
,
void
(
*
postCommSetupActions
)(
void
));
/* cdiPioInit: initialize I/O server processes and communication */
MPI_Comm
cdiPioInit
(
MPI_Comm
commSuper
,
int
confResH
,
int
*
pioNamespace
);
/* pioWriteTimestep: flush data from all client RMA buffers to server */
void
pioWriteTimestep
(
void
);
/* cdiPioRDMAProgress: devote some resources to make RMA progress This
* call is meant for systems where the hardware and/or MPI make
* insufficient progress when only calling
* MPI_Win_post/MPI_Win_wait+MPI_Win_start/MPI_Win_get/MPI_Win_complete */
void
cdiPioRDMAProgress
(
void
);
...
...
@@ -156,7 +163,7 @@ int cdiPioConfGetCSRole(int confResH);
/* cdiPioConfSetPostCommSetupActions: set function to be called after
* setup of client/server communications of configuration object.
* Deprecated: use cdiPioConfSetCallBackActions with
* trigger == CDIPIO_CALLBACK_POSTCOMMSETUP in new programs */
* trigger == CDIPIO_CALLBACK_POSTCOMMSETUP in new programs
!
*/
void
cdiPioConfSetPostCommSetupActions
(
int
confResH
,
void
(
*
postCommSetupActions
)(
void
));
...
...
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