Skip to content
Snippets Groups Projects
Commit aa914f98 authored by Xingran Wang's avatar Xingran Wang
Browse files

modify for ICON model run

- init sct timer when ICON model uses usual timer,
- remove sct report needed from pio_write
parent 5e5c0a3b
No related branches found
No related tags found
No related merge requests found
......@@ -664,6 +664,7 @@ cdiPioInit(MPI_Comm commGlob, int confResH, int *pioNamespace)
conf->callbacks[CDIPIO_CALLBACK_POSTCOMMSETUP]();
cdiPioFileWritingInit();
// initialize sct timer
sct_init(TIMER_MAX, NULL, commInqCommPio());
new_context("CDI-PIO timer", commInqCommPio());
sct_start(timer_ioTotal);
if (commInqRankColl() >= 0)
......
......@@ -5,7 +5,7 @@
#define EXTERN extern
#endif
#define TEST_SCT
#undef TEST_SCT
#define TIMER_MAX 32
EXTERN int timer_ioTotal;
......
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