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
608b7ad0
Commit
608b7ad0
authored
8 years ago
by
Thomas Jahns
Committed by
Sergey Kosukhin
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Document CDI-PIO data write functions.
parent
f73981e5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cdipio.h
+28
-0
28 additions, 0 deletions
src/cdipio.h
with
28 additions
and
0 deletions
src/cdipio.h
+
28
−
0
View file @
608b7ad0
...
...
@@ -52,13 +52,41 @@ MPI_Comm cdiPioInit(MPI_Comm commSuper, int confResH, int *pioNamespace);
void
pioWriteTimestep
(
void
);
void
cdiPioRDMAProgress
(
void
);
/* streamWriteVarPart: Write part of the data making up variable varID
* of stream streamID.
*
* The processes in the communicator returned from cdiPioInit or
* pioInit must call this routine collectively and data must point to
* M items, where partDesc is a YAXT index list describing with M
* indices in 0 to N-1 the data items stored as doubles. N is the
* number of values per time step in the variable, i.e. the size of
* the corresponding array passed to streamWriteVar in the serial version.
* The group of processes collectively calling streamWriteVarPart
* must provide data for all indices or the behaviour is undefined. */
void
streamWriteVarPart
(
int
streamID
,
int
varID
,
const
double
*
data
,
int
nmiss
,
Xt_idxlist
partDesc
);
/* streamWriteVarPartF: Write part of the data making up variable
* varID of stream streamID.
*
* Single-precision version of streamWriteVarPart.
*/
void
streamWriteVarPartF
(
int
streamID
,
int
varID
,
const
float
*
data
,
int
nmiss
,
Xt_idxlist
partDesc
);
/* streamWriteScatteredVarPart: Write part of the data making up
* variable varID of stream streamID.
*
* In contrast to streamWriteVarPart, the data is not read from data as one
* contiguous sequence but instead the numBlocks chunks of length
* blocklengths[i] and starting displacements[i] each for i in [0,numBlocks)
*/
void
streamWriteScatteredVarPart
(
int
streamID
,
int
varID
,
const
double
*
data
,
int
numBlocks
,
const
int
blocklengths
[],
const
int
displacements
[],
int
nmiss
,
Xt_idxlist
partDesc
);
/* streamWriteScatteredVarPartF: Write part of the data making up
* variable varID of stream streamID.
*
* Single-precision version of streamWriteScatteredVarPart.
*/
void
streamWriteScatteredVarPartF
(
int
streamID
,
int
varID
,
const
float
*
data
,
int
numBlocks
,
const
int
blocklengths
[],
const
int
displacements
[],
int
nmiss
,
Xt_idxlist
partDesc
);
/* cdiPioCSRLastN: return role codes appropriate to use the last
...
...
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