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
543e3b59
Commit
543e3b59
authored
2 years ago
by
Xingran Wang
Browse files
Options
Downloads
Patches
Plain Diff
fix sct timer report for test_pio_deco2d.parallel
parent
29432bbe
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#21682
failed
2 years ago
Stage: external
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/pio_interface.c
+1
-3
1 addition, 3 deletions
src/pio_interface.c
src/sct_timer_helper.h
+7
-3
7 additions, 3 deletions
src/sct_timer_helper.h
tests/pio_write.c
+1
-0
1 addition, 0 deletions
tests/pio_write.c
with
9 additions
and
6 deletions
src/pio_interface.c
+
1
−
3
View file @
543e3b59
...
...
@@ -814,9 +814,7 @@ void pioFinalize ( void )
if
(
clientRank
==
cdiPioClientRangeStart
(
collRank
,
numClients
,
numColl
))
xmpi
(
MPI_Send
(
NULL
,
0
,
MPI_INT
,
collRank
,
FINALIZE
,
cdiPioInqInterComm
()));
xdebug
(
"%s"
,
"SENT MESSAGE WITH TAG
\"
FINALIZE
\"
"
);
#ifdef TEST_CDI_PIO
sct_report
(
SCT_GETENV
,
SCT_GETENV
,
SCT_GETENV
);
#endif
if
(
TEST_CDI_PIO
)
sct_report
(
SCT_GETENV
,
SCT_GETENV
,
SCT_GETENV
);
Free
(
txWin
);
cdiPioCommFinalize
();
idSetDestroy
(
&
openStreams
);
...
...
This diff is collapsed.
Click to expand it.
src/sct_timer_helper.h
+
7
−
3
View file @
543e3b59
...
...
@@ -5,9 +5,13 @@
#define EXTERN extern
#endif
// TEST_CDI_PIO undefined: used for ICON model experiment
// TEST_CDI_PIO defined: used to test pio_write
#undef TEST_CDI_PIO
// TEST_CDI_PIO false: ICON model experiment
// TEST_CDI_PIO true: test pio_write_deco2d.parallel
#ifdef TEST_CDI_PIO
#define TEST_CDI_PIO true
#else
#define TEST_CDI_PIO false
#endif
#define TIMER_MAX 128
// size of the timer arrays
...
...
This diff is collapsed.
Click to expand it.
tests/pio_write.c
+
1
−
0
View file @
543e3b59
...
...
@@ -29,6 +29,7 @@
#ifdef USE_MPI
#include
"sct.h"
#define EXTERN
#define TEST_CDI_PIO
#include
"sct_timer_helper.h"
#include
"cdipio.h"
#include
"pio_util.h"
...
...
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