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
15d8389d
Commit
15d8389d
authored
9 years ago
by
Thomas Jahns
Committed by
Sergey Kosukhin
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Clean examples for new API.
parent
5d142f76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!34
Version 2.2.0
,
!13
Consolidation with CDI-PIO (develop)
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/pio/collectData.c
+0
-3
0 additions, 3 deletions
examples/pio/collectData.c
examples/pio/collectData2003.F90
+0
-6
0 additions, 6 deletions
examples/pio/collectData2003.F90
examples/pio/collectDataNStreams.c
+1
-6
1 addition, 6 deletions
examples/pio/collectDataNStreams.c
with
1 addition
and
15 deletions
examples/pio/collectData.c
+
0
−
3
View file @
15d8389d
...
...
@@ -141,9 +141,6 @@ modelRun(MPI_Comm commModel)
#endif
}
}
#ifdef USE_MPI
pioEndTimestepping
();
#endif
streamClose
(
streamID
);
vlistDestroy
(
vlistID
);
taxisDestroy
(
taxisID
);
...
...
This diff is collapsed.
Click to expand it.
examples/pio/collectData2003.F90
+
0
−
6
View file @
15d8389d
...
...
@@ -220,12 +220,6 @@ CONTAINS
#endif
END
DO
#ifdef USE_MPI
! For parallel IO:
! Preparation for local cleanup
CALL
pioEndTimestepping
()
#endif
! Close the output stream
CALL
streamClose
(
streamID
)
...
...
This diff is collapsed.
Click to expand it.
examples/pio/collectDataNStreams.c
+
1
−
6
View file @
15d8389d
...
...
@@ -163,13 +163,9 @@ modelRun(MPI_Comm commModel)
hoursPassingHack
(
&
vdate
,
&
vtime
,
hourStep
);
taxisDefVdate
(
taxisID
,
vdate
);
taxisDefVtime
(
taxisID
,
vtime
);
/* temporary fix for problem calling streamDefTimestep after
* streamWriteVarPart
* FIXME: this can be merged with the loop below again once
* per-stream RDMA windows are realized */
for
(
i
=
0
;
i
<
nStreams
;
i
++
)
streamDefTimestep
(
streamID
[
i
],
tsID
);
for
(
i
=
0
;
i
<
nStreams
;
i
++
)
{
streamDefTimestep
(
streamID
[
i
],
tsID
);
for
(
j
=
0
;
j
<
nVars
;
j
++
)
{
#ifdef USE_MPI
...
...
@@ -196,7 +192,6 @@ modelRun(MPI_Comm commModel)
}
#ifdef USE_MPI
pioEndTimestepping
();
for
(
size_t
streamIdx
=
0
;
streamIdx
<
(
size_t
)
nStreams
;
++
streamIdx
)
for
(
size_t
varIdx
=
0
;
varIdx
<
(
size_t
)
nVars
;
++
varIdx
)
xt_idxlist_delete
(
varDeco
[
streamIdx
][
varIdx
].
partDesc
);
#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