Skip to content
Snippets Groups Projects
Commit e3b7ecb8 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Improve CDI-PIO documentation.

parent 770dc900
No related branches found
No related tags found
1 merge request!14Draft: K202125/cdi 1.8.x pio merge followup
......@@ -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}}
......
......@@ -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}}
......
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment